Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-79297

[REG 5.13.1 -> 5.14 beta1] Cannot build examples with MSVC

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 5.14.0 Beta 1
    • Fix Version/s: None
    • Component/s: Build tools: Other
    • Labels:
      None
    • Environment:
      Windows 10 1903 64 bit
      MSVC2015 64 bit
      MSVC2017
    • Platform/s:
      Windows

      Description

      Trying to build a demo results in a linker error:

      D:\Testprojekte>where qmake
      C:\Qt-10.15e\5.14.0\msvc2015_64\bin\qmake.exe
      
      D:\Testprojekte>qmake C:\Qt-10.15e\Examples\Qt-5.14.0\multimedia\declarative-camera\declarative-camera.pro
      Info: creating stash file D:\Testprojekte\.qmake.stash
      
      D:\Testprojekte>nmake
      
      Microsoft (R) Program Maintenance Utility, Version 14.00.24210.0
      Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
      
              "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe" -f Makefile.Release
      
      Microsoft (R) Program Maintenance Utility, Version 14.00.24210.0
      Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
      
              C:\Qt-10.15e\5.14.0\msvc2015_64\bin\rcc.exe -name declarative-camera C:\Qt-10.15e\Examples\Qt-5.14.0\multimedia\declarative-camera\declarative-camera.qrc -o release\qrc_declarative-camera.cpp
              cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -O2 -MD -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DNDEBUG -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -IC:\Qt-10.15e\Examples\Qt-5.14.0\multimedia\declarative-camera -I. -IC:\Qt-10.15e\5.14.0\msvc2015_64\include -IC:\Qt-10.15e\5.14.0\msvc2015_64\include\QtQuick -IC:\Qt-10.15e\5.14.0\msvc2015_64\include\QtMultimedia -IC:\Qt-10.15e\5.14.0\msvc2015_64\include\QtGui -IC:\Qt-10.15e\5.14.0\msvc2015_64\include\QtANGLE -IC:\Qt-10.15e\5.14.0\msvc2015_64\include\QtQmlModels -IC:\Qt-10.15e\5.14.0\msvc2015_64\include\QtQml -IC:\Qt-10.15e\5.14.0\msvc2015_64\include\QtNetwork -IC:\Qt-10.15e\5.14.0\msvc2015_64\include\QtCore -Irelease -I/include -IC:\Qt-10.15e\5.14.0\msvc2015_64\mkspecs\win32-msvc -Forelease\ @C:\Users\rob\AppData\Local\Temp\nmDBA6.tmp
      qmlcamera.cpp
              cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -O2 -MD -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DNDEBUG -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -IC:\Qt-10.15e\Examples\Qt-5.14.0\multimedia\declarative-camera -I. -IC:\Qt-10.15e\5.14.0\msvc2015_64\include -IC:\Qt-10.15e\5.14.0\msvc2015_64\include\QtQuick -IC:\Qt-10.15e\5.14.0\msvc2015_64\include\QtMultimedia -IC:\Qt-10.15e\5.14.0\msvc2015_64\include\QtGui -IC:\Qt-10.15e\5.14.0\msvc2015_64\include\QtANGLE -IC:\Qt-10.15e\5.14.0\msvc2015_64\include\QtQmlModels -IC:\Qt-10.15e\5.14.0\msvc2015_64\include\QtQml -IC:\Qt-10.15e\5.14.0\msvc2015_64\include\QtNetwork -IC:\Qt-10.15e\5.14.0\msvc2015_64\include\QtCore -Irelease -I/include -IC:\Qt-10.15e\5.14.0\msvc2015_64\mkspecs\win32-msvc -Forelease\ @C:\Users\rob\AppData\Local\Temp\nmE329.tmp
      qrc_declarative-camera.cpp
              link /NOLOGO /DYNAMICBASE /NXCOMPAT /OPT:REF /INCREMENTAL:NO /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /MANIFEST:embed /OUT:release\declarative-camera.exe @C:\Users\rob\AppData\Local\Temp\nmE404.tmp
      LINK : fatal error LNK1181: Eingabedatei "C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\um\x64\shell32.lib" kann nicht geöffnet werden.
      NMAKE : fatal error U1077: ""C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\link.EXE"": Rückgabe-Code "0x49d"
      Stop.
      NMAKE : fatal error U1077: ""C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe"": Rückgabe-Code "0x2"
      Stop.
      
      D:\Testprojekte> 
      

      Same problem when trying to build using qtenv2.bat and when building from Creator.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              qtbuildsystem Qt Build System Team
              Reporter:
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes