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

Unable to build QtImageFormats Add-On with Conan, msvc2019

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 6.0.1
    • Fix Version/s: None
    • Component/s: Build System, Image formats
    • Labels:
    • Platform/s:
      Windows
    • Commits:
      46074c4a636d7722cdc5aa48b3e0309c087f98af (qt/qt-conan-config/master)

      Description

      Description
      Install Qt6.0.1, QtImageFormats , Cmake, Ninja and Conan with online installer.

      Run build command:

      conan.exe install qtimageformats/6.0.1@qt/snapshot --build=missing --profile=C:\Users\qt\RTA\qt5\Tools\Conan\profiles\qt-6.0.1-msvc2019_64 -s build_type=Release -g cmake_paths -g cmake -g deploy

      Build fails:
      Found 'Error' from command output (Screenshot taken from the desktop is invalid)
       
      result array length: 136
      Build FAILED.
      "C:\Users\qt\.conan\data\qtimageformats\6.0.1\qt\snapshot\build\d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18\ALL_BUILD.vcxproj" (default target) (1) ->
       
      "C:\Users\qt\.conan\data\qtimageformats\6.0.1\qt\snapshot\build\d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18\ZERO_CHECK.vcxproj" (default target) (2) ->
       
      (PrepareForBuild target) ->
       
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(408,5): error MSB8013: This project doesn't contain the Configuration and Platform combination of Release|x64. [C:\Users\qt\.conan\data\qtimageformats\6.0.1\qt\snapshot\build\d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18\ZERO_CHECK.vcxproj]
       
       
      0 Warning(s)
      1 Error(s)
       
      Time Elapsed 00:00:00.66
      CMAKE_PREFIX_PATH for 'qtimageformats/6.0.1' build is: C:\Users\qt\RTA\qt5\6.0.1/msvc2019_64
      CMAKE_PREFIX_PATH for 'qtimageformats/6.0.1' build is: C:\Users\qt\RTA\qt5\6.0.1/msvc2019_64
       
      qtimageformats/6.0.1@qt/snapshot:
       
      qtimageformats/6.0.1@qt/snapshot: ERROR: Package 'd11c65c2b3c01ca5095b6d3429486d7bbf3d3c18' build failed
       
      qtimageformats/6.0.1@qt/snapshot: WARN: Build folder C:\Users\qt\.conan\data\qtimageformats\6.0.1\qt\snapshot\build\d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18
       
      ERROR: qtimageformats/6.0.1@qt/snapshot: Error in build() method, line 116
       
      self.run('cmake --build . %s' % cmake.build_config)
       
      ConanException: Error 1 while executing cmake --build . --config Release
       
       
      Build FAILED.
       
      Build success
       
       
      PASS17:03:58
      Build success
       
      "C:\Users\qt\.conan\data\qtimageformats\6.0.1\qt\snapshot\build\d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18\ALL_BUILD.vcxproj" (default target) (1) ->
       
      Build success
       
      "C:\Users\qt\.conan\data\qtimageformats\6.0.1\qt\snapshot\build\d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18\ZERO_CHECK.vcxproj" (default target) (2) ->
       
      Build success
       
      (PrepareForBuild target) ->
       
      Build success
       
      C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(408,5): error MSB8013: This project doesn't contain the Configuration and Platform combination of Release|x64. [C:\Users\qt\.conan\data\qtimageformats\6.0.1\qt\snapshot\build\d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18\ZERO_CHECK.vcxproj]
       
      Build success
       PASS17:03:58
      Build success
       
      0 Warning(s)
       
       PASS17:03:58
      Build success
       
      1 Error(s)
       
      Build failed (Screenshot taken from the desktop is invalid)
      1 Error(s)
       
      Build success
       
      Build success
       
      CMAKE_PREFIX_PATH for 'qtimageformats/6.0.1' build is: C:\Users\qt\RTA\qt5\6.0.1/msvc2019_64
       
      Build success
       
      CMAKE_PREFIX_PATH for 'qtimageformats/6.0.1' build is: C:\Users\qt\RTA\qt5\6.0.1/msvc2019_64
       
      Build success
       
      qtimageformats/6.0.1@qt/snapshot:
       
      Build success
       
      qtimageformats/6.0.1@qt/snapshot: ERROR: Package 'd11c65c2b3c01ca5095b6d3429486d7bbf3d3c18' build failed
       
      Build failed (Screenshot taken from the desktop is invalid)
      qtimageformats/6.0.1@qt/snapshot: ERROR: Package 'd11c65c2b3c01ca5095b6d3429486d7bbf3d3c18' build failed
       LOG17:03:58
      qtimageformats/6.0.1@qt/snapshot: WARN: Build folder C:\Users\qt\.conan\data\qtimageformats\6.0.1\qt\snapshot\build\d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18
       
      Build success
       
      ERROR: qtimageformats/6.0.1@qt/snapshot: Error in build() method, line 116
       
      Build failed (Screenshot taken from the desktop is invalid)
      ERROR: qtimageformats/6.0.1@qt/snapshot: Error in build() method, line 116
      self.run('cmake --build . %s' % cmake.build_config)
       
      Build success
       
      ConanException: Error 1 while executing cmake --build . --config Release
       
      Build failed (Screenshot taken from the desktop is invalid)
      ConanException: Error 1 while executing cmake --build . --config Release
       
      Build success

        Attachments

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

          Activity

            People

            Assignee:
            janihe Jani Heikkinen
            Reporter:
            mierala Minna Erälä
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes