I will eventually get to RTM since it just came out but I have honestly invested 2 weeks trying to get Qt5 building and getting our app to build against it and I am still not done.
The problem I would like help with here is a build error:
/Users/lgraber/dev/…/qtwebkit/Source/WebKit2/Platform/CoreIPC/Connection.cpp:29:10: fatal error: ‘WebCore/RunLoop.h’ file not found
I am doing a shadow build and I got the source from the git repo. My configuration uses:
-prefix ${myoutdir} -debug-and-release -opensource -confirm-license -no-framework -platform macx-clang -no-compile-examples -nomake examples -nomake tests -opengl desktop -qt-zlib -qt-libpng -qt-libjpeg
A couple of things I have noted:
1) No matter how many “no“s you put around build examples & tests, Qt build system will try to build them. I was eventually forced to simply delete the directories. That was necessary because they failed to build with a bunch of include files not found. Looking at the output … there were missing Include paths.
2) It is interesting that it is building WebKit when I didn’t set -icu and it shouldn’t be able to find it on my machine. On windows, not setting -icu means no webkit. I did actually try setting -icu and that fails miserably because I put the -I & -L on my configuration because my ICU is not installed. Qt build system does not work in this case as those paths are not flowed in a couple of cases. :(
3) I searched for RunLoop.h and the only place I found it was in qtwebkit/Source/WebCore/platform/RunLoop.h. Clearly that could never work since “platform” is between WebCore and RunLoop.h. My only assumption is that it should have been placed somewhere but wasn’t. I don’t know how to track this down though.
Any help is very much appreciated. I would love to be able to build and help my team move but … it has not been smooth sailing. I was originally trying to build 5.1.1 and that one was failing so much that we decided to try 5.2 (which has gone a lot better but still is having issues). Hoping to hear from someone
Thanks
Lee
↧