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. Problem with macdeplayqt and Qt3D
Forum Updated to NodeBB v4.3 + New Features

Problem with macdeplayqt and Qt3D

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qtquickqt3drenderermacdeployqtqml
7 Posts 2 Posters 1.0k Views 2 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.
  • S Offline
    S Offline
    shav
    wrote on 20 Oct 2020, 17:38 last edited by
    #1

    Hi everyone!

    I have a problem with may QtQuick application which usage QML extension with Qt3D render. When I'm running my application from QtCreator in debug or release mode application worcs fine but if I using macdeplyqt and after that run application I'm getting error like this:
    Unable to find renderer plugin for opengl

    If I check application bundle I can't find folder <application_bundle>/Contents/Plugins/renderers.

    My question is what I need to do for copy Qt_install_path/plugins/renderers/libopenglrenderer.dylib to application folder with macdeployqt?

    Thanks for the any help.

    Mac OS and iOS Developer

    1 Reply Last reply
    1
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 20 Oct 2020, 18:11 last edited by
      #2

      Hi,

      Depending on the Qt version you are using macdeployqt might be missing some plugins in its lists to deploy.

      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
      • S Offline
        S Offline
        shav
        wrote on 20 Oct 2020, 18:15 last edited by
        #3

        Thank you for the reply.

        I'm using Qt 5.15.1. How I can check what plugins are missing in list to deploy of macdeployqt tool?

        Mac OS and iOS Developer

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 20 Oct 2020, 18:31 last edited by
          #4

          You need to check the code of macdeployqt.

          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
          • S Offline
            S Offline
            shav
            wrote on 20 Oct 2020, 18:43 last edited by
            #5

            Thank you! I will check!

            Mac OS and iOS Developer

            1 Reply Last reply
            0
            • S Offline
              S Offline
              shav
              wrote on 20 Oct 2020, 19:03 last edited by
              #6

              I'm checked the link which you are shared. And I'm found this line in branch dev

                  {QStringLiteral("3DRender"), {QStringLiteral("sceneparsers"), QStringLiteral("geometryloaders"), QStringLiteral("renderers")}},
              

              but for Qt 5.15.1 branch this line looks like:

                  {QStringLiteral("3DRender"), {QStringLiteral("sceneparsers"), QStringLiteral("geometryloaders")}},
              

              So, as I understand correctly all I can do is a copy renderers without macdeployqt. Is this right?

              Mac OS and iOS Developer

              1 Reply Last reply
              1
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 21 Oct 2020, 19:35 last edited by
                #7

                Or you can fix the macdeployqt code and build it to replace your version. That way you benefit from all the file processing done during the deployment process.

                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

                1/7

                20 Oct 2020, 17:38

                • Login

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