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

[REG 5.15.1-> 6.0.0] MSVC: quickcontrols2\imagine\automotive fails to build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 6.0.0 Alpha
    • Build System: CMake
    • Windows 10 x64
    • Windows

    Description

      Building example Examples/Qt-6.0.0/quickcontrols2/imagine/automotive fails with error:

      15:42:47: Running steps for project automotive...
      15:42:47: Persisting CMake state...
      15:42:51: Starting: "C:\Utils\CMake\Tools\CMake_64\bin\cmake.exe" --build . --target all
      [1/22 3.6/sec] Generating .rcc/qmlcache/qml/qmlcache_loader.cpp
      [2/22 7.2/sec] Generating .rcc/qmlcache/qml/qml/FeatureButton_qml.cpp
      [3/22 10.8/sec] Generating .rcc/qmlcache/qml/qml/automotive_qml.cpp
      [4/22 12.9/sec] Generating .rcc/qmlcache/qml/qml/CustomGlow_qml.cpp
      [5/22 16.0/sec] Generating .rcc/qmlcache/qml/qml/GlowingLabel_qml.cpp
      [6/22 18.4/sec] RCC icons
      [7/22 21.5/sec] RCC qmake_immediate
      [8/22 24.2/sec] RCC qml_qmlcache
      [9/22 26.9/sec] RCC imagine-assets
      [10/22 22.6/sec] Automatic MOC and UIC for target automotive
      [11/22 18.2/sec] Building CXX object CMakeFiles\automotive.dir\.rcc\qmlcache\qml\qml\CustomGlow_qml.cpp.obj
      [12/22 19.6/sec] Building CXX object CMakeFiles\automotive.dir\automotive_autogen\mocs_compilation.cpp.obj
      [13/22 20.4/sec] Building CXX object CMakeFiles\automotive.dir\.rcc\qmlcache\qml\qml\FeatureButton_qml.cpp.obj
      [14/22 14.6/sec] Building CXX object CMakeFiles\automotive.dir\.rcc\qmlcache\qml\qml\GlowingLabel_qml.cpp.obj
      [15/22 15.1/sec] Building CXX object CMakeFiles\automotive.dir\.rcc\qrc_qmake_immediate.cpp.obj
      [16/22 16.1/sec] Building CXX object CMakeFiles\automotive.dir\.rcc\qrc_qml_qmlcache.cpp.obj
      [17/22 17.0/sec] Building CXX object CMakeFiles\automotive.dir\.rcc\qrc_imagine-assets.cpp.obj
      [18/22 18.0/sec] Building CXX object CMakeFiles\automotive.dir\.rcc\qmlcache\qml\qml\automotive_qml.cpp.obj
      [19/22 18.8/sec] Building CXX object CMakeFiles\automotive.dir\.rcc\qrc_icons.cpp.obj
      [20/22 8.2/sec] Building CXX object CMakeFiles\automotive.dir\automotive.cpp.obj
      C:\Users\joaijala\RTA\qt5\Examples\Qt-6.0.0\quickcontrols2\imagine\automotive\automotive.cpp(62): warning C4996: 'Qt::AA_EnableHighDpiScaling': High-DPI scaling is always enabled. This attribute no longer has any effect.
      C:\Users\joaijala\RTA\qt5\Examples\Qt-6.0.0\quickcontrols2\imagine\automotive\automotive.cpp(63): warning C4996: 'Qt::AA_UseHighDpiPixmaps': High-DPI pixmaps are always enabled. This attribute no longer has any effect.
      [21/22 8.5/sec] Building CXX object CMakeFiles\automotive.dir\.rcc\qmlcache\qml\qmlcache_loader.cpp.obj
      [22/22 6.6/sec] Linking CXX executable automotive.exe
      qtmaind.lib(qtmain_win.cpp.obj) : warning LNK4099: PDB 'WinMain.pdb' was not found with 'qtmaind.lib(qtmain_win.cpp.obj)' or at 'C:\Users\joaijala\RTA\qt5\Examples\Qt-6.0.0\quickcontrols2\imagine\build-automotive-Desktop_Qt_6_0_0_MSVC2019_64bit-Debug\WinMain.pdb'; linking object as if no debug info
      qtmaind.lib(qtmain_win.cpp.obj) : warning LNK4099: PDB 'WinMain.pdb' was not found with 'qtmaind.lib(qtmain_win.cpp.obj)' or at 'C:\Users\joaijala\RTA\qt5\Examples\Qt-6.0.0\quickcontrols2\imagine\build-automotive-Desktop_Qt_6_0_0_MSVC2019_64bit-Debug\WinMain.pdb'; linking object as if no debug info
      15:42:56: The process "C:\Utils\CMake\Tools\CMake_64\bin\cmake.exe" exited normally.
      15:42:56: Elapsed time: 00:09.
      

      Build with Creator, Qt6.0.0 snapshot: 195a8210c167a435cbbc10ff782926f1a3ea3a75

       
       
       

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              joaijala Johanna Äijälä
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes