[Interest] QML and macdeployqt

Yang Fan missdeer at gmail.com
Fri Apr 27 04:53:36 CEST 2012


I guess, you need manually copy qmlwebkitplugin plugin to your app
bundle after exeuting macdeployqt script, then run install_name_tool to
modify the frameworks path for qmlwebkitplugin. And also, you may have to
set the plugin path for QDeclarativeEngine object in your code.

On Fri, Apr 27, 2012 at 4:22 AM, Alexander Semke <Alexander.Semke at web.de>wrote:

> Hi all,
>
> I'm struggling with a problem concerning packaging of an Qt-application on
> Mac
> OS X. The program compiles and runs well. Everything works just fine, until
> the macdeployqt-tool is invoked. After that the QML-based part of the
> application (mainly the startscreen with some funny animations) doesn't
> work
> anymore. It seems like the qml-file for the start screen is not loaded. All
> the qml-files are included in the binary via the Qt's ressource system
> and, as
> already mentioned, everything works without having invoked macdeployqt.
> QtDeclarative is properly copied into the Content/Frameworks-directory.
> Upon macdeployqt, otool -L my_binary shows the correct pathes to the
> Qt-libs
> inside my app-package. So, everything seems to be ok. But I'm surely
> overseeing something :-(
>
> Any help/hint is highly appreciated.
>
>
> Regards,
> Alexander
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120427/ec55156d/attachment.html>


More information about the Interest mailing list