Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. 3D Modules not found

3D Modules not found

Scheduled Pinned Locked Moved Solved General and Desktop
13 Posts 3 Posters 6.8k 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 Offline
    O Offline
    ofmrew
    wrote on last edited by
    #1

    I am getting the message ":-1: error: Unknown module(s) in QT: 3dcore 3drender 3dinput 3dextras 3dlogic".

    I have QT += 3dcore 3drender 3dinput 3dextras in .pro.

    What do I need to do?

    S 1 Reply Last reply
    0
    • O ofmrew

      I am getting the message ":-1: error: Unknown module(s) in QT: 3dcore 3drender 3dinput 3dextras 3dlogic".

      I have QT += 3dcore 3drender 3dinput 3dextras in .pro.

      What do I need to do?

      S Offline
      S Offline
      Stoyan
      wrote on last edited by
      #2

      @ofmrew
      Did you try to add also "3dlogic" in your .pro file?

      O 1 Reply Last reply
      0
      • S Stoyan

        @ofmrew
        Did you try to add also "3dlogic" in your .pro file?

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

        @Stoyan said in 3D Modules not found:

        3dlogic

        Yes, Same result. I also deleted the build directory in between changes. The 3D examples work OK. Is there something in the .pri files of the examples that I need?

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

          Let me add that I am using 5.10 on Linux Mint.

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

            Hi,

            Are you getting that message on the console ?
            If so, how are you calling qmake ?
            If not using the full path, then you are likely using the one from your distribution which is not what you want.

            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

              Hi,

              Are you getting that message on the console ?
              If so, how are you calling qmake ?
              If not using the full path, then you are likely using the one from your distribution which is not what you want.

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

              @SGaist I used QtCreator to create a console application and copied parts of an example. The I run build and the message appears in the General Messages window. I do not know how qmake is being called. Every application that I created to now just compiled; this is my first problem of this sort.

              Why is Qt 3D different?

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

                If it's through Qt Creator then it's the one from your kit that is called. Then I'd check if your kit is really using Qt 5.10. If that's the case, check in your installation folder whether you find the Qt3DXXX libraries. If that's not the case, then start the MaintenanceTool to see if you missed something during installation.

                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

                  If it's through Qt Creator then it's the one from your kit that is called. Then I'd check if your kit is really using Qt 5.10. If that's the case, check in your installation folder whether you find the Qt3DXXX libraries. If that's not the case, then start the MaintenanceTool to see if you missed something during installation.

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

                  @SGaist I have a problem! All updates have been by the maintenance tool. The system information shows:
                  {noformat}
                  Qt 5.10.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 5.3.1 20160406 (Red Hat 5.3.1-6)) on "xcb"
                  OS: Ubuntu 16.04 LTS [linux version 4.4.0-21-generic]

                  Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 RTM HLE

                  Environment:
                  QT_ACCESSIBILITY="1"
                  QT_LINUX_ACCESSIBILITY_ALWAYS_ON="1"
                  QT_STYLE_OVERRIDE="gtk"
                  However, when I look at the kits, they show 5.9.

                  How can I get everything in synch?
                  One other question is why do the examples work. Are they not compiled by the same Kits?

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

                    Then create a new kit for your 5.10 Qt.

                    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

                      Then create a new kit for your 5.10 Qt.

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

                      @SGaist The problem is that I do not have a QT/5.10 folder, only QT/5.9. Does the maintenance tool actual update QT to a new version or do I need to do something? How do I verify that it is actually using 5.10?

                      O 1 Reply Last reply
                      0
                      • O ofmrew

                        @SGaist The problem is that I do not have a QT/5.10 folder, only QT/5.9. Does the maintenance tool actual update QT to a new version or do I need to do something? How do I verify that it is actually using 5.10?

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

                        @ofmrew I was looking in the wrong place for the version being used. When I went to Tools>Options>Build&Run, I found that Qt version 5.5.1 for Desktop. Is there a way to force automatic updating to the latest version?

                        O 1 Reply Last reply
                        0
                        • O ofmrew

                          @ofmrew I was looking in the wrong place for the version being used. When I went to Tools>Options>Build&Run, I found that Qt version 5.5.1 for Desktop. Is there a way to force automatic updating to the latest version?

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

                          @ofmrew Let me add some more. I have a folder Qt and in that folder there is a 5.9 folder and in that folder there is gcc_64/include that contains the Qt3DXXX. In Tools>Options>Build&Run>Kits the first line is a yellow triangle Qt 5.5.1 in PATH (qt5) /usr/lib/x86_64-linua-gnu/qt5/bin/qmake. But there is a line that point to /Qt/5.9/gcc_64/bin/qmake, which is correct. Of the three button Add, Remove and Clean Up only Add is active. I believe that the first line should be removed, but how? I also have folders 5.7.0 and 5.8.0 at the same level as the Qt folder.

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

                            Problem solved. The Kit pointed to the 5.5.1 Qt version.

                            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