QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO = -O2 -MT -Ziĥ. ![]() Should be changed to: QMAKE_CFLAGS_RELEASE = -O2 -MT QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO = -O2 -MD -Zi Initial values: QMAKE_CFLAGS_RELEASE = -O2 -MD goto C:\Qt\5.5\qt-everywhere-opensource-src-5.5.0\qtbase\mkspecs\commonĪnd change nf like this (change all MD to MT to remove dependency on msvc dlls) Create folder C:\Qt\5.5\msvc2010_static (if you are not building using msvc2010 then create a folder according to the compiler you are using, like msvc2013 or msvc2008 etc.)Ĥ. Change Environment variables like this: PATH = C:\Qt\Tools\QtCreator\binģ. Download and extract qt source to this path: C:\Qt\5.5\qt-everywhere-opensource-src-5.5.0Ģ. ![]() Note that building Qt like this will remove all dependencies meaning there won’t be any need for MSVC dlls)ġ. I have used MSVC2010 in this example but it should be the same for any compiler version from 2005 to 2015 (Visual Studio 2005 (8.0), VC 14.0) Following steps will help you with building Qt 5.5 Static Libraries with any MSVC Compiler.
0 Comments
Leave a Reply. |