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

Unable to build QtMqtt Add-On with Conan, Qt6.0.1, msvc2019-Windows10-x64

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 6.0.1
    • 6.0.1
    • Build System, MQTT
    • Windows
    • 46074c4a636d7722cdc5aa48b3e0309c087f98af (qt/qt-conan-config/master)

    Description

      Description
      Install Qt6.0.1, Cmake, Ninja and Conan with online installer.
       
      Run build command:
      conan.exe install qtmqtt/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:
      LOG17:07:22
      CMAKE_PREFIX_PATH for 'qtmqtt/6.0.1' build is: C:\Users\qt\RTA\qt5\6.0.1/msvc2019_64
      CMAKE_PREFIX_PATH for 'qtmqtt/6.0.1' build is: C:\Users\qt\RTA\qt5\6.0.1/msvc2019_64
      qtmqtt/6.0.1@qt/snapshot:
      qtmqtt/6.0.1@qt/snapshot: ERROR: Package 'd11c65c2b3c01ca5095b6d3429486d7bbf3d3c18' build failed
      qtmqtt/6.0.1@qt/snapshot: WARN: Build folder C:\Users\qt\.conan\data\qtmqtt\6.0.1\qt\snapshot\build\d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18
      ERROR: qtmqtt/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
       
       
      "C:\Users\qt\.conan\data\qtmqtt\6.0.1\qt\snapshot\build\d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18\ALL_BUILD.vcxproj" (default target) (1) ->
      "C:\Users\qt\.conan\data\qtmqtt\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\qtmqtt\6.0.1\qt\snapshot\build\d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18\ZERO_CHECK.vcxproj]
       
       
       
      0 Warning(s)
      1 Error(s)
      1 Error(s)
       
       
       
      CMAKE_PREFIX_PATH for 'qtmqtt/6.0.1' build is: C:\Users\qt\RTA\qt5\6.0.1/msvc2019_64
      CMAKE_PREFIX_PATH for 'qtmqtt/6.0.1' build is: C:\Users\qt\RTA\qt5\6.0.1/msvc2019_64
      qtmqtt/6.0.1@qt/snapshot:
      qtmqtt/6.0.1@qt/snapshot: ERROR: Package 'd11c65c2b3c01ca5095b6d3429486d7bbf3d3c18' build failed
      qtmqtt/6.0.1@qt/snapshot: ERROR: Package 'd11c65c2b3c01ca5095b6d3429486d7bbf3d3c18' build failed
       LOG17:07:22
      qtmqtt/6.0.1@qt/snapshot: WARN: Build folder C:\Users\qt\.conan\data\qtmqtt\6.0.1\qt\snapshot\build\d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18
       
      ERROR: qtmqtt/6.0.1@qt/snapshot: Error in build() method, line 116
      ERROR: qtmqtt/6.0.1@qt/snapshot: Error in build() method, line 116
       LOG17:07:22
      self.run('cmake --build . %s' % cmake.build_config)
       
      ConanException: Error 1 while executing cmake --build . --config Release
       
      ConanException: Error 1 while executing cmake --build . --config Release

      Attachments

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

        Activity

          People

            janihe Jani Heikkinen
            mierala Minna Erä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