Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt3D Extras and Qt3D Core support in Qt 6.7.2 ?

Qt3D Extras and Qt3D Core support in Qt 6.7.2 ?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 31 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.
  • IamSumitI Offline
    IamSumitI Offline
    IamSumit
    wrote last edited by
    #1

    Hello all,

    I am writing a 3D application for drawing the curve using Qt3D extras and Qt3D Core library using Qt 6.7.2 in QML. For this I have added the following in my CmakeLists.txt -
    find_package(Qt6 6.5 REQUIRED COMPONENTS Quick)
    find_package(Qt6 REQUIRED COMPONENTS 3dextras)
    target_link_libraries(appTest3D PRIVATE Qt6::3dextras)
    qt_standard_project_setup(REQUIRES 6.5)

    I am getting the following error also-
    QQmlApplicationEngine failed to load component
    qrc:/qt/qml/Test3D/Main.qml:114:9: Qt3DExtras.Camera - Qt3DExtras is neither a type nor a namespace

    Please help me out - whether and which thing I have missed ?

    Be Cute

    JoeCFDJ 1 Reply Last reply
    0
    • IamSumitI IamSumit

      Hello all,

      I am writing a 3D application for drawing the curve using Qt3D extras and Qt3D Core library using Qt 6.7.2 in QML. For this I have added the following in my CmakeLists.txt -
      find_package(Qt6 6.5 REQUIRED COMPONENTS Quick)
      find_package(Qt6 REQUIRED COMPONENTS 3dextras)
      target_link_libraries(appTest3D PRIVATE Qt6::3dextras)
      qt_standard_project_setup(REQUIRES 6.5)

      I am getting the following error also-
      QQmlApplicationEngine failed to load component
      qrc:/qt/qml/Test3D/Main.qml:114:9: Qt3DExtras.Camera - Qt3DExtras is neither a type nor a namespace

      Please help me out - whether and which thing I have missed ?

      JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote last edited by JoeCFD
      #2

      @IamSumit
      Upgrade Qt to the latest and you will be able to find enough examples under
      Examples/Qt-6.9.0/quick3d and Examples/Qt-6.9.0/quick3dphysics

      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