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

WindeployQt fails to compile

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Duplicate
    • Affects Version/s: 5.14.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      MSVC 2017 64-bit
    • Platform/s:
      Windows

      Description

      Building on dev branch qtbase and qttools.

       

      began failing on commit qttools sha1: ae7d73e59c9a94b66506d270845d57b195eb69a1

      built against qtbase sha1: 75c6bd54d7e056e2818f942f9e40b897f575fd34

       

      Error:

       

      {{link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /SUBSYSTEM:CONSOLE "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /VERSION:5.14 /MANIFEST:embed /OUT:I:\workspace\qmlbench_qt_dev_branch_Windows\415\qtbase\bin\windeployqt.exe @C:\Users\dan\AppData\Local\Temp\windeployqt.exe.5884.4469.jom}}
      {{utils.obj : error LNK2019: unresolved external symbol "public: int __thiscall QStringView::toWCharArray(wchar_t *)const " (?toWCharArray@QStringView@@QBEHPA_W@Z) referenced in function "class QString __cdecl findD3dCompiler(enum Platform,class QString const &,unsigned int)" (?findD3dCompiler@@YA?AVQString@@W4Platform@@ABV1@I@Z)}}
      {{main.obj : error LNK2001: unresolved external symbol "public: int __thiscall QStringView::toWCharArray(wchar_t *)const " (?toWCharArray@QStringView@@QBEHPA_W@Z)}}
      {{I:\workspace\qmlbench_qt_dev_branch_Windows\415\qtbase\bin\windeployqt.exe : fatal error LNK1120: 1 unresolved externals}}
      {{jom: I:\workspace\qmlbench_qt_dev_branch_Windows\415\qttools\src\windeployqt\Makefile.Release [I:\workspace\qmlbench_qt_dev_branch_Windows\415\qtbase\bin\windeployqt.exe] Error 1120}}
      {{jom: I:\workspace\qmlbench_qt_dev_branch_Windows\415\qttools\src\windeployqt\Makefile [release] Error 2}}
       

       

      Full log attached. WindeployQt is the second-to-last build item in the log.

       

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-74381
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              kleint Friedemann Kleint
              Reporter:
              daniel.smith Daniel Smith
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes