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. Issue with macdeployqt and QtQuick3D
Forum Updated to NodeBB v4.3 + New Features

Issue with macdeployqt and QtQuick3D

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 2 Posters 368 Views 1 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
    Olivier31
    wrote on last edited by
    #1

    Hello,

    We are trying to create a deployable application for macOS that uses QtQuick3D.

    We used the macdeployqt command:

    macdeployqt <our app>

    Unfortunately when we launch the application we get this error:

    QQmlApplicationEngine failed to load component
    qrc:/<OUR APP>/main.qml:4:1: module "QtQuick3D" plugin "qquick3dplugin" not found

    You can reproduce the problem with the customgeometry example

    Thanks in advance for your help

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

      Hi and welcome to devnet,

      You should add which version of Qt you are using as there might have been fixes added in between if you are not using the latest.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • O Offline
        O Offline
        Olivier31
        wrote on last edited by
        #3

        Thank you for your feedback,

        My version of Qt is 6.3.2

        In the meantime I have found two errors. The first is that I forgot to specify where my qml files were with the -qmldir option.

        The second one is from using a Mac M1 and Xcode 14. With this combination the macdeployqt command generates an error when calling install_name_tool

        See: https://bugreports.qt.io/browse/QTBUG-105056

        In short, on Mac Intel and with the -qmldir option macdeployqt works perfectly with QtQuick3D :-)

        Thanks again, it's nice to be supported here.

        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