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

[REG 6.5.0->prev snapshot] widgets/richtext/textedit not compiling

    XMLWordPrintable

Details

    • 23be657dda374ab5c88707a42af10b28f774efd4

    Description

      Install Qt 6.5.0 MSVC2019 x64 binaries (sha1 3641e6c8a02d4000a859f60dbd6d3880637540df), launch Creator and open project widgets/richtext/textedit. Configure passes, but when compiling, fails:

      07:11:41: Running steps for project textedit...
      07:11:42: Starting: "C:\Users\joaijala\RTA\Qt_6.5.0\Tools\CMake_64\bin\cmake.exe" --build C:/Users/joaijala/RTA/Qt_6.5.0/Examples/Qt-6.5.0/widgets/richtext/build-textedit-Desktop_Qt_6_5_0_MSVC2019_64bit-Debug --target all
      [1/5 0.3/sec] Running rcc for resource textedit
      [2/5 0.6/sec] Building CXX object CMakeFiles\textedit.dir\.rcc\qrc_textedit.cpp.obj
      [3/5 0.7/sec] Building CXX object CMakeFiles\textedit.dir\main.cpp.obj
      [4/5 0.8/sec] Building CXX object CMakeFiles\textedit.dir\textedit.cpp.obj
      [5/5 0.9/sec] Linking CXX executable textedit.exe
      FAILED: textedit.exe 
      cmd.exe /C "cd . && C:\Users\joaijala\RTA\Qt_6.5.0\Tools\CMake_64\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\textedit.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~3\2019\PROFES~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\link.exe /nologo CMakeFiles\textedit.dir\main.cpp.obj CMakeFiles\textedit.dir\textedit.cpp.obj CMakeFiles\textedit.dir\.rcc\qrc_textedit.cpp.obj  /out:textedit.exe /implib:textedit.lib /pdb:textedit.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:windows  -DYNAMICBASE -NXCOMPAT -LARGEADDRESSAWARE  C:\Users\joaijala\RTA\Qt_6.5.0\6.5.0\msvc2019_64\lib\Qt6PrintSupportd.lib  C:\Users\joaijala\RTA\Qt_6.5.0\6.5.0\msvc2019_64\lib\Qt6Widgetsd.lib  C:\Users\joaijala\RTA\Qt_6.5.0\6.5.0\msvc2019_64\lib\Qt6Guid.lib  C:\Users\joaijala\RTA\Qt_6.5.0\6.5.0\msvc2019_64\lib\Qt6Cored.lib  mpr.lib  userenv.lib  C:\Users\joaijala\RTA\Qt_6.5.0\6.5.0\msvc2019_64\lib\Qt6EntryPointd.lib  shell32.lib  d3d11.lib  dxgi.lib  dxguid.lib  dcomp.lib  comdlg32.lib  winspool.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
      LINK Pass 1: command "C:\PROGRA~2\MICROS~3\2019\PROFES~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\link.exe /nologo CMakeFiles\textedit.dir\main.cpp.obj CMakeFiles\textedit.dir\textedit.cpp.obj CMakeFiles\textedit.dir\.rcc\qrc_textedit.cpp.obj /out:textedit.exe /implib:textedit.lib /pdb:textedit.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:windows -DYNAMICBASE -NXCOMPAT -LARGEADDRESSAWARE C:\Users\joaijala\RTA\Qt_6.5.0\6.5.0\msvc2019_64\lib\Qt6PrintSupportd.lib C:\Users\joaijala\RTA\Qt_6.5.0\6.5.0\msvc2019_64\lib\Qt6Widgetsd.lib C:\Users\joaijala\RTA\Qt_6.5.0\6.5.0\msvc2019_64\lib\Qt6Guid.lib C:\Users\joaijala\RTA\Qt_6.5.0\6.5.0\msvc2019_64\lib\Qt6Cored.lib mpr.lib userenv.lib C:\Users\joaijala\RTA\Qt_6.5.0\6.5.0\msvc2019_64\lib\Qt6EntryPointd.lib shell32.lib d3d11.lib dxgi.lib dxguid.lib dcomp.lib comdlg32.lib winspool.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:CMakeFiles\textedit.dir/intermediate.manifest CMakeFiles\textedit.dir/manifest.res" failed (exit code 1120) with the following output:
      textedit.cpp.obj : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __cdecl TextEdit::metaObject(void)const " (?metaObject@TextEdit@@UEBAPEBUQMetaObject@@XZ)
      textedit.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void * __cdecl TextEdit::qt_metacast(char const *)" (?qt_metacast@TextEdit@@UEAAPEAXPEBD@Z)
      textedit.cpp.obj : error LNK2001: unresolved external symbol "public: virtual int __cdecl TextEdit::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@TextEdit@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z)
      textedit.cpp.obj : error LNK2001: unresolved external symbol "public: static struct QMetaObject const TextEdit::staticMetaObject" (?staticMetaObject@TextEdit@@2UQMetaObject@@B)
      textedit.exe : fatal error LNK1120: 4 unresolved externals
      ninja: build stopped: subcommand failed.
      07:11:48: The process "C:\Users\joaijala\RTA\Qt_6.5.0\Tools\CMake_64\bin\cmake.exe" exited with code 1.
      Error while building/deploying project textedit (kit: Desktop Qt 6.5.0 MSVC2019 64bit)
      When executing step "Build"
      07:11:48: Elapsed time: 00:07.
      

      CMake and Ninja from installer.

      Was working in previous test round with sha1 487c92a3d086cc3b086899c5a212c1a64b27881f on 18.11.22 (qtbase 6a027a8677888bcc881929f47185603778e4c50e)

      Attachments

        1. log_mingw.7z
          102 kB
        2. log_macos.txt.zip
          155 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vhilshei Volker Hilsheimer
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes