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. Can't find Qt3DExtras
Qt 6.11 is out! See what's new in the release blog

Can't find Qt3DExtras

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 2 Posters 1.3k 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.
  • J Offline
    J Offline
    JackczyAf
    wrote on last edited by
    #1

    I want to put my 3D object into my UI, but I can't use the lib Qt3DExtras like below:
    2023-12-20 11-19-51 的屏幕截图.png
    I installed the Qt3D with:
    2023-12-20 11-22-17 的屏幕截图.png
    some other libs can be found such as Qt3DCore
    2023-12-20 11-21-23 的屏幕截图.png
    but Qt3DExtras can not be found
    2023-12-20 11-21-48 的屏幕截图.png
    is there any other ways to install it?

    jsulmJ 1 Reply Last reply
    0
    • J JackczyAf

      I want to put my 3D object into my UI, but I can't use the lib Qt3DExtras like below:
      2023-12-20 11-19-51 的屏幕截图.png
      I installed the Qt3D with:
      2023-12-20 11-22-17 的屏幕截图.png
      some other libs can be found such as Qt3DCore
      2023-12-20 11-21-23 的屏幕截图.png
      but Qt3DExtras can not be found
      2023-12-20 11-21-48 的屏幕截图.png
      is there any other ways to install it?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @JackczyAf There is no class called Qt3DWindow.
      Also, did you add

      find_package(Qt6 REQUIRED COMPONENTS 3dextras)
      target_link_libraries(mytarget PRIVATE Qt6::3dextras)
      

      and

      find_package(Qt6 REQUIRED COMPONENTS 3DCore)
      target_link_libraries(mytarget PRIVATE Qt6::3DCore)
      

      to your CMakeLists.txt file?

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

      J 1 Reply Last reply
      0
      • jsulmJ jsulm

        @JackczyAf There is no class called Qt3DWindow.
        Also, did you add

        find_package(Qt6 REQUIRED COMPONENTS 3dextras)
        target_link_libraries(mytarget PRIVATE Qt6::3dextras)
        

        and

        find_package(Qt6 REQUIRED COMPONENTS 3DCore)
        target_link_libraries(mytarget PRIVATE Qt6::3DCore)
        

        to your CMakeLists.txt file?

        J Offline
        J Offline
        JackczyAf
        wrote on last edited by
        #3

        @jsulm
        Yes I did
        like I said, could not find the package "Qt53DExtas", and there is no error with "Qt3DCore":
        2023-12-20 14-38-49 的屏幕截图.png
        But I add these packages at the same time:
        2023-12-20 14-40-01 的屏幕截图.png
        2023-12-20 14-40-10 的屏幕截图.png

        jsulmJ 1 Reply Last reply
        0
        • J JackczyAf

          @jsulm
          Yes I did
          like I said, could not find the package "Qt53DExtas", and there is no error with "Qt3DCore":
          2023-12-20 14-38-49 的屏幕截图.png
          But I add these packages at the same time:
          2023-12-20 14-40-01 的屏幕截图.png
          2023-12-20 14-40-10 的屏幕截图.png

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @JackczyAf Did you install Qt3D? I'm not sure, but could be that it is not installed by default.

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

          J 1 Reply Last reply
          0
          • jsulmJ jsulm

            @JackczyAf Did you install Qt3D? I'm not sure, but could be that it is not installed by default.

            J Offline
            J Offline
            JackczyAf
            wrote on last edited by
            #5

            @jsulm
            yes I installed it
            I just checked the system folder "/usr/lib/x86_64-linux-gnu" and "/usr/lib/x86_64-linux-gnu/cmake" and I found that some files of Qt3DExtras are lost:
            there's no "libQt53DExtras.prl"
            2023-12-20 14-59-45 的屏幕截图.png
            there's no folder "Qt53DExtras", equals to there's no files "Qt53DExtrasConfig.cmake" and "Qt53DExtrasConfigVersion.cmake":
            2023-12-20 15-00-26 的屏幕截图.png

            I'm wondering that if I create these files manually, will it works?

            jsulmJ 1 Reply Last reply
            0
            • J JackczyAf

              @jsulm
              yes I installed it
              I just checked the system folder "/usr/lib/x86_64-linux-gnu" and "/usr/lib/x86_64-linux-gnu/cmake" and I found that some files of Qt3DExtras are lost:
              there's no "libQt53DExtras.prl"
              2023-12-20 14-59-45 的屏幕截图.png
              there's no folder "Qt53DExtras", equals to there's no files "Qt53DExtrasConfig.cmake" and "Qt53DExtrasConfigVersion.cmake":
              2023-12-20 15-00-26 的屏幕截图.png

              I'm wondering that if I create these files manually, will it works?

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @JackczyAf said in Can't find Qt3DExtras:

              yes I installed it

              Also the dev package(s)?

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

              J 1 Reply Last reply
              1
              • jsulmJ jsulm

                @JackczyAf said in Can't find Qt3DExtras:

                yes I installed it

                Also the dev package(s)?

                J Offline
                J Offline
                JackczyAf
                wrote on last edited by
                #7

                @jsulm
                It seams that installation is failed, I install Qt3D with apt-get:

                sudo apt install qt3d5-dev
                

                but I can't find any dev pkgs of Qt3DExtras.

                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