Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-71384

macdeployqt and QtQuick.Shapes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.11.1, 5.11.2
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      MacOS: 10.13.6. Additional info provided in picture.
    • Platform/s:
      macOS

      Description

      With simplest project possible (in wizard Qt Quick Application - Empty) in main.qml add line "import QtQuick.Shapes 1.0" and try to run application through build-debug sequence (F5). App starts normal.

      After that close your application and apply macdeployqt on it:

      macdeployqt /path/to/app/myapp.app -qmldir=/path/to/qt/5.11.1/clang_64/qml

      Then take a look at what is inside of the bundle: there is no Shapes (Contents/Resources/qml/QtQuick/Shapes) folder, however other resources provided well. If You will overcome other dependencies such as cocoa plugin requirement, You will see a message at runtime in debug: "module "QtQuick.Shapes" is not installed". 

      If You will do absolutely the same in Windows using windeployqt - it will deliver Shapes folder to executable.

      Short version: macdeployqt doesn't copy qml Shapes component/plugin into bundle, windeployqt does.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            qt.team.graphics.and.multimedia Qt Graphics Team
            Reporter:
            antonkasabutski Anton Kasabutski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes