Re: [Development] Missing Qt modules from Coverity Scan

2016-09-18 Thread Holger Freyther

> On 18 Sep 2016, at 20:40, Thiago Macieira  wrote:

Hi!


>> /home/qt-project/coverity/qt5/qtbase/src/plugins/platforms/xcb/qxcbconnectio
>> n.h:689:20: error: 'TabletData' is not a member of 'QXcbConnection'
>> Q_DECLARE_TYPEINFO(QXcbConnection::TabletData::ValuatorClassInfo,
>> Q_PRIMITIVE_TYPE); ^
> 
> Maybe fixed by 
> 
> commit 8cedf59a6815bf6457879822c0429f4becf85567
> Author: Allan Sandfeld Jensen , Tue Sep 6 
> 12:30:33 2016 +0200 (12 days ago)
> 
>Fix Linux build without XINPUT2
> 

thank you! I have done a Ubuntu 14.04->16.04 upgrade on the build machine
and installed more devel packages (xinput2, gles, udev, ssl, etc.). I use a
a hack Simon had indicated in QTBUG-56049 and remove the .qmake.* files after
./configure has ran and on first make it starts to configure and build.

Only downside is that it looks like -prefix is being ignored and everything
ends up in module/lib/*.so.5.9.0 and then qtscxml can't find qml-private.


have a nice week

holger
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Missing Qt modules from Coverity Scan

2016-09-18 Thread Thiago Macieira
On domingo, 18 de setembro de 2016 19:59:24 PDT Holger Freyther wrote:
> > On 18 Sep 2016, at 17:12, Marc Mutz  wrote:
> > 
> > 
> > This is another issue. This week's report only contains issues in code
> > built by qmake, probably caused by the configure problem you mention.
> > 
> > Last week's report, to which Peppe referred, however, contained all of
> > qtbase, but none of the other modules.
> 
> The build script driving the build didn't do set -e so I think it just
> errored out on qtbase compilation and uploaded a partial result. The system
> is a Ubuntu 14.04.03 and it seems Qt requires a newer system:
> 
> /home/qt-project/coverity/qt5/qtbase/src/plugins/platforms/xcb/qxcbconnectio
> n.h:689:20: error: 'TabletData' is not a member of 'QXcbConnection'
> Q_DECLARE_TYPEINFO(QXcbConnection::TabletData::ValuatorClassInfo,
> Q_PRIMITIVE_TYPE); ^

Maybe fixed by 

commit 8cedf59a6815bf6457879822c0429f4becf85567
Author: Allan Sandfeld Jensen , Tue Sep 6 
12:30:33 2016 +0200 (12 days ago)

Fix Linux build without XINPUT2


-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Missing Qt modules from Coverity Scan

2016-09-18 Thread Holger Freyther

> On 18 Sep 2016, at 17:12, Marc Mutz  wrote:
> 
> 
> This is another issue. This week's report only contains issues in code built 
> by qmake, probably caused by the configure problem you mention.
> 
> Last week's report, to which Peppe referred, however, contained all of 
> qtbase, 
> but none of the other modules.

The build script driving the build didn't do set -e so I think it just errored 
out on qtbase compilation and uploaded a partial result. The system is a Ubuntu 
14.04.03 and it seems Qt requires a newer system:

/home/qt-project/coverity/qt5/qtbase/src/plugins/platforms/xcb/qxcbconnection.h:689:20:
 error: 'TabletData' is not a member of 'QXcbConnection'
 Q_DECLARE_TYPEINFO(QXcbConnection::TabletData::ValuatorClassInfo, 
Q_PRIMITIVE_TYPE);
^

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Missing Qt modules from Coverity Scan

2016-09-18 Thread Marc Mutz
On Saturday 17 September 2016 09:51:02 Holger Freyther wrote:
> > On 15 Sep 2016, at 14:51, Giuseppe D'Angelo 
> > 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).

This is another issue. This week's report only contains issues in code built 
by qmake, probably caused by the configure problem you mention.

Last week's report, to which Peppe referred, however, contained all of qtbase, 
but none of the other modules.

Thanks,
Marc

-- 
Marc Mutz  | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
Tel: +49-30-521325470
KDAB - Qt, C++ and OpenGL Experts
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Missing Qt modules from Coverity Scan

2016-09-17 Thread Thiago Macieira
On sábado, 17 de setembro de 2016 09:51:02 PDT Holger Freyther wrote:
> Is this a known problem? How should the configure be changed?

Same problem as I'm having (see the "Help!" thread and QTBUG-56049).

Workaround: only build qtbase and do not build qt5.git. If you have built 
qt5.git in the past, make sure you've removed all artifacts.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Missing Qt modules from Coverity Scan

2016-09-17 Thread Holger Freyther

> On 15 Sep 2016, at 14:51, Giuseppe D'Angelo  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@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
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Missing Qt modules from Coverity Scan

2016-09-15 Thread Frank Meerkötter
On Thursday 15 September 2016 14:51:26 Giuseppe D'Angelo wrote:
[...]
> 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).

I played with the coverity scans end of 2015 or so.
It was definitively  not only qtbase. Still I had the impression that
certain modules were missing (either that or they are free from 
errors/warnings).
 
> May I ask the Good Samaritan who is regularly uploading builds of Qt to
> Coverity to double check the configuration?

That would be cool.

How does the upload work? qt5.git + sub modules? Hand picked list?

Regards,
Frank
-- 
Frank Meerkötter
Development Lead

basysKom GmbH
Robert-Bosch-Str. 7 | 64293 Darmstadt | Germany
Tel   : +49 6151 870 589 161  | Fax: +49 6151 - 870 589 162
frank.meerkoet...@basyskom.com | www.basyskom.com

Handelsregister: Darmstadt HRB 9352
Geschäftsführung: Eva Brucherseifer, Heike Ziegler


___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] Missing Qt modules from Coverity Scan

2016-09-15 Thread Giuseppe D'Angelo
Howdy,

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,
-- 
Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer
KDAB (UK) Ltd., a KDAB Group company | Tel: UK +44-1625-809908
KDAB - The Qt Experts



smime.p7s
Description: Firma crittografica S/MIME
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development