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

macdeployqt does not deploy QtQuick.Controls 1 and 2 plugins

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.8.0
    • None
    • MacOSX, Qt 5.8.0, macdeployqt

    Description

      When using mixed QtQuick.Controls 1 and 2, macdeployqt does not properly deploy both versions.

      I get the runtime error:

      module "QtQuick.Controls" version 1.4 is not installed

      In my case:
      ***.app/Contents/Resources/qml/QtQuick/Controls.2/ contains the correct content
      But:
      ***.app/Contents/Resources/qml/QtQuick/Controls/ does not contain the expected content from (QtInstallDir)/(compiler)/qml/QtQuick/Controls :

      • ***.app/Contents/Resources/qml/QtQuick/Controls/
        • Material (copied from Controls.2)
        • Private (copied from Controls)
        • Styles (copied from Controls)
        • Universal (copied from Controls.2)
        • NO FILES (??)

      When I manually copy all contents from (QtInstallDir)/(compiler)/qml/QtQuick/Controls to my application package: ***.app/Contents/Resources/qml/QtQuick/Controls/, all works fine.

      I have the idea it is related to the windeployqt bug which has been solved before: QTBUG-54021, where the origin of the problem is that both Controls 1 & 2 have the same module names (and thus they should be matched on classname instead)

      Attachments

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

        Activity

          People

            wearyinside Oleg Yadrov
            bartel Bartel Eerdekens
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes