[Gammaray-interest] Building with custom Qt 5.3.2

Allen Winter allen.winter at kdab.com
Fri Nov 21 16:42:35 CET 2014


On Thursday, November 20, 2014 10:19:39 AM mg wrote:
> On Wed, 19 Nov 2014 18:55:02 +0100, Allen Winter <allen.winter at kdab.com>  
> wrote:
> 
> > On Wednesday, November 19, 2014 01:48:26 PM mg wrote:
> >> I am having trouble building GammaRay (branch master) with the following
> >> environment:
> >> Windows 7
> >> Visual Studio 2013
> >> Windows Kit 8.1
> >> and Qt 5.3.2 compiled without any QML support
> >>
> >> The compiler error I am getting is:
> >> wk2application.cpp(22) : fatal error C1083: Cannot open include file:
> >> 'QGuiApplication' No such file or directory
> >> The missing QML support (optional) is detected by cmake, but this test
> >> executable is trying to build anyway.
> >>
> > Can you try changing tests/manual/CMakeLists.txt, line 36
> > from
> >   if(Qt5WebKit_FOUND)
> > to
> >  if(Qt5WebKit_FOUND AND Qt5Quick_FOUND)
> 
> Thanks, this one helped a lot. Maybe it should be changed in the  
> repository, too? 
Done.


> Now I can build everything and make install. But I am  
> having trouble running GammaRay, because I cannot add Qt to my system wide  
> environment path. I am using several versions of Qt with different  
> compilers for different projects. My solution for Qt4 and GammaRay 1.2 was  
> to copy all required Qt dlls to the build\bin directory and running  
> GammaRay from there even without installation. When I do the similar  
> approach with Qt5 in the installed directory, gammaray.exe starts and I  
> can click on the process to attach to. And then the gammaray_core dll  
> cannot be found. And I cannot add the bin path to an environment variable,  
> because I had to copy the Qt dlls there and then I would not be able to  
> use different Qt versions on my machine.

maybe you can write a gammaray.bat that sets all the paths and stuff
and then starts gammaray.exe?


-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4775 bytes
Desc: not available
URL: <http://mail.kdab.com/pipermail/gammaray-interest/attachments/20141121/8f968e1d/attachment.p7s>


More information about the Gammaray-interest mailing list