Daniel,

To deploy a Mac OSX Qt Quick app do the following:

Imagine that your build was made to /tmp/build_YOUR_APP_NAME_clang_64_Release

cd /tmp
/PATH_TO_YOUR_QT/clang_64/bin/macdeployqt -qmldir=/path_to_your_app_source 
YOUR_APP_NAME.app

You need to run macdeployqt with the qmldir option, specifying the path of your 
qml files. This way, macdeployqt will analyse your qml source files and copy 
the respective plugins to the bundle.

Regards,

Nuno

> On 09 Feb 2015, at 16:46, Daniel França <daniel.fra...@gmail.com> wrote:
> 
> Hi guys,
> I know the subject is a little rude, but 2 years ago I'd a lot of problems 
> trying to deploy an app to OS X, as you can see here: 
> http://stackoverflow.com/questions/20895398/cant-deploy-qt-5-2-quick-app-to-mac-osx
>  
> <http://stackoverflow.com/questions/20895398/cant-deploy-qt-5-2-quick-app-to-mac-osx>
> 
> You can see people with similar problems: 
> http://qt-project.org/forums/viewthread/48391 
> <http://qt-project.org/forums/viewthread/48391>
> http://qt-project.org/forums/viewthread/50118 
> <http://qt-project.org/forums/viewthread/50118>
> 
> The solutions usually involves some custom script/app/macdeployqt.
> 
> Anyway, at that time I was able to deploy, but it sucked.
> Now, 2 years later and with the fresh new Qt5.4, I'm again deploying Qt to 
> OSX and I faced similar problems.
> Which led me to the question: Is anyone looking on that? Or am I doing 
> something terrible wrong?
> 
> I can't image that in 2 years no one cared about deployment on OSX.
> 
> Any feedback is welcome.
> 
> Best,
> Daniel
> 
> 
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to