[Development] Missing Qt modules from Coverity Scan

Holger Freyther holger at freyther.de
Sat Sep 17 09:51:02 CEST 2016


> On 15 Sep 2016, at 14:51, Giuseppe D'Angelo <giuseppe.dangelo at kdab.com> wrote:
> 
> Howdy,

Hi!


> 
> while playing around with Coverity Scan with a few colleagues of mine we
> noticed that only qtbase is getting uploaded and therefore checked
> (instead of the complete qt5.git).
> 
> I'm fairly sure that this has changed recently, as there are bugs in
> there against other modules which were automatically marked as "fixed"
> by Coverity (because the corresponding code is now gone).
> 
> May I ask the Good Samaritan who is regularly uploading builds of Qt to
> Coverity to double check the configuration?

thanks for pointing it out. It seems that qt5.git/configure in the dev branch is broken (or has changed behavior).

The configure script in all its beauty is:

./configure -prefix /home/qt-project/install -debug -opensource -confirm-license -no-pch
make -j 4

qt-project at Qt-Coverity:~/coverity/qt5$ make
cd qtbase/ && ( test -e Makefile || /home/qt-project/coverity/qt5/qtbase/bin/qmake -o Makefile /home/qt-project/coverity/qt5/qtbase/qtbase.pro -qtconf /home/qt-project/coverity/qt5/qtbase/bin/qt.conf -- -prefix /home/qt-project/coverity/qt5/qtbase -opensource ) && make -f Makefile
make[1]: Entering directory `/home/qt-project/coverity/qt5/qtbase'
cd src/ && ( test -e Makefile || /home/qt-project/coverity/qt5/qtbase/bin/qmake -o Makefile /home/qt-project/coverity/qt5/qtbase/src/src.pro -qtconf /home/qt-project/coverity/qt5/qtbase/bin/qt.conf -- -prefix /home/qt-project/coverity/qt5/qtbase -opensource ) && make -f Makefile
Cannot read /home/qt-project/coverity/qt5/qtbase/src/corelib/qtcore-config.pri: No such file or directory
Cannot read /home/qt-project/coverity/qt5/qtbase/src/gui/qtgui-config.pri: No such file or directory
Project ERROR: Could not find feature system-zlib.

qt5.git is at 2fb27862aa760d88790b23e0eab3cd3be5341054

Is this a known problem? How should the configure be changed?

holger


More information about the Development mailing list