Em sexta-feira, 14 de abril de 2017, às 03:37:10 PDT, Igor Mironchik escreveu: > 14.04.2017 13:33, Igor Mironchik пишет: > > Hi, > > > > I tried to check with no qmake in the PATH. > > > > And in this case I have two errors: > > > > D:\Qt\5.9\msvc2015\mkspecs\features\toolchain.prf:129: error: Variable > > QMAKE_CXX.COMPILER_MACROS is not defined. > > > > :-1: error: msvc-version.conf loaded but QMAKE_MSC_VER isn't set > > > > I'm using QtCreator and it should do the job even without qmake in the > > path. And this issue is only in Qt 5.9 Beta version. > > And one more... When I have no qmake in the PATH generates only > .qmake.stash with: > > QMAKE_CXX.INCDIRS = \ > "c:\\Program Files (x86)\\Microsoft Visual Studio > 14.0\\VC\\include\\" \ > "c:\\Program Files (x86)\\Windows Kits\\8.1\\Include\\shared\\" \ > "c:\\Program Files (x86)\\Windows Kits\\8.1\\Include\\um\\" \ > "c:\\Program Files (x86)\\Windows Kits\\8.1\\Include\\winrt\\" \ > d:\\3rdparty\\opencv\\build\\include\\ > QMAKE_CXX.LIBDIRS = \ > "c:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\lib\\" \ > "c:\\Program Files (x86)\\Windows Kits\\8.1\\Lib\\winv6.3\\um\\x86\\" \ > d:\\3rdparty\\opencv\\build\\x86\\vc12\\lib\\ > > And if delete .qmake.stash and re-run qmake then following error: > > D:\Qt\5.9\msvc2015\mkspecs\features\toolchain.prf:129: error: Variable > QMAKE_CXX.COMPILER_MACROS is not defined.
I don't know what this is. The only possibility I can see is that it tried to run the compiler to get the predefined macros and failed. Can you rerun with -d -d, capture stderr and send it to me directly? -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
