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 24.1k 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

    @SGaist I am not sure I understand. What should tartget Ninja.

    And what about the message:
    qt3d/6.0.1@qt/final: WARN: Package binary is corrupted, removing: 0f29c7292f66ab3b189fa2809bdfcf230d253f0f

    I checked and the path to ninja is in PATH.

    What do I need to do?

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

    @ofmrew Another question, does the message:
    CMAKE_PREFIX_PATH for 'qt3d/6.0.1' build is: C:\Qt\6.0.2/mingw81_64
    CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
    CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
    CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
    CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
    indicate a problem with the CMake installation and if so how can I check it?

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

      Did you open a command prompt pre-configured for MinGW ?

      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

        Did you open a command prompt pre-configured for MinGW ?

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

        @SGaist I have heard that, but I well look it up.

        O 1 Reply Last reply
        0
        • O ofmrew

          @SGaist I have heard that, but I well look it up.

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

          @ofmrew I have two questions:

          1. In the post "Qt3D 6.0.2 on Windows using MinGW 8.1.0" I note that all of the files use "/". So am I to assume that conan will make the conversion?
          2. In that same post it was stated "More specifically I opened the appropriate Qt MinGW 8.1.0 command prompt" and executed "conan.exe . . .". Is it absolutely necessary to do that step and if so why is it not noted?

          I hope that the documentation writers will look at all of the post being made about the troubles we are having with conan.

          O 1 Reply Last reply
          0
          • O ofmrew

            @ofmrew I have two questions:

            1. In the post "Qt3D 6.0.2 on Windows using MinGW 8.1.0" I note that all of the files use "/". So am I to assume that conan will make the conversion?
            2. In that same post it was stated "More specifically I opened the appropriate Qt MinGW 8.1.0 command prompt" and executed "conan.exe . . .". Is it absolutely necessary to do that step and if so why is it not noted?

            I hope that the documentation writers will look at all of the post being made about the troubles we are having with conan.

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

            @ofmrew I am trying setup Command Prompt for

            O 1 Reply Last reply
            0
            • O ofmrew

              @ofmrew I am trying setup Command Prompt for

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

              @ofmrew Sorry but the previous post was sent prematurly. It shoyuuld have said the I was setting Command Prompt for ming81_64 by adding c:\Qt\6.0.2\ming81_64 to PATH, but g++ --version is not recognized. What am I doing wrong?

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

                IIRC, Qt provides a set of shortcut for command prompts preconfigured for use. You should use these.

                As for your PATH changes, did you check where exactly g++ is located ?

                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

                  IIRC, Qt provides a set of shortcut for command prompts preconfigured for use. You should use these.

                  As for your PATH changes, did you check where exactly g++ is located ?

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

                  @SGaist I am learning more than I never wanted to know about Linux and Win 10. Back in 1990 when I was at the announcement of Win NT I would have loved this stuff, but now I just want to program 3D graphics.

                  1. I searched for g++ and did not find it, but I did find a number of g++ prefixed by a compiler.
                  2. Does the Installer actually install mingw or just a module, i.e., do I need to install mingw64 on my computer. One post in stackoverflow "https://stackoverflow.com/questions/22873884/how-do-i-run-configure-with-mingw" states that both mingw and msys must be installed. I that correct? If so, then do I follow the steps that post suggest?
                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #58

                    You do not need to install MinGW independently. The online installer as well as the Maintenance Tool gives you the option to install the version used for the pre-built binaries.

                    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

                      You do not need to install MinGW independently. The online installer as well as the Maintenance Tool gives you the option to install the version used for the pre-built binaries.

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

                      @SGaist What about Msys does that need to be installed?

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

                        No, it does not.

                        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

                          No, it does not.

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

                          @SGaist I find that I have multiple mingw and msys installed, some dating back 6 years. I believe tha I need to clean my computer and start with a fresh installation.

                          O 1 Reply Last reply
                          0
                          • O ofmrew

                            @SGaist I find that I have multiple mingw and msys installed, some dating back 6 years. I believe tha I need to clean my computer and start with a fresh installation.

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

                            @ofmrew Back to Mint Linux. I found an Internet post on how to test the Vulkan installataion: https://linuxconfig.org/install-and-test-vulkan-on-linux. I installed Steam and DoTA 2. It seemed to run without a problem. So now I am really confused about the conan message: /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;

                            It occurred at: [ 48%] Building CXX object src/render/CMakeFiles/3DRender.dir/surfaces/vulkaninstance.cpp.o

                            The final part of the log:
                            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 .
                            If the Vulkan game DoTA runs, which implies that Vulkan is correctly installed, then (1) is it a bug or is there an error in my statement:
                            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=qmake -g qmake_paths -g cmake_paths -g=cmake -g deploy

                            What is my next move?

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

                              No include missing from that file ?

                              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

                                No include missing from that file ?

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

                                @SGaist That does not answer my question: If the include file is missing is it my fault or a bug? Your reply of No gives me no hint as what I should do. What should I do?

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

                                  I meant is there any include statement missing from that file ? It should not but who knows.

                                  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

                                    I meant is there any include statement missing from that file ? It should not but who knows.

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

                                    @SGaist I looked but I could not see any problem. I was about to run a validation on the installation of Valkan, but then I used the maintenance tool to get the latest. There seems to be that some files are out of synch, for example qt3d/6.0.1@qt/final is required but then --profile=/home/bob/Qt/Tools/Conan/profiles/'''qt-6.0.2-gcc-x86_64''' is required. Now I get:

                                    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
                                    Configuration:
                                    [settings]
                                    arch=x86_64
                                    build_type=Release
                                    compiler=gcc
                                    compiler.libcxx=libstdc++11
                                    compiler.version=7.5
                                    os=Linux
                                    [options]
                                    qt6=6.0.2
                                    [build_requires]
                                    [env]
                                    QT_PATH=/home/bob/Qt/6.0.2/gcc_64
                                    qt3d/6.0.1@qt/final is locked by another concurrent conan process, wait...
                                    If not the case, quit, and do 'conan remove --locks', which does nothing!

                                    MY question is: has anyone actually downloaded qt63d and got it to work, for me neither win 10 nor mint linux has been successful.

                                    Maybe someone should look at this!

                                    O 1 Reply Last reply
                                    0
                                    • O ofmrew

                                      @SGaist I looked but I could not see any problem. I was about to run a validation on the installation of Valkan, but then I used the maintenance tool to get the latest. There seems to be that some files are out of synch, for example qt3d/6.0.1@qt/final is required but then --profile=/home/bob/Qt/Tools/Conan/profiles/'''qt-6.0.2-gcc-x86_64''' is required. Now I get:

                                      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
                                      Configuration:
                                      [settings]
                                      arch=x86_64
                                      build_type=Release
                                      compiler=gcc
                                      compiler.libcxx=libstdc++11
                                      compiler.version=7.5
                                      os=Linux
                                      [options]
                                      qt6=6.0.2
                                      [build_requires]
                                      [env]
                                      QT_PATH=/home/bob/Qt/6.0.2/gcc_64
                                      qt3d/6.0.1@qt/final is locked by another concurrent conan process, wait...
                                      If not the case, quit, and do 'conan remove --locks', which does nothing!

                                      MY question is: has anyone actually downloaded qt63d and got it to work, for me neither win 10 nor mint linux has been successful.

                                      Maybe someone should look at this!

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

                                      @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 1 Reply Last reply
                                      0
                                      • 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

                                          • Login

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