I begin to learn qt one month ago. I want to compile a static library for qt. I follow the following instructions:
1: download the latest qt source code
2: configure -static -platform win32-msvc2013 -nomake tests -nomake tools -no-sql-sqlite
3: nmake
step1 and step 2 work well. After more than one hour running nmake, I come to some error as below.
I have search the www for answers, even though many people have questions similar to mime, none solve my problem. Hope someone can help me.
Qt 5.7.0; Qt Creator 4.1.0; win7 64; vs2013
mimetypemodel.cpp
.\mimetypemodel.cpp(74) : error C2440: '<function-style-cast>' : cannot convert from 'initializer-list' to 'QStringList'.
NMAKE: fatal error U1077: ""D:\program Files(x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe"" : return code "0x2"
Stop