Cannot build WebKit2 w/ Qt5.2RC1 on Mac ... please help
-
Changing title to try and attract more response
Below is my original mail. I have made progress on some other issues with build but this is still biting me. It appears that WebKit2 wants all of the header files to be already placed in my build directory before compiling but that isn't happening. For kicks I changed the one issue I mentioned below (changed the include to "work") and then it simply failed later with similar include issues.
Why can't I build WebKit2.
Alternatively ... for now, how do I stop buildling WebKit2?
Thanks
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 foundI 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-libjpegA couple of things I have noted:
- 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.
- 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. :(
- 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 -
Add:
@
-skip webkit
@To configure flags. Make sure your setup is up-to-date (newest Xcode with command line tools). And you can now download the official Qt 5.2 release source code (just remember not do download the .zip package, as it's intended for Windows only).
-
I want to build webkit. I would like to know how to get past this
With regards to the zip / tar files, I am hoping that building from the git repo is fine. The issue with the zip / tar files is that I have to build for both Windows and Mac (and Linux soon). We build for windows on windows with msvc but we build for Mac on the mac with clang. We have had to make a number of fixes to Qt (some of which I will try to push up ... others might not make as much sense). I want to have one source repo where my changes occur. Is there any issue with using the git repo for doing real builds? If not, I have to keep two copies of the src and make modifications to both. :(
Thanks
-
No, git is more than fine for doing this ;) I somehow forgot you have written about it in your earlier post.
-
Had the same issue when building Qt 5.4 on OS X.
Building with "make" instead of "make all" helped - see "QTBUG-35514":https://bugreports.qt-project.org/browse/"QTBUG-35514 -
Had the same issue when building Qt 5.4 on OS X.
Building with "make" instead of "make all" helped - see "QTBUG-35514":https://bugreports.qt-project.org/browse/"QTBUG-35514