[Gammaray-interest] GammaRay 2.1.0 in June

Allen Winter allen.winter at kdab.com
Thu Jun 12 22:49:58 CEST 2014


On Wednesday, June 04, 2014 09:15:07 AM Volker Krause wrote:
> On Tuesday 03 June 2014 10:23:13 Allen Winter wrote:
> > On Tuesday, June 03, 2014 04:01:06 PM Volker Krause wrote:
> > > Hi,
> > > 
> > > thanks Allen for driving this again!
> > > 
> > > On Tuesday 03 June 2014 08:53:00 Allen Winter wrote:
> > > > Volker and I would like to get 2.1.0 released later in June.
> > > > Would June 27th work for everyone?
> > > > 
> > > > Is that enough time?  How are we doing according to the Release Roadmap?
> > > > [1]
> > > > 
> > > > [1] https://github.com/KDAB/GammaRay/wiki/Roadmap
> > > 
> > > With the QQ2 inspector we have more than enough content for the release I
> > > think, not even counting the other improvements that are already
> > > integrated. There's still some polishing to do on the QQ2 stuff (Anton is
> > > working on that), so June 27th looks good to me.
> > 
> > On my calendar then.
> > 
> > One thing I want to figure out is why master builds fine for me with Qt
> > 5.3.0 (hand-built) but doesn't build against Qt 5.2.1 (fedora built)
> > 
> > /home/allen/projects/gammaray/plugins/quickinspector/quickinspector.cpp:60:3
> > 7: fatal error: private/qquickanchors_p.h: No such file or directory
> > #include <private/qquickanchors_p.h>
> > 
> > Last time I investigated, I recall thinking it might be a CMake bug
> > but since things work fine with Qt5.3.0 I'm not so sure.
> > Anyway else encounter this?
> 
> not yet, but I'm usually not building against distro Qts on any platform. Is 
> this a problem because the private headers are missing in the package, or 
> because CMake doesn't add the necessary include path? In the latter case, 
> which CMake version is that?
> 
In plugins/quickinspector/CMakeLists.txt, the value of ${Qt5Quick_PRIVATE_INCLUDE_DIRS} is:

  /usr/include/qt5/QtNetwork/5.2.1;/usr/include/qt5/QtNetwork/5.2.1/QtNetwork;/usr/include/qt5/QtCore/5.2.1;/usr/include/qt5/QtCore/5.2.1/QtCore;/usr/include/qt5/QtGui/5.2.1;/usr/include/qt5/QtGui/5.2.1/QtGui

which can't be correct; clearly missing the QtQml and QtQuick dirs.

adding this line to plugins/quickinspector/CMakeLists.txt makes it compile ok:

  include_directories("/usr/include/qt5/QtQuick/5.2.1;/usr/include/qt5/QtQuick/5.2.1/QtQuick;/usr/include/qt5/QtQml/5.2.1;/usr/include/qt5/QtQml/5.2.1/QtQml")


cmake version 2.8.12.2. 

Also recall that master compiles fine against my Qt 5.3.0 (hand-built) with the same cmake version.

I also noticed that if I move Qml and Quick from OPTIONAL to REQUIRED (like this)
  find_package(Qt5 NO_MODULE REQUIRED COMPONENTS Gui Network Qml Quick)
then ${Qt5Quick_PRIVATE_INCLUDE_DIRS} becomes

  /usr/include/qt5/;/usr/include/qt5/QtQuick;/usr/include/qt5/QtQml;/usr/include/qt5/QtNetwork;/usr/include/qt5/QtCore;/usr/lib64/qt5//mkspecs/linux-g++-64;/usr/include/qt5/QtGui
which is closer, but still not correct.

hopefully enough hints in here to figure out what's happening.

-Allen

-- 
Allen Winter | allen.winter at kdab.com | Software Engineer
KDAB (USA), LLC, a KDAB Group company
Tel. USA +1-866-777-KDAB(5322) ext3, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions
Qt Developer Days 2014 - October 6 - 8 at BCC, Berlin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4839 bytes
Desc: not available
URL: <http://mail.kdab.com/pipermail/gammaray-interest/attachments/20140612/2f92280a/attachment.bin>


More information about the Gammaray-interest mailing list