- 
    
Bug
 - 
    Resolution: Done
 - 
    
P1: Critical
 - 
    5.5.0 Alpha
 - 
    None
 - 
    Mac OS X, Qt 5.5 alpha (also reproducible on Qt 5.4)
 
- 
        247b9999cd389ae5b11a21b535b1c9ff817dc9c6
 
To reproduce, create a new Qt Quick 2 project, create a Release build, run macdeployqt. Try starting the app:
$ ./DeployBug QQmlApplicationEngine failed to load component qrc:/main.qml:33 Type MessageDialog unavailable qrc:/QtQuick/Dialogs/WidgetMessageDialog.qml:38 module "QtQuick.PrivateWidgets" is not installed
Workaround: add import to any qml file:
import QtQuick.PrivateWidgets 1.0
This worked correctly in Qt 5.3, but broke in 5.4, still broken in 5.5 alpha.
Please find attached a sample project. Compile, adjust paths in mac_deploy.sh, then run mac_deploy.sh
- is duplicated by
 - 
                    
QTBUG-47221 macdeployqt QtQuick QtWebEngine cause application crash on startup
-         
 - Closed
 
 -         
 
- relates to
 - 
                    
QTBUG-48424 [REG 5.5-5.6] Windows/Release builds: qmlimportscanner no longer reports "QtQuick.PrivateWidgets" when scanning qtquickcontrols\examples\quick\controls\gallery example
-         
     - Closed
 
 -