[Interest] Qt 5.9 Beta

Igor Mironchik igor.mironchik at gmail.com
Fri Apr 14 12:37:10 CEST 2017



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.

>
> 14.04.2017 13:13, Igor Mironchik пишет:
>>
>>
>>
>> 14.04.2017 13:12, Igor Mironchik пишет:
>>>
>>>
>>>
>>> 14.04.2017 13:03, Igor Mironchik пишет:
>>>>
>>>> Hi,
>>>>
>>>> I have to add that after qmake processed my project in the build 
>>>> dir I can see the .qmake.stash file with following content:
>>>>
>>>> QMAKE_CXX.INCDIRS = \
>>>>     "C:\\Program Files (x86)\\Microsoft Visual Studio 
>>>> 14.0\\VC\\INCLUDE" \
>>>>     "C:\\Program Files (x86)\\Microsoft Visual Studio 
>>>> 14.0\\VC\\ATLMFC\\INCLUDE" \
>>>>     "C:\\Program Files (x86)\\Windows 
>>>> Kits\\10\\include\\10.0.14393.0\\ucrt" \
>>>>     "C:\\Program Files (x86)\\Windows 
>>>> Kits\\NETFXSDK\\4.6.1\\include\\um" \
>>>>     "C:\\Program Files (x86)\\Windows 
>>>> Kits\\10\\include\\10.0.14393.0\\shared" \
>>>>     "C:\\Program Files (x86)\\Windows 
>>>> Kits\\10\\include\\10.0.14393.0\\um" \
>>>>     "C:\\Program Files (x86)\\Windows 
>>>> Kits\\10\\include\\10.0.14393.0\\winrt" \
>>>>     "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)\\Microsoft Visual Studio 
>>>> 14.0\\VC\\ATLMFC\\LIB" \
>>>>     "C:\\Program Files (x86)\\Windows 
>>>> Kits\\10\\lib\\10.0.14393.0\\ucrt\\x86" \
>>>>     "C:\\Program Files (x86)\\Windows 
>>>> Kits\\NETFXSDK\\4.6.1\\lib\\um\\x86" \
>>>>     "C:\\Program Files (x86)\\Windows 
>>>> Kits\\10\\lib\\10.0.14393.0\\um\\x86" \
>>>>     "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\\
>>>> QMAKE_CXX.QMAKE_MSC_VER = 1900
>>>> QMAKE_CXX.QMAKE_MSC_FULL_VER = 190024215
>>>> QMAKE_CXX.COMPILER_MACROS = \
>>>>     QMAKE_MSC_VER \
>>>>     QMAKE_MSC_FULL_VER
>>>>
>>>> But with Qt 5.9 Beta this file will not be generated until I won't 
>>>> do the workaround.
>>>>
>>>
>>> Sorry, file generates. But build failed with
>>>
>>> :-1: error: msvc-version.conf loaded but QMAKE_MSC_VER isn't set
>>
>> And deleteing of build dir doesn't help...
>>
>>>
>>>> Is it a bug? Or something missed in Qt installation?
>>>>
>>>>
>>>> 14.04.2017 10:30, Igor Mironchik пишет:
>>>>>
>>>>> Hi,
>>>>>
>>>>>
>>>>> 14.04.2017 10:22, Thiago Macieira пишет:
>>>>>> Em quinta-feira, 13 de abril de 2017, às 21:32:26 PDT, Igor Mironchik
>>>>>> escreveu:
>>>>>>> Hello,
>>>>>>>
>>>>>>> Qt 5.9 official binaries requires QMAKE_MSC_VER on project load.
>>>>>>>
>>>>>>> Is it normal? Should I specify QMAKE_MSC_VER by hands?
>>>>>> Delete all your Makefiles and .qmake.* files in your build dir. In fact, delete
>>>>>> your build dir and run qmake again.
>>>>>
>>>>> I'm sorry, probably I was not clear. I installed Qt 5.9 Beta with 
>>>>> Online Installer. Launch QtCreator with one project and configure 
>>>>> build to work with Qt 5.9. On qmake stage QtCreator said:
>>>>>
>>>>> Running Windows Runtime device detection.
>>>>>
>>>>> No winrtrunner.exe found.
>>>>>
>>>>> Project ERROR: msvc-version.conf loaded but QMAKE_MSC_VER isn't set
>>>>>
>>>>>
>>>>> I don't build Qt 5.9 my own, I use ready binaries.
>>>>>
>>>>>
>>>>> To workaround it I modified 
>>>>> Qt\5.9\msvc2015\mkspecs\common\msvc-version.conf and added on the top:
>>>>>
>>>>>
>>>>> QMAKE_MSC_VER = 1900
>>>>>
>>>>>
>>>>> I guess that this is problem of the installation of Qt 5.9.
>>>>>
>>>>>
>>>>> Is it so?
>>>>>
>>>>
>>>
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170414/454486fc/attachment.html>


More information about the Interest mailing list