Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Yet another Unknown module(s) in QT: 3dcore

Yet another Unknown module(s) in QT: 3dcore

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 1 Posters 1.0k 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.
  • McTobM Offline
    McTobM Offline
    McTob
    wrote on last edited by
    #1

    I have successfully downloaded QT6.0.1 with online download, with qt3d support of course.
    I have setup correctly the kit but, still no luck building a very simple code:

    Unknown module(s) in QT: 3dcore 3drender 3dextras

    Effective qmake call:
    /opt/Qt/6.0.1/gcc_64/bin/qmake /home/user/projects/cppqt3d/simple-cpp.pro -spec linux-g++ CONFIG+=qtquickcompiler && /usr/bin/make qmake_all

    My pro:

    TEMPLATE = app
    TARGET = simple-cpp
    # Include stuff
    INCLUDEPATH += .
    # Libs stuff
    QT += 3dcore 3drender 3dextras
    DEFINES += QT_DEPRECATED_WARNINGS
    SOURCES += \
        main.cpp \
        orbittransformcontroller.cpp
    HEADERS += \
        orbittransformcontroller.h
    

    Of course the sample was taken out of a sample that compiled with my system qt5.
    What is wrong here ? Is there anyway I can manually use qmake to discover why it does not understand where are the Qt3d install files (ie /opt/Qt/AdditionalLibraries/Qt/qt3d-6.0.1/Src/include)

    Thank you very much for your help

    1 Reply Last reply
    0
    • McTobM Offline
      McTobM Offline
      McTob
      wrote on last edited by McTob
      #2

      Edit, scrolling down a bit, it looks like the QT6 release I downloaded might not be a real binary release: https://forum.qt.io/topic/123926/unknown-module-networkauth/2

      Will investigate this: https://www.kdab.com/getting-your-3d-ready-for-qt-6/

      edit2: I managed to build, with cmake, but I am not sure now where to install now in order for qmake to find the includes/libs.

      McTobM 1 Reply Last reply
      0
      • McTobM McTob

        Edit, scrolling down a bit, it looks like the QT6 release I downloaded might not be a real binary release: https://forum.qt.io/topic/123926/unknown-module-networkauth/2

        Will investigate this: https://www.kdab.com/getting-your-3d-ready-for-qt-6/

        edit2: I managed to build, with cmake, but I am not sure now where to install now in order for qmake to find the includes/libs.

        McTobM Offline
        McTobM Offline
        McTob
        wrote on last edited by McTob
        #3

        @McTob Eventually find the most interesting lead thanks to the last link above with the following command:

        /opt/Qt/Tools/Conan/conan install qt3d/6.0.1@qt/final --build=missing -s build_type=Release -g cmake_paths -g=cmake -g deploy --profile=/opt/Qt/Tools/Conan/profiles/qt-6.0.1-gcc-x86_64
        

        EDIT2: finally changed my mind again, cmake was much faster (and I just know it better).

        /opt/Qt/Tools/CMake/bin/cmake -DCMAKE_INSTALL_PREFIX=/opt/Qt/6.0.1/gcc_64/ /opt/Qt/AdditionalLibraries/Qt/qt3d-6.0.1/Src/ 
        make -j12
        make install
        
        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