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

Unable to build Qt3D Add-On with Conan, Qt6.0.1,msvc2019

    XMLWordPrintable

    Details

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

      Description

      Description
      Install Qt6.0.1, Cmake, Ninja and Conan with online installer.
       
      Run build command:
      conan install qt3d/6.0.1@qt/snapshot --build=missing --profile=/Users/qt/RTA/qt5/Tools/Conan/profiles/qt-6.0.1-macx-clang -s build_type=Release -g cmake_paths -g cmake -g deploy

      Build fails:
      CMake Generate step failed. Build files cannot be regenerated correctly.
      CMake Generate step failed. Build files cannot be regenerated correctly.
      CMAKE_PREFIX_PATH for 'qt3d/6.0.1' build is: C:\Users\qt\RTA\qt5\6.0.1/msvc2019_64
      CMAKE_PREFIX_PATH for 'qt3d/6.0.1' build is: C:\Users\qt\RTA\qt5\6.0.1/msvc2019_64
      qt3d/6.0.1@qt/snapshot:
      qt3d/6.0.1@qt/snapshot: ERROR: Package 'd11c65c2b3c01ca5095b6d3429486d7bbf3d3c18' build failed
      qt3d/6.0.1@qt/snapshot: ERROR: Package 'd11c65c2b3c01ca5095b6d3429486d7bbf3d3c18' build failed
       LOG17:04:35
      qt3d/6.0.1@qt/snapshot: WARN: Build folder C:\Users\qt\.conan\data\qt3d\6.0.1\qt\snapshot\build\d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18
      ERROR: qt3d/6.0.1@qt/snapshot: Error in build() method, line 120
      Build failed (Screenshot taken from the desktop is invalid)
      ERROR: qt3d/6.0.1@qt/snapshot: Error in build() method, line 120
      self.run('%s "%s" %s' % (self._get_qtcmake(), self.source_folder, cmake.command_line))
      ConanException: Error 1 while executing C:\Users\qt\RTA\qt5\6.0.1\msvc2019_64\bin\qt-cmake.bat "C:\Users\qt\.conan\data\qt3d\6.0.1\qt\snapshot\build\d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18" -G "Visual Studio 16 2019" -A "x64" -DCONAN_LINK_RUNTIME="/MD" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="16" -DCONAN_CXX_FLAGS="/MP4" -DCONAN_C_FLAGS="/MP4" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="C:\Users\qt\.conan\data\qt3d\6.0.1\qt\snapshot\build\d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18_install_tmp" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DCMAKE_VERBOSE_MAKEFILE="ON" -Wno-dev
       
      ConanException: Error 1 while executing C:\Users\qt\RTA\qt5\6.0.1\msvc2019_64\bin\qt-cmake.bat "C:\Users\qt\.conan\data\qt3d\6.0.1\qt\snapshot\build\d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18" -G "Visual Studio 16 2019" -A "x64" -DCONAN_LINK_RUNTIME="/MD" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="16" -DCONAN_CXX_FLAGS="/MP4" -DCONAN_C_FLAGS="/MP4" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="C:\Users\qt\.conan\data\qt3d\6.0.1\qt\snapshot\build\d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18_install_tmp" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DCMAKE_VERBOSE_MAKEFILE="ON" -Wno-dev

        Attachments

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

          Activity

            People

            Assignee:
            janihe Jani Heikkinen
            Reporter:
            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