Package Details: qtcreator-cppcheck-plugin-git r154.dbd8725-1

Git Clone URL: https://aur.archlinux.org/qtcreator-cppcheck-plugin-git.git (read-only)
Package Base: qtcreator-cppcheck-plugin-git
Description: QtCreator plugin using cppcheck
Upstream URL: https://github.com/OneMoreGres/qtc-cppcheck
Licenses: MIT
Groups: qt, qt5
Conflicts: qtcreator-cppcheck-plugin
Provides: qtcreator-cppcheck-plugin
Submitter: ras
Maintainer: rodrigo21
Last Packager: rodrigo21
Votes: 10
Popularity: 0.285094
First Submitted: 2014-05-07 11:31
Last Updated: 2019-04-22 14:27

Pinned Comments

rodrigo21 commented on 2018-05-18 15:49

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.

Latest Comments

rodrigo21 commented on 2018-05-18 15:49

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.

RazZziel commented on 2018-05-18 07:02

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

You're welcome!

ras commented on 2015-06-22 10:35

added, see my comments at the googletest-plugin page

THX for the addition!

ras commented on 2015-06-22 10:34

added, see my comments at the googletest-plugin page

moustafine commented on 2015-06-22 08:58

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

in sync with qtcreator 3.2.0

ras commented on 2014-05-07 11:41

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