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

Unable to build QtNetworkAuth Add-On with Conan, msvc2019

    XMLWordPrintable

Details

    • Windows
    • 46074c4a636d7722cdc5aa48b3e0309c087f98af (qt/qt-conan-config/master)

    Description

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

       Run build command: 

      conan.exe install qtnetworkauth/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:
      qtnetworkauth/6.0.1@qt/snapshot:
       
      qtnetworkauth/6.0.1@qt/snapshot: ERROR: Package 'd11c65c2b3c01ca5095b6d3429486d7bbf3d3c18' build failed
       
      qtnetworkauth/6.0.1@qt/snapshot: WARN: Build folder C:\Users\qt\.conan\data\qtnetworkauth\6.0.1\qt\snapshot\build\d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18
       
      ERROR: qtnetworkauth/6.0.1@qt/snapshot: Error in build() method, line 118
       
      self.run('cmake --build . %s' % cmake.build_config)
       
      ConanException: Error 1 while executing cmake --build . --config Release
        
      "C:\Users\qt\.conan\data\qtnetworkauth\6.0.1\qt\snapshot\build\d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18\ALL_BUILD.vcxproj" (default target) (1) ->
        
      "C:\Users\qt\.conan\data\qtnetworkauth\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\qtnetworkauth\6.0.1\qt\snapshot\build\d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18\ZERO_CHECK.vcxproj]
        
      0 Warning(s)
      1 Error(s)
      1 Error(s)

      CMAKE_PREFIX_PATH for 'qtnetworkauth/6.0.1' build is: C:\Users\qt\RTA\qt5\6.0.1/msvc2019_64
      CMAKE_PREFIX_PATH for 'qtnetworkauth/6.0.1' build is: C:\Users\qt\RTA\qt5\6.0.1/msvc2019_64

      qtnetworkauth/6.0.1@qt/snapshot:

      qtnetworkauth/6.0.1@qt/snapshot: ERROR: Package 'd11c65c2b3c01ca5095b6d3429486d7bbf3d3c18' build failed
       
      Build failed (Screenshot taken from the desktop is invalid)
      qtnetworkauth/6.0.1@qt/snapshot: ERROR: Package 'd11c65c2b3c01ca5095b6d3429486d7bbf3d3c18' build failed
       LOG17:04:53
      qtnetworkauth/6.0.1@qt/snapshot: WARN: Build folder C:\Users\qt\.conan\data\qtnetworkauth\6.0.1\qt\snapshot\build\d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18
        
      ERROR: qtnetworkauth/6.0.1@qt/snapshot: Error in build() method, line 118
       
      ERROR: qtnetworkauth/6.0.1@qt/snapshot: Error in build() method, line 118
      self.run('cmake --build . %s' % cmake.build_config)
        
      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
       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: