What version can build with Qt 4.8.6 and MSVC 2010?
-
What version of qtwebkit can I build with Qt 4.8.6 and msvc 2010?
Building 2.3.4, but got error:
link /LIBPATH:"c:\Qt\qtwebkit-2.3.4\WebKitBuild\Release\lib"
/LIBPATH:"c:\Qt\4.8.6\lib" /NOLOGO /DYNAMICBASE /NXCOMPAT
/INCREMENTAL:NO /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32'
name='Microsoft.Windows.Common-Controls' version='6.0.0.0'
publicKeyToken='6595b64144ccf1df' language=''
processorArchitecture=''" /OUT:....\bin\QtTestBrowser.exe
@D:\Temp\nm1658.tmp
qttestbrowser.obj : error LNK2019: ссылка на неразрешенный внешний
символ "__declspec(dllimport) void __cdecl
WebKit::QtTestSupport::initializeTestFonts(void)"
(_imp?initializeTestFonts@QtTestSupport@WebKit@@YAXXZ) в функции
"private: void __thiscall
LauncherApplication::handleUserOptions(void)"
(?handleUserOptions@LauncherApplication@@AAEXXZ)
....\bin\QtTestBrowser.exe : fatal error LNK1120: 1 неразрешенных
внешних элементов
NMAKE : fatal error U1077: "C:\Program Files (x86)\Microsoft Visual
Studio 10.0\VC\BIN\link.EXE" : возвращенный код "0x460"
Stop.
NMAKE : fatal error U1077: "C:\Program Files (x86)\Microsoft Visual
Studio 10.0\VC\BIN\nmake.exe" : возвращенный код "0x2"
Stop.
NMAKE : fatal error U1077: cd : возвращенный код "0x2"
Stop.
NMAKE : fatal error U1077: cd : возвращенный код "0x2"
Stop.
NMAKE : fatal error U1077: "C:\Program Files (x86)\Microsoft Visual
Studio 10.0\VC\BIN\nmake.exe" : возвращенный код "0x2"
Stop.Can enybody help?
-
@Mememe I see only link error for QtTestBrowser.exe. It is not required to use QtWebKit. If you got that far, dlls are built without errors.
If you still want to get rid of error, you either need to comment out QtTestSupport usage in QtTestBrowser, or disable building QtTestBrowser.
Also note that Qt 4 is EOL, and QtWebKit 2.3.4 is based on WebKit branch from 2012, which is old and has lots of known bugs and vulnerabilities. Please consider upgrade to Qt 5.6