[Development] Fwd: Compiling QtWebEngine
Thiago Macieira
thiago.macieira at intel.com
Thu Dec 29 12:55:46 CET 2016
Em quinta-feira, 29 de dezembro de 2016, às 10:32:29 BRST, Berkay Elbir
escreveu:
> I tried to compile Qt 5.7.0 source code with web engine module on
> Windows 7 with Visual Studio 2013 Update 5. If I compile the source
> code without web engine, everything works fine. However, I am in
> trouble with compiling web engine module and getting following linker
> error for all qtwebengine objects.
> '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in
> qtwebenginecoreglobal.obj
That means you're mixing debug and release. You can't do that with MSVC.
> Because of some special reason, we have to use qt debug dll's like
> release. For this, we made following changes :
>
> Go to Qt directory and open msvc-desktop.conf file
> (D:\Qt\Qt5.7.0\qtbase\mkspecs\common\msvc-desktop.conf)
> Change -MDd params to -MD for debug flags
> QMAKE_CFLAGS_DEBUG = -Zi -MD
Correct.
> And we run the following commands :
>
> configure -opensource -confirm-license -mp -no-compile-examples
> -nomake examples -nomake tests -make tools -opengl desktop -no-angle
> -no-icu -skip qtmultimedia -skip location -skip sensors
> -debug-and-release -no-warnings-are-errors -platform win32-msvc2013
> -prefix D:\Qt\Qt5.7.0_x64 -openssl -I
> D:\3rdParty\OpenSSL\OpenSSL-Win64\include -L
> D:\3rdParty\OpenSSL\OpenSSL-Win64
> D:\3rdParty\jom_1_1_0\jom.exe module-qtwebengine
>
> Thanks for your help.
You're welcome.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development
mailing list