Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. 3D Install Qt6
Forum Updated to NodeBB v4.3 + New Features

3D Install Qt6

Scheduled Pinned Locked Moved Solved Qt 6
79 Posts 2 Posters 31.2k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • SGaistS SGaist

    Wait... why are you using a Windows style path while building on Linux ?

    O Offline
    O Offline
    ofmrew
    wrote on last edited by
    #17

    @SGaist Switching between Linux and Win 10 has its hazards. Made the change and got deep into it all the way to:
    CMake Generate step failed. Build files cannot be regenerated correctly.
    qt3d/6.0.1@qt/final:
    qt3d/6.0.1@qt/final: ERROR: Package '9105b5b4ab5d474532cfc28699da368141e8a4cf' build failed
    qt3d/6.0.1@qt/final: WARN: Build folder /home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf
    ERROR: qt3d/6.0.1@qt/final: 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 /home/bob/Qt/6.0.1/gcc_64/bin/qt-cmake "/home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf" -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="7.5" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf/_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
    using:
    export PATH=/home/bob/Qt/Tools/bin:/home/bob/Qt/Tools/Conan:/home/bob/Qt/Tools/Ninja:$PATH
    cd /home/bob/Qt/Conan3D
    conan install qt3d/6.0.1@qt/final --build=missing --profile=/home/bob/Qt/Tools/Conan/profiles/'''qt-6.0.1-gcc-x86_64''' -s build_type=Release -g cmake_paths -g=cmake -g deploy

    What did I screw up this time?

    O 1 Reply Last reply
    0
    • O ofmrew

      @SGaist Switching between Linux and Win 10 has its hazards. Made the change and got deep into it all the way to:
      CMake Generate step failed. Build files cannot be regenerated correctly.
      qt3d/6.0.1@qt/final:
      qt3d/6.0.1@qt/final: ERROR: Package '9105b5b4ab5d474532cfc28699da368141e8a4cf' build failed
      qt3d/6.0.1@qt/final: WARN: Build folder /home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf
      ERROR: qt3d/6.0.1@qt/final: 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 /home/bob/Qt/6.0.1/gcc_64/bin/qt-cmake "/home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf" -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="7.5" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf/_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
      using:
      export PATH=/home/bob/Qt/Tools/bin:/home/bob/Qt/Tools/Conan:/home/bob/Qt/Tools/Ninja:$PATH
      cd /home/bob/Qt/Conan3D
      conan install qt3d/6.0.1@qt/final --build=missing --profile=/home/bob/Qt/Tools/Conan/profiles/'''qt-6.0.1-gcc-x86_64''' -s build_type=Release -g cmake_paths -g=cmake -g deploy

      What did I screw up this time?

      O Offline
      O Offline
      ofmrew
      wrote on last edited by
      #18

      @ofmrew I got a number of CMake Errors before the line: CMake Generate step failed. Build files cannot be regenerated correctly. I did not include them because there is a limit on the size of a post, been down that road already today. An example is:

      CMake Error at /home/bob/Qt/6.0.1/gcc_64/lib/cmake/Qt6/QtModuleHelpers.cmake:48 (add_library):
      Target "3DExtras" links to target "XKB::XKB" but the target was not found.
      Perhaps a find_package() call is missing for an IMPORTED target, or an
      ALIAS target is missing?
      Call Stack (most recent call first):
      src/extras/CMakeLists.txt:7 (qt_internal_add_module)

      Any suggestions?

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #19

        Missing libxkbcommon related development package ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        O 1 Reply Last reply
        1
        • SGaistS SGaist

          Missing libxkbcommon related development package ?

          O Offline
          O Offline
          ofmrew
          wrote on last edited by
          #20

          @SGaist said in 3D Install Qt6:

          libxkbcommon

          What is that and were do I find it?

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #21

            It's one dependency of the xcb plugin and your distribution package manager should provide it.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            O 1 Reply Last reply
            1
            • SGaistS SGaist

              It's one dependency of the xcb plugin and your distribution package manager should provide it.

              O Offline
              O Offline
              ofmrew
              wrote on last edited by
              #22

              @SGaist It is not included in the Mint Software Manager.

              O 1 Reply Last reply
              0
              • O ofmrew

                @SGaist It is not included in the Mint Software Manager.

                O Offline
                O Offline
                ofmrew
                wrote on last edited by
                #23

                @ofmrew Installed it. Now I get:

                -export PATH=/home/bob/Qt/Tools/bin:/home/bob/Qt/Tools/Conan:/home/bob/Qt/Tools/Ninja:$PATH
                bob@bob-linux:/$ cd /home/bob/Qt/Conan3D
                bob@bob-linux:~/Qt/Conan3D$ conan install qt3d/6.0.1@qt/final --build=missing --profile=/home/bob/Qt/Tools/Conan/profiles/'''qt-6.0.1-gcc-x86_64''' -s build_type=Release -g cmake_paths -g=cmake -g deploy
                Configuration:
                [settings]
                arch=x86_64
                build_type=Release
                compiler=gcc
                compiler.libcxx=libstdc++11
                compiler.version=7.5
                os=Linux
                [options]
                qt6=6.0.1
                [build_requires]
                [env]
                QT_PATH=/home/bob/Qt/6.0.1/gcc_64
                qt3d/6.0.1@qt/final: WARN: Package binary is corrupted, removing: 9105b5b4ab5d474532cfc28699da368141e8a4cf
                Installing package: qt3d/6.0.1@qt/final
                Requirements
                qt3d/6.0.1@qt/final from local cache - Cache
                Packages
                qt3d/6.0.1@qt/final:9105b5b4ab5d474532cfc28699da368141e8a4cf - Build

                Installing (downloading, building) binaries...
                qt3d/6.0.1@qt/final: WARN: Build folder is dirty, removing it: /home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf
                qt3d/6.0.1@qt/final: Copying sources to build folder
                qt3d/6.0.1@qt/final: Building your package in /home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf
                qt3d/6.0.1@qt/final: Generator txt created conanbuildinfo.txt
                qt3d/6.0.1@qt/final: Calling build()
                CMAKE_PREFIX_PATH for 'qt3d/6.0.1' build is: /home/bob/Qt/6.0.1/gcc_64
                CMAKE_PREFIX_PATH for 'qt3d/6.0.1' build is: /home/bob/Qt/6.0.1/gcc_64
                -- The CXX compiler identification is GNU 9.3.0
                -- The C compiler identification is GNU 9.3.0
                -- Check for working CXX compiler: /usr/bin/g++
                -- Check for working CXX compiler: /usr/bin/g++ -- works
                -- Detecting CXX compiler ABI info
                -- Detecting CXX compiler ABI info - done
                -- Detecting CXX compile features
                -- Detecting CXX compile features - done
                -- Check for working C compiler: /usr/bin/gcc
                -- Check for working C compiler: /usr/bin/gcc -- works
                -- Detecting C compiler ABI info
                -- Detecting C compiler ABI info - done
                -- Detecting C compile features
                -- Detecting C compile features - done
                -- Looking for pthread.h
                -- Looking for pthread.h - found
                -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
                -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
                -- Check if compiler accepts -pthread
                -- Check if compiler accepts -pthread - yes
                -- Found Threads: TRUE
                -- Performing Test HAVE_STDATOMIC
                -- Performing Test HAVE_STDATOMIC - Success
                -- Found WrapAtomic: TRUE
                -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
                -- Found WrapOpenGL: TRUE
                -- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR)
                -- Found XKB: /usr/lib/x86_64-linux-gnu/libxkbcommon.so (found suitable version "0.10.0", minimum required is "0.5.0")
                -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
                -- Could NOT find WrapOpenSSLHeaders (missing: WrapOpenSSLHeaders_FOUND)
                -- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR)
                -- Could NOT find Qt6Gamepad (missing: Qt6Gamepad_DIR)
                -- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR)
                -- Could NOT find Qt6ShaderTools (missing: Qt6ShaderTools_DIR)
                -- Check for feature set changes
                -- Using installed syncqt found at: /home/bob/Qt/6.0.1/gcc_64/libexec/syncqt.pl
                -- Running syncqt for module: 'Qt3DCore'
                -- Performing Test HAVE_DASH_UNDEFINED_SYMBOLS
                -- Performing Test HAVE_DASH_UNDEFINED_SYMBOLS - Success
                -- Performing Test HAVE_DASH_DASH_NO_UNDEFINED
                -- Performing Test HAVE_DASH_DASH_NO_UNDEFINED - Success
                -- Running syncqt for module: 'Qt3DLogic'
                -- Running syncqt for module: 'Qt3DInput'
                -- Running syncqt for module: 'Qt3DRender'
                -- Running syncqt for module: 'Qt3DExtras'
                -- Running syncqt for module: 'Qt3DAnimation'
                -- Running syncqt for module: 'Qt3DQuick'
                -- Running syncqt for module: 'Qt3DQuickRender'
                -- Running syncqt for module: 'Qt3DQuickScene2D'
                -- Running syncqt for module: 'Qt3DQuickExtras'
                -- Running syncqt for module: 'Qt3DQuickInput'
                -- Running syncqt for module: 'Qt3DQuickAnimation'
                -- Could NOT find WrapAssimp (missing: WrapAssimp_FOUND) (Required is at least version "5")
                -- Performing Test Assimp
                -- Performing Test Assimp - Failed
                -- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
                -- Performing Test Autodesk FBX
                -- Performing Test Autodesk FBX - Failed
                -- The following packages have been found:

                • Qt6BuildInternals
                • Qt6CoreTools (required version >= 6.0.1)
                • Qt6Core
                • Qt6Concurrent
                • Qt6WidgetsTools (required version >= 6.0.1)
                • OpenGL
                • XKB (required version >= 0.5.0), XKB API common to servers and clients., http://xkbcommon.org
                • Qt6GuiTools (required version >= 6.0.1)
                • Qt6Widgets
                • Qt6QmlTools (required version >= 6.0.1)
                • Qt6Qml
                • Qt6Quick
                • Qt6OpenGL
                • Qt6 (required version >= 6.0.1)

                -- The following OPTIONAL packages have not been found:

                • OpenSSL
                • WrapOpenSSLHeaders
                • Qt6Gamepad
                • Vulkan
                • Qt6ShaderTools
                • WrapAssimp (required version >= 5)
                • ZLIB

                Configure summary:

                Qt3D Core:
                Use SSE2 instructions .................. yes
                Use AVX2 instructions .................. no
                Animation aspect ....................... yes
                Extras aspect .......................... yes
                Input aspect ........................... yes
                Logic aspect ........................... yes
                Render aspect .......................... yes
                Qt3D Scene Parsers:
                Assimp ................................. yes
                System Assimp .......................... no
                Qt3D Geometry Loaders:
                Autodesk FBX ........................... no
                Qt3D Renderers:
                OpenGL Renderer ........................ yes
                RHI Renderer ........................... yes

                -- Configuring done
                CMake Error at /home/bob/Qt/6.0.1/gcc_64/lib/cmake/Qt6/QtPluginHelpers.cmake:50 (add_library):
                Target "AssimpSceneImportPlugin" links to target "ZLIB::ZLIB" but the
                target was not found. Perhaps a find_package() call is missing for an
                IMPORTED target, or an ALIAS target is missing?
                Call Stack (most recent call first):
                src/plugins/sceneparsers/assimp/CMakeLists.txt:7 (qt_internal_add_plugin)

                CMake Error at /home/bob/Qt/6.0.1/gcc_64/lib/cmake/Qt6/QtPluginHelpers.cmake:50 (add_library):
                Target "AssimpSceneImportPlugin" links to target "ZLIB::ZLIB" but the
                target was not found. Perhaps a find_package() call is missing for an
                IMPORTED target, or an ALIAS target is missing?
                Call Stack (most recent call first):
                src/plugins/sceneparsers/assimp/CMakeLists.txt:7 (qt_internal_add_plugin)

                -- Generating done
                CMake Warning:
                Manually-specified variables were not used by the project:

                CMAKE_EXPORT_NO_PACKAGE_REGISTRY
                CMAKE_INSTALL_BINDIR
                CMAKE_INSTALL_DATAROOTDIR
                CMAKE_INSTALL_INCLUDEDIR
                CMAKE_INSTALL_LIBDIR
                CMAKE_INSTALL_LIBEXECDIR
                CMAKE_INSTALL_OLDINCLUDEDIR
                CMAKE_INSTALL_SBINDIR
                CONAN_COMPILER
                CONAN_COMPILER_VERSION
                CONAN_CXX_FLAGS
                CONAN_C_FLAGS
                CONAN_EXPORTED
                CONAN_IN_LOCAL_CACHE
                CONAN_LIBCXX
                CONAN_SHARED_LINKER_FLAGS
                

                CMake Generate step failed. Build files cannot be regenerated correctly.
                qt3d/6.0.1@qt/final:
                qt3d/6.0.1@qt/final: ERROR: Package '9105b5b4ab5d474532cfc28699da368141e8a4cf' build failed
                qt3d/6.0.1@qt/final: WARN: Build folder /home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf
                ERROR: qt3d/6.0.1@qt/final: 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 /home/bob/Qt/6.0.1/gcc_64/bin/qt-cmake "/home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf" -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="7.5" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf/_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

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #24

                  Well, Mint seems to have it.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  O 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Well, Mint seems to have it.

                    O Offline
                    O Offline
                    ofmrew
                    wrote on last edited by
                    #25

                    @SGaist Not really I had to find it on the Web.

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #26

                      You are missing the zlib development package.

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • O Offline
                        O Offline
                        ofmrew
                        wrote on last edited by
                        #27

                        Looks like ZLIB is missing, what is that?

                        CMake Error at /home/bob/Qt/6.0.1/gcc_64/lib/cmake/Qt6/QtPluginHelpers.cmake:50 (add_library):
                        Target "AssimpSceneImportPlugin" links to target "ZLIB::ZLIB" but the
                        target was not found. Perhaps a find_package() call is missing for an
                        IMPORTED target, or an ALIAS target is missing?
                        Call Stack (most recent call first):
                        src/plugins/sceneparsers/assimp/CMakeLists.txt:7 (qt_internal_add_plugin)

                        CMake Error at /home/bob/Qt/6.0.1/gcc_64/lib/cmake/Qt6/QtPluginHelpers.cmake:50 (add_library):
                        Target "AssimpSceneImportPlugin" links to target "ZLIB::ZLIB" but the
                        target was not found. Perhaps a find_package() call is missing for an
                        IMPORTED target, or an ALIAS target is missing?
                        Call Stack (most recent call first):
                        src/plugins/sceneparsers/assimp/CMakeLists.txt:7 (qt_internal_add_plugin)

                        O 1 Reply Last reply
                        0
                        • O ofmrew

                          Looks like ZLIB is missing, what is that?

                          CMake Error at /home/bob/Qt/6.0.1/gcc_64/lib/cmake/Qt6/QtPluginHelpers.cmake:50 (add_library):
                          Target "AssimpSceneImportPlugin" links to target "ZLIB::ZLIB" but the
                          target was not found. Perhaps a find_package() call is missing for an
                          IMPORTED target, or an ALIAS target is missing?
                          Call Stack (most recent call first):
                          src/plugins/sceneparsers/assimp/CMakeLists.txt:7 (qt_internal_add_plugin)

                          CMake Error at /home/bob/Qt/6.0.1/gcc_64/lib/cmake/Qt6/QtPluginHelpers.cmake:50 (add_library):
                          Target "AssimpSceneImportPlugin" links to target "ZLIB::ZLIB" but the
                          target was not found. Perhaps a find_package() call is missing for an
                          IMPORTED target, or an ALIAS target is missing?
                          Call Stack (most recent call first):
                          src/plugins/sceneparsers/assimp/CMakeLists.txt:7 (qt_internal_add_plugin)

                          O Offline
                          O Offline
                          ofmrew
                          wrote on last edited by
                          #28

                          @ofmrew I should have waited, I found zlib1g-dev, is that what I need to install?

                          O 1 Reply Last reply
                          0
                          • O ofmrew

                            @ofmrew I should have waited, I found zlib1g-dev, is that what I need to install?

                            O Offline
                            O Offline
                            ofmrew
                            wrote on last edited by
                            #29

                            @ofmrew Again, I also found zlib 1.2.11, but no way to install.

                            O 1 Reply Last reply
                            0
                            • O ofmrew

                              @ofmrew Again, I also found zlib 1.2.11, but no way to install.

                              O Offline
                              O Offline
                              ofmrew
                              wrote on last edited by
                              #30

                              @ofmrew I installed zlib1g-dev and it might be working!

                              O 1 Reply Last reply
                              0
                              • O ofmrew

                                @ofmrew I installed zlib1g-dev and it might be working!

                                O Offline
                                O Offline
                                ofmrew
                                wrote on last edited by
                                #31

                                @ofmrew I spoke too soon.
                                home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf/src/render/surfaces/vulkaninstance.cpp: In lambda function:
                                /home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf/src/render/surfaces/vulkaninstance.cpp:54:34: error: invalid use of incomplete type ‘class QVulkanInstance’
                                54 | QVulkanInstance* v = new QVulkanInstance;
                                | ^~~~~~~~~~~~~~~
                                In file included from /home/bob/Qt/6.0.1/gcc_64/include/QtGui/qbackingstore.h:46,
                                from /home/bob/Qt/6.0.1/gcc_64/include/QtGui/QtGui:17,
                                from /home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf/include/Qt3DCore/Qt3DCoreDepends:4,
                                from /home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf/include/Qt3DCore/Qt3DCore:3,
                                from /home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf/src/render/CMakeFiles/3DRender.dir/cmake_pch.hxx:5,
                                from <command-line>:
                                /home/bob/Qt/6.0.1/gcc_64/include/QtGui/qwindow.h:94:7: note: forward declaration of ‘class QVulkanInstance’
                                94 | class QVulkanInstance;
                                | ^~~~~~~~~~~~~~~
                                /home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf/src/render/surfaces/vulkaninstance.cpp:61:14: error: invalid use of incomplete type ‘class QVulkanInstance’
                                61 | v->setLayers({ "VK_LAYER_KHRONOS_validation" });
                                | ^~
                                In file included from /home/bob/Qt/6.0.1/gcc_64/include/QtGui/qbackingstore.h:46,
                                from /home/bob/Qt/6.0.1/gcc_64/include/QtGui/QtGui:17,
                                from /home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf/include/Qt3DCore/Qt3DCoreDepends:4,
                                from /home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf/include/Qt3DCore/Qt3DCore:3,
                                from /home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf/src/render/CMakeFiles/3DRender.dir/cmake_pch.hxx:5,
                                from <command-line>:
                                /home/bob/Qt/6.0.1/gcc_64/include/QtGui/qwindow.h:94:7: note: forward declaration of ‘class QVulkanInstance’
                                94 | class QVulkanInstance;
                                | ^~~~~~~~~~~~~~~
                                /home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf/src/render/surfaces/vulkaninstance.cpp:63:15: error: invalid use of incomplete type ‘class QVulkanInstance’
                                63 | if (!v->create())
                                | ^~
                                In file included from /home/bob/Qt/6.0.1/gcc_64/include/QtGui/qbackingstore.h:46,
                                from /home/bob/Qt/6.0.1/gcc_64/include/QtGui/QtGui:17,
                                from /home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf/include/Qt3DCore/Qt3DCoreDepends:4,
                                from /home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf/include/Qt3DCore/Qt3DCore:3,
                                from /home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf/src/render/CMakeFiles/3DRender.dir/cmake_pch.hxx:5,
                                from <command-line>:
                                /home/bob/Qt/6.0.1/gcc_64/include/QtGui/qwindow.h:94:7: note: forward declaration of ‘class QVulkanInstance’
                                94 | class QVulkanInstance;
                                | ^~~~~~~~~~~~~~~
                                make[2]: *** [src/render/CMakeFiles/3DRender.dir/build.make:3815: src/render/CMakeFiles/3DRender.dir/surfaces/vulkaninstance.cpp.o] Error 1
                                make[2]: Leaving directory '/home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf'
                                make[1]: *** [CMakeFiles/Makefile2:2164: src/render/CMakeFiles/3DRender.dir/all] Error 2
                                make[1]: Leaving directory '/home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf'
                                make: *** [Makefile:144: all] Error 2
                                qt3d/6.0.1@qt/final:
                                qt3d/6.0.1@qt/final: ERROR: Package '9105b5b4ab5d474532cfc28699da368141e8a4cf' build failed
                                qt3d/6.0.1@qt/final: WARN: Build folder /home/bob/.conan/data/qt3d/6.0.1/qt/final/build/9105b5b4ab5d474532cfc28699da368141e8a4cf
                                ERROR: qt3d/6.0.1@qt/final: Error in build() method, line 121
                                self.run('cmake --build . %s' % cmake.build_config)
                                ConanException: Error 2 while executing cmake --build

                                1 Reply Last reply
                                0
                                • SGaistS Offline
                                  SGaistS Offline
                                  SGaist
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #32

                                  Looks like Vulkan is not as optional as stated in your logs above.

                                  From memory, you need that SDK.

                                  Interested in AI ? www.idiap.ch
                                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                  O 1 Reply Last reply
                                  0
                                  • SGaistS SGaist

                                    Looks like Vulkan is not as optional as stated in your logs above.

                                    From memory, you need that SDK.

                                    O Offline
                                    O Offline
                                    ofmrew
                                    wrote on last edited by
                                    #33

                                    @SGaist Thanks for all your help so far, but exactly what do I need because I have looked and I have yet to find an installer for the Vulkan SDK and QVulkanInstance. I am at a loss. You should know because Qt is part of the Khronos group. Please help, we are so close to having 3D installed.

                                    One other question: can I have both -g=cmake and -g qmake and it I have the latter do I need a -g qmake_paths?

                                    1 Reply Last reply
                                    0
                                    • SGaistS Offline
                                      SGaistS Offline
                                      SGaist
                                      Lifetime Qt Champion
                                      wrote on last edited by
                                      #34

                                      The page I linked provides a link to the SDK download page.

                                      @ofmrew said in 3D Install Qt6:

                                      You should know because Qt is part of the Khronos group..

                                      I think there's a mistake here. I do not work for the Qt Company.

                                      Interested in AI ? www.idiap.ch
                                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                      O 1 Reply Last reply
                                      0
                                      • SGaistS SGaist

                                        The page I linked provides a link to the SDK download page.

                                        @ofmrew said in 3D Install Qt6:

                                        You should know because Qt is part of the Khronos group..

                                        I think there's a mistake here. I do not work for the Qt Company.

                                        O Offline
                                        O Offline
                                        ofmrew
                                        wrote on last edited by
                                        #35

                                        @SGaist Sorry about that, bad assumption on my part. It makes the help even more outstanding. Can you answer the question: can I have both -g=cmake and -g qmake and it I have the latter do I need a -g qmake_paths?

                                        Also, do you know of a good reference on installing Valkan, I downloaded the sdk from the URL you provided, but I am stuck on how to proceed. Thanks.

                                        1 Reply Last reply
                                        0
                                        • SGaistS Offline
                                          SGaistS Offline
                                          SGaist
                                          Lifetime Qt Champion
                                          wrote on last edited by
                                          #36

                                          @ofmrew said in 3D Install Qt6:

                                          Can you answer the question: can I have both -g=cmake and -g qmake and it I have the latter do I need a -g qmake_paths?

                                          Sorry, that one I currently do not know.

                                          @ofmrew said in 3D Install Qt6:

                                          Also, do you know of a good reference on installing Valkan, I downloaded the sdk from the URL you provided, but I am stuck on how to proceed. Thanks.

                                          Which distribution are you using ? For Ubuntu based there are easy to follow instructions.

                                          Interested in AI ? www.idiap.ch
                                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                          O 1 Reply Last reply
                                          0

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved