Deploying QtQuick Applications on Mac (Qt 5.1.1)
-
I have an application that uses QtQuick that I am having trouble deploying on Mac (it deploys on Windows just fine).
The error I get when running the program is "module "QtQuick" is not installed".
Where in the application bundle is the QtQuick folder supposed to go?
-
Hi and welcome to devnet,
Did you follow the "Mac OS X deployment guide":http://qt-project.org/doc/qt-5.0/qtdoc/deployment-mac.html ?
-
Me too :(
If I create an app using File->New project->QTQuick 2 Application (built-in type) and after build I run macdeployqt the only thing I get is White screen and “QtQuick” is not installed”.
What am I missing?
P.S: It doesn't work even with 5.2.0 beta1 or rc1 (snapshot from 26.11)
-
Hi all,
I have exactly the same problem. I am on OSX 10.9 and Qt 5.1.1. After building the Hello World QtQuick 2.0 (built in types) app I run macdeploy.
The dependencies before were:
/Users/georg/Qt/5.1.1/clang_64/lib/QtQuick.framework/Versions/5/QtQuick (compatibility version 5.1.0, current version 5.1.1)
/Users/georg/Qt/5.1.1/clang_64/lib/QtQml.framework/Versions/5/QtQml (compatibility version 5.1.0, current version 5.1.1)
/Users/georg/Qt/5.1.1/clang_64/lib/QtNetwork.framework/Versions/5/QtNetwork (compatibility version 5.1.0, current version 5.1.1)
/Users/georg/Qt/5.1.1/clang_64/lib/QtCore.framework/Versions/5/QtCore (compatibility version 5.1.0, current version 5.1.1)
/Users/georg/Qt/5.1.1/clang_64/lib/QtGui.framework/Versions/5/QtGui (compatibility version 5.1.0, current version 5.1.1)
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 60.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)And after the run:
@executable_path/../Frameworks/QtQuick.framework/Versions/5/QtQuick (compatibility version 5.1.0, current version 5.1.1)
@executable_path/../Frameworks/QtQml.framework/Versions/5/QtQml (compatibility version 5.1.0, current version 5.1.1)
@executable_path/../Frameworks/QtNetwork.framework/Versions/5/QtNetwork (compatibility version 5.1.0, current version 5.1.1)
@executable_path/../Frameworks/QtCore.framework/Versions/5/QtCore (compatibility version 5.1.0, current version 5.1.1)
@executable_path/../Frameworks/QtGui.framework/Versions/5/QtGui (compatibility version 5.1.0, current version 5.1.1)
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 60.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)That looks fine for me, but if I try to run the app, I get a small white rectangle and the error message:
main.qml:1:1: module "QtQuick" is not installed
import QtQuick 2.0I read almost every post about the Qml Deploy topic, but all end with the solution of removing double slashes, which was fixed with Qt 5.1.1. Any suggestions.
Cheers
Georg