You have to update qtcreator-src to match qtcreator version. The package in AUR is out-of-date, but you can manually update it to version 4.6.1.
Search Criteria
Package Details: qtcreator-cppcheck-plugin-git r154.dbd8725-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/qtcreator-cppcheck-plugin-git.git (read-only, click to copy) |
---|---|
Package Base: | qtcreator-cppcheck-plugin-git |
Description: | QtCreator plugin using cppcheck |
Upstream URL: | https://github.com/OneMoreGres/qtc-cppcheck |
Licenses: | MIT |
Conflicts: | qtcreator-cppcheck-plugin |
Provides: | qtcreator-cppcheck-plugin |
Submitter: | ras |
Maintainer: | None |
Last Packager: | rodrigo21 |
Votes: | 9 |
Popularity: | 0.000000 |
First Submitted: | 2014-05-07 11:31 (UTC) |
Last Updated: | 2019-04-22 14:27 (UTC) |
Dependencies (4)
Required by (0)
Sources (1)
Latest Comments
rodrigo21 commented on 2018-05-18 15:49 (UTC)
RazZziel commented on 2018-05-18 07:02 (UTC) (edited on 2018-05-18 07:02 (UTC) by RazZziel)
After updating to QtCreator 4.6.1 this package fails to build:
.obj/release-shared/OptionsPage.o: In function `QtcCppcheck::Internal::OptionsPage::OptionsPage(QtcCppcheck::Internal::Settings*, QObject*)':
OptionsPage.cpp:(.text+0x2e5): undefined reference to `Core::IOptionsPage::IOptionsPage(QObject*)'
moustafine commented on 2015-06-22 10:45 (UTC)
You're welcome!
ras commented on 2015-06-22 10:35 (UTC)
added, see my comments at the googletest-plugin page
THX for the addition!
moustafine commented on 2015-06-22 08:58 (UTC)
ras, please change build() and package() sections in PKGBUILD on:
***
build() {
cd "${srcdir}/${pkgname}"
QTC_SOURCE=/usr/src/qtcreator QTC_BUILD=build \
qmake \
"LIBS+=-L/usr/lib/qtcreator/ -L/usr/lib/qtcreator/plugins" \
"QMAKE_EXTRA_COMPILERS+=lrelease" \
"lrelease.input=TRANSLATIONS" \
"lrelease.output=\${QMAKE_FILE_PATH}/\${QMAKE_FILE_BASE}.qm" \
"lrelease.commands=\$\$[QT_INSTALL_BINS]/lrelease \${QMAKE_FILE_IN} -qm \${QMAKE_FILE_PATH}/\${QMAKE_FILE_BASE}.qm" \
"lrelease.CONFIG+=no_link" \
"PRE_TARGETDEPS+=compiler_lrelease_make_all"
make
}
package() {
cd "${srcdir}/${pkgname}"
make INSTALL_ROOT="${pkgdir}/usr" install
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -m755 -d "${pkgdir}/usr/share/qtcreator/translations"
install -m644 ./translation/*.qm "${pkgdir}/usr/share/qtcreator/translations/"
}
***
Thank you.
ras commented on 2014-09-08 06:26 (UTC)
in sync with qtcreator 3.2.0
ras commented on 2014-05-07 11:41 (UTC)
Get the proper QtCreator sources (the qtcreator-src package is currently outdated) to make it working:
http://download.qt-project.org/official_releases/qtcreator/3.1/3.1.0/qt-creator-opensource-src-3.1.0.tar.gz
Pinned Comments
rodrigo21 commented on 2018-05-18 15:49 (UTC)
You have to update qtcreator-src to match qtcreator version. The package in AUR is out-of-date, but you can manually update it to version 4.6.1.