Details
-
Bug
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
Qt Creator 4.5.0, Qt Creator 4.7.1
-
None
-
Windows 10 1709 64 bit
Description
- I have MSVC2015 installed, but no native 64-bit compiler, only the cross compiler in "x86_amd64".
- I have installed Qt 5.10.1 snapshot for UWP on MSVC2015, 64 bit installed.
- I opened the camera example in Creator.
- Building the example fails with:
link /NOLOGO /DYNAMICBASE /NXCOMPAT /NODEFAULTLIB:ole32.lib /APPCONTAINER /MACHINE:X64 /NODEFAULTLIB:kernel32.lib /INCREMENTAL:NO /SUBSYSTEM:WINDOWS /MANIFEST:NO /OUT:release\declarative-camera.exe @C:\Users\rob\AppData\Local\Temp\declarative-camera.exe.8520.171.jom release\qrc_declarative_camera_qtquickcompiler.obj : fatal error LNK1112: Modul-Computertyp "X86" steht in Konflikt mit dem Zielcomputertyp "x64".
It should be possible to build the example from Creator. Building from the command line succeeds.
This seems to happen because Creator puts
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64;
into PATH which does not contain a compiler. qmake called from the command line uses
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64
instead.
Attachments
Issue Links
- mentioned in
-
Page Loading...