[Gammaray-interest] Building with custom Qt 5.3.2

mg mgr2000 at gmx.net
Thu Nov 20 10:19:39 CET 2014


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? 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.


More information about the Gammaray-interest mailing list