Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
4.8.3, 4.8.4
-
win32-g++, Windows 7, command line
-
Ie82032cf4b183b31c66defc2d49cc8095989ec8f
Description
While building src\3rdparty\webkit\Source\WebKit\qt\declarative, ld.exe throws "cannot find -lQtWebKit". Issue has been observed with Webkit included in Qt 4.8.1 and 4.8.3 (4.8.2 untested).
On this platform all generated Qt binaries, including QtWebKit, include the Qt major version number in their file names, so the build process should be linking with -lQtWebKit4 and -lQtWebKitd4.
If line 18 of src\3rdparty\webkit\Source\WebKit\qt\declarative\Makefile.WebKit.Release is corrected by replacing
LIBS = -L"c:\qt-4.8.1\qt-everywhere-opensource-src-4.8.1\lib" -L"c:\qt-4.8.1\qt-everywhere-opensource-src-4.8.1\lib" -lQtDeclarative4 -lQtWebKit -lQtGui4 -lQtCore4
with
LIBS = -L"c:\qt-4.8.1\qt-everywhere-opensource-src-4.8.1\lib" -L"c:\qt-4.8.1\qt-everywhere-opensource-src-4.8.1\lib" -lQtDeclarative4 -lQtWebKit4 -lQtGui4 -lQtCore4
then the build works fine and the compilation succeeds. Same steps need to be made for the debug configuration, for libQtWebKitd respectively. Problem seen on 4.8.1 and 4.8.3 (4.8.2 untested).