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)