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. :-1: error: Project ERROR: Unknown module(s) in QT: 3dextras 3dcore 3drender 3dinput

:-1: error: Project ERROR: Unknown module(s) in QT: 3dextras 3dcore 3drender 3dinput

Scheduled Pinned Locked Moved Unsolved General and Desktop
modulepath
12 Posts 2 Posters 3.2k Views
  • 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.
  • S Offline
    S Offline
    surajj4837
    wrote on 20 Apr 2021, 03:47 last edited by
    #1

    I m using Ubuntu 20. I installed Qt6 and I opened an example to run(simple-cpp). I m getting the error:

    :-1: error: Project ERROR: Unknown module(s) in QT: 3dextras 3dcore 3drender 3dinput
    

    Where does the QtCreator tries to find the modules? I have those modules in the installation folder, how to give the path to those modules?

    J 1 Reply Last reply 20 Apr 2021, 05:15
    0
    • S surajj4837
      20 Apr 2021, 03:47

      I m using Ubuntu 20. I installed Qt6 and I opened an example to run(simple-cpp). I m getting the error:

      :-1: error: Project ERROR: Unknown module(s) in QT: 3dextras 3dcore 3drender 3dinput
      

      Where does the QtCreator tries to find the modules? I have those modules in the installation folder, how to give the path to those modules?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 20 Apr 2021, 05:15 last edited by
      #2

      @surajj4837 Are those modules installed? Also, keep in mind that Qt6 does not yet have all modules available in Qt5. It is safer for now to use Qt5.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • S Offline
        S Offline
        surajj4837
        wrote on 20 Apr 2021, 05:17 last edited by
        #3

        04fc595f-97e9-4f00-ab03-d1a77831eb49-image.png

        I see these folders in installation directory.

        J 1 Reply Last reply 20 Apr 2021, 05:18
        0
        • S surajj4837
          20 Apr 2021, 05:17

          04fc595f-97e9-4f00-ab03-d1a77831eb49-image.png

          I see these folders in installation directory.

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 20 Apr 2021, 05:18 last edited by
          #4

          @surajj4837 This looks like Qt source code...

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • S Offline
            S Offline
            surajj4837
            wrote on 20 Apr 2021, 05:31 last edited by surajj4837
            #5

            In which directory does Qt searches for modules. Following folders exist for 3dcore module in installed directory of Qt.
            a95c890c-c784-4bfe-a867-d73f84426446-image.png

            J 1 Reply Last reply 20 Apr 2021, 05:33
            0
            • S surajj4837
              20 Apr 2021, 05:31

              In which directory does Qt searches for modules. Following folders exist for 3dcore module in installed directory of Qt.
              a95c890c-c784-4bfe-a867-d73f84426446-image.png

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 20 Apr 2021, 05:33 last edited by
              #6

              @surajj4837 said in :-1: error: Project ERROR: Unknown module(s) in QT: 3dextras 3dcore 3drender 3dinput:

              In which directory does Qt searches for modules

              In its installation folder.
              How exactly did you install Qt?

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • S Offline
                S Offline
                surajj4837
                wrote on 20 Apr 2021, 05:42 last edited by
                #7

                Using Qt online installer.

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  surajj4837
                  wrote on 20 Apr 2021, 11:21 last edited by
                  #8

                  Now I have installed Qt5.15 as well and the same example is running flawless using 5.15 kit.

                  J 1 Reply Last reply 20 Apr 2021, 11:55
                  0
                  • S surajj4837
                    20 Apr 2021, 11:21

                    Now I have installed Qt5.15 as well and the same example is running flawless using 5.15 kit.

                    J Offline
                    J Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on 20 Apr 2021, 11:55 last edited by
                    #9

                    @surajj4837 According to https://www.kdab.com/qt-3d-changes-in-qt-6/ Qt3D is not provided as binary starting with Qt6. You have to build it by yourself if you want to use it withQt6.

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    S 1 Reply Last reply 20 Apr 2021, 12:04
                    2
                    • J jsulm
                      20 Apr 2021, 11:55

                      @surajj4837 According to https://www.kdab.com/qt-3d-changes-in-qt-6/ Qt3D is not provided as binary starting with Qt6. You have to build it by yourself if you want to use it withQt6.

                      S Offline
                      S Offline
                      surajj4837
                      wrote on 20 Apr 2021, 12:04 last edited by
                      #10

                      @jsulm Thanks for providing the exact solution. Does this page covers the building process?

                      J 1 Reply Last reply 20 Apr 2021, 12:05
                      0
                      • S surajj4837
                        20 Apr 2021, 12:04

                        @jsulm Thanks for providing the exact solution. Does this page covers the building process?

                        J Offline
                        J Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on 20 Apr 2021, 12:05 last edited by
                        #11

                        @surajj4837 Looks like that, yes

                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                        S 1 Reply Last reply 20 Apr 2021, 12:26
                        0
                        • J jsulm
                          20 Apr 2021, 12:05

                          @surajj4837 Looks like that, yes

                          S Offline
                          S Offline
                          surajj4837
                          wrote on 20 Apr 2021, 12:26 last edited by
                          #12

                          @jsulm Thanks for your instant replies.

                          1 Reply Last reply
                          1

                          1/12

                          20 Apr 2021, 03:47

                          • Login

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