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.5k 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.
  • O ofmrew

    @ofmrew It looks like the Vilkan SDK is bad, vkvia will not work; however, both vkcube and vulkaninfo work. Looks like it is my problem!

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

    @ofmrew I think I found the problem:
    Vulkan Configurator
    Vulkan Development Status:

    • Layers override: "Validation" configuration
    • $VULKAN_SDK environment variable not set
    • Could not find a Vulkan Loader.
      However, this is where my lack of Linux skills is killing me: I am not sure how to permanently set the environment variables. I have easily set then in Windows 10, but my use of vi was last in 1990 and even then my skills were only marginal. I would appreciate some help.
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #69

      You can edit the .profile file in your home directory.

      Some more information here.

      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

        You can edit the .profile file in your home directory.

        Some more information here.

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

        @SGaist Thanks very much, that is more readable than the information that I found on the internet.

        O 1 Reply Last reply
        0
        • O ofmrew

          @SGaist Thanks very much, that is more readable than the information that I found on the internet.

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

          @ofmrew New problem:
          qt3d/6.0.1@qt/final is locked by another concurrent conan process, wait...
          If not the case, quit, and do 'conan remove --locks'

          quit
          conan remove --locks

          What is this and how do I get past it?

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

            I wonder if related to this Conan bug ?

            Maybe clearing the cache might help.

            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
              #73

              Back to win 10 3D install. For anyone that might wonder how to execute conan on win 10: click the start button, then type cmd and you should see an option like Qt 6.02 (MinGW 8.1.0 64-bit) select it and you will have the correct Command Prompt.

              I got past finding Vulkan, but then:
              -- Found Vulkan: C:/VulkanSDK/1.2.170.0/Lib/vulkan-1.lib
              -- 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 Qt6Gamepad (missing: Qt6Gamepad_DIR)
              -- Could NOT find Qt6ShaderTools (missing: Qt6ShaderTools_DIR)
              -- Check for feature set changes
              CMake Error at C:/Qt/6.0.2/mingw81_64/lib/cmake/Qt6/QtSyncQtHelpers.cmake:7 (message):
              Perl needs to be available to build Qt.
              Call Stack (most recent call first):
              C:/Qt/6.0.2/mingw81_64/lib/cmake/Qt6/QtSyncQtHelpers.cmake:12 (qt_ensure_perl)
              C:/Qt/6.0.2/mingw81_64/lib/cmake/Qt6/QtModuleHelpers.cmake:194 (qt_ensure_sync_qt)
              src/core/CMakeLists.txt:7 (qt_internal_add_module)

              -- Configuring incomplete, errors occurred!
              See also "C:/Users/rwill/.conan/data/qt3d/6.0.1/qt/final/build/0f29c7292f66ab3b189fa2809bdfcf230d253f0f/CMakeFiles/CMakeOutput.log".
              qt3d/6.0.1@qt/final:
              qt3d/6.0.1@qt/final: ERROR: Package '0f29c7292f66ab3b189fa2809bdfcf230d253f0f' build failed
              qt3d/6.0.1@qt/final: WARN: Build folder C:\Users\rwill.conan\data\qt3d\6.0.1\qt\final\build\0f29c7292f66ab3b189fa2809bdfcf230d253f0f
              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 C:\Qt\6.0.2\mingw81_64\bin\qt-cmake.bat "C:\Users\rwill.conan\data\qt3d\6.0.1\qt\final\build\0f29c7292f66ab3b189fa2809bdfcf230d253f0f" -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="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="C:\Users\rwill.conan\data\qt3d\6.0.1\qt\final\build\0f29c7292f66ab3b189fa2809bdfcf230d253f0f_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

              Look like I am missing OpenSSL and Perl. Do I need to install those or should they have been installed? Making some progress!

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

                Neither is installed as Perl is needed when building from git and OpenSSL has export restrictions is some countries so the software creator shall handle it. You can grab OpenSSL through Qt's maintenance tool.

                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

                  Neither is installed as Perl is needed when building from git and OpenSSL has export restrictions is some countries so the software creator shall handle it. You can grab OpenSSL through Qt's maintenance tool.

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

                  @SGaist Thanks again. From now on if something is not found the first place I will look is the Maintenance Tool. WRT the Linux Conan install of 3D, I am heading into the unknown. The .bashrc file is read only so I will use su to become superuser and xed to edit the file to add the Vulkan environment variables, the we will see how the install goes. Problem:
                  bob@bob-linux:~$ su
                  Password:
                  su: Authentication failure
                  So now it is on to learning about sudo.

                  O 1 Reply Last reply
                  0
                  • O ofmrew

                    @SGaist Thanks again. From now on if something is not found the first place I will look is the Maintenance Tool. WRT the Linux Conan install of 3D, I am heading into the unknown. The .bashrc file is read only so I will use su to become superuser and xed to edit the file to add the Vulkan environment variables, the we will see how the install goes. Problem:
                    bob@bob-linux:~$ su
                    Password:
                    su: Authentication failure
                    So now it is on to learning about sudo.

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

                    @ofmrew That worked, but I think I make a mistake: I included -g cmake_paths -g=cmake -g qmake_paths -g=qmake, hoping to get both CMake and QMake files; however, it looks like qmake_paths is not a valid option. When I look at the build directory, Conan3D, it show the following files: conan_paths.cmake, conanbuildinfo.cmake, conanbuildinfo.pri, conanbuildinfo.txt and deploy_manifest.txt and the directory qr3d.

                    The final error was:
                    qt3d/6.0.2@qt/final: Created package revision 90168ed2bee78e6cfe3c11647c572f1f
                    Generator qmake created conanbuildinfo.pri
                    Generator deploy created deploy_manifest.txt
                    Generator txt created conanbuildinfo.txt
                    Generator cmake_paths created conan_paths.cmake
                    Generator cmake created conanbuildinfo.cmake
                    ERROR: Invalid generator 'qmake_paths'. Available types: txt, gcc, compiler_args, cmake, cmake_multi, cmake_paths, cmake_find_package, cmake_find_package_multi, qmake, qbs, scons, visual_studio, visual_studio_multi, visual_studio_legacy, xcode, ycm, virtualenv, virtualenv_python, virtualbuildenv, virtualrunenv, boost-build, pkg_config, json, b2, premake, make, deploy, markdown, CMakeToolchain, MakeToolchain, MSBuildToolchain, MesonToolchain, MSBuildDeps, QbsToolchain, msbuild.

                    My question is: Is was is there usable or mus I start over? We now know the qmake_paths is not valid but qmake is valid.

                    Any advise?

                    O SGaistS 2 Replies Last reply
                    0
                    • O ofmrew

                      @ofmrew That worked, but I think I make a mistake: I included -g cmake_paths -g=cmake -g qmake_paths -g=qmake, hoping to get both CMake and QMake files; however, it looks like qmake_paths is not a valid option. When I look at the build directory, Conan3D, it show the following files: conan_paths.cmake, conanbuildinfo.cmake, conanbuildinfo.pri, conanbuildinfo.txt and deploy_manifest.txt and the directory qr3d.

                      The final error was:
                      qt3d/6.0.2@qt/final: Created package revision 90168ed2bee78e6cfe3c11647c572f1f
                      Generator qmake created conanbuildinfo.pri
                      Generator deploy created deploy_manifest.txt
                      Generator txt created conanbuildinfo.txt
                      Generator cmake_paths created conan_paths.cmake
                      Generator cmake created conanbuildinfo.cmake
                      ERROR: Invalid generator 'qmake_paths'. Available types: txt, gcc, compiler_args, cmake, cmake_multi, cmake_paths, cmake_find_package, cmake_find_package_multi, qmake, qbs, scons, visual_studio, visual_studio_multi, visual_studio_legacy, xcode, ycm, virtualenv, virtualenv_python, virtualbuildenv, virtualrunenv, boost-build, pkg_config, json, b2, premake, make, deploy, markdown, CMakeToolchain, MakeToolchain, MSBuildToolchain, MesonToolchain, MSBuildDeps, QbsToolchain, msbuild.

                      My question is: Is was is there usable or mus I start over? We now know the qmake_paths is not valid but qmake is valid.

                      Any advise?

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

                      @ofmrew Linux is giving me problem. First, conan install qt3d/6.0.2@qt/final cannot be found and when I try conan install qt3d/6.0.1@qt/final I get conan locked. I clean the cache but it does not work. This bug has been around since June of 2020.
                      Is there a work around? Would Qt 6.0.3 help?

                      1 Reply Last reply
                      0
                      • O ofmrew

                        @ofmrew That worked, but I think I make a mistake: I included -g cmake_paths -g=cmake -g qmake_paths -g=qmake, hoping to get both CMake and QMake files; however, it looks like qmake_paths is not a valid option. When I look at the build directory, Conan3D, it show the following files: conan_paths.cmake, conanbuildinfo.cmake, conanbuildinfo.pri, conanbuildinfo.txt and deploy_manifest.txt and the directory qr3d.

                        The final error was:
                        qt3d/6.0.2@qt/final: Created package revision 90168ed2bee78e6cfe3c11647c572f1f
                        Generator qmake created conanbuildinfo.pri
                        Generator deploy created deploy_manifest.txt
                        Generator txt created conanbuildinfo.txt
                        Generator cmake_paths created conan_paths.cmake
                        Generator cmake created conanbuildinfo.cmake
                        ERROR: Invalid generator 'qmake_paths'. Available types: txt, gcc, compiler_args, cmake, cmake_multi, cmake_paths, cmake_find_package, cmake_find_package_multi, qmake, qbs, scons, visual_studio, visual_studio_multi, visual_studio_legacy, xcode, ycm, virtualenv, virtualenv_python, virtualbuildenv, virtualrunenv, boost-build, pkg_config, json, b2, premake, make, deploy, markdown, CMakeToolchain, MakeToolchain, MSBuildToolchain, MesonToolchain, MSBuildDeps, QbsToolchain, msbuild.

                        My question is: Is was is there usable or mus I start over? We now know the qmake_paths is not valid but qmake is valid.

                        Any advise?

                        SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #78

                        @ofmrew said in 3D Install Qt6:

                        My question is: Is was is there usable or mus I start over? We now know the qmake_paths is not valid but qmake is valid.

                        Does dropping qmake_paths work ?

                        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

                          @ofmrew said in 3D Install Qt6:

                          My question is: Is was is there usable or mus I start over? We now know the qmake_paths is not valid but qmake is valid.

                          Does dropping qmake_paths work ?

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

                          @SGaist Please excuse my horrible grammar and form of the post. I am sure that dropping qmake_paths will work; however, it took a very long time to process until the final error, but my question was about the qt3d product that was formed: It looks complete and good. Stop! The Linux qt3d install finally worked! Here is what I used:
                          export PATH=/home/bob/Qt/Tools/bin:/home/bob/Qt/Tools/Conan:/home/bob/Qt/Tools/Ninja:$PATH
                          cd /home/bob/Qt/Conan3D
                          source /home/bob/vulkan/1.2.170.0/setup-env.sh
                          conan install qt3d/6.0.1@qt/final --build=missing --profile=/home/bob/Qt/Tools/Conan/profiles/'''qt-6.0.2-gcc-x86_64''' -s build_type=Release -g cmake_paths -g=cmake -g deploy -g=qmake
                          To remove the conan locks I had to use:
                          /home/bob/Qt/Tools/Conan/conan remove -l
                          As to the Win 10 qt3d, the following lines of the Linux install make me believe that I need to redo it:
                          qt3d/6.0.1@qt/final: Package 'a39b4915813a92b93e8b0ff2f505771141766338' created
                          qt3d/6.0.1@qt/final: Created package revision 780334a95b0b0590268c0f5957052806
                          Generator txt created conanbuildinfo.txt
                          Generator cmake_paths created conan_paths.cmake
                          Generator qmake created conanbuildinfo.pri
                          Generator deploy created deploy_manifest.txt
                          Generator cmake created conanbuildinfo.cmake
                          qt3d/6.0.1@qt/final deploy(): Copied 814 '.h' files
                          qt3d/6.0.1@qt/final deploy(): Copied 27 '.prl' files
                          qt3d/6.0.1@qt/final deploy(): Copied 288 files
                          qt3d/6.0.1@qt/final deploy(): Copied 13 '.json' files
                          qt3d/6.0.1@qt/final deploy(): Copied 9 '.o' files
                          qt3d/6.0.1@qt/final deploy(): Copied 176 '.cmake' files
                          qt3d/6.0.1@qt/final deploy(): Copied 12 '.1' files
                          qt3d/6.0.1@qt/final deploy(): Copied 39 '.pri' files
                          qt3d/6.0.1@qt/final deploy(): Copied 12 '.so' files
                          qt3d/6.0.1@qt/final deploy(): Copied 8 '.qmltypes' files
                          qt3d/6.0.1@qt/final deploy(): Copied 15 '.a' files
                          qt3d/6.0.1@qt/final deploy(): Copied 12 '.6' files
                          qt3d/6.0.1@qt/final deploy(): Copied 12 '.debug' files
                          qt3d/6.0.1@qt/final deploy(): Copied 2 '.txt' files: conaninfo.txt, conanmanifest.txt

                          Thanks for all your help, I am sure I will have more questions as I try writting qt3d programs.

                          1 Reply Last reply
                          1

                          • Login

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