[Qt-creator] osx deployment - deployqtHelper_mac.sh
Ziller Eike
Eike.Ziller at theqtcompany.com
Mon Mar 16 08:53:24 CET 2015
> On Mar 15, 2015, at 9:48 PM, Petr Vaněk <petr at yarpen.cz> wrote:
>
> hi all,
>
> let's assume I want to build my own qt creator for mac (os x). After
> building I have environment dependent "mac bundle" in <BUILD>/bin directory.
> Normally I'd use macdeployqt to make the bundle distributable. And it
> works expect one thing - the "welcome" page-qml (?) is not loaded correctly.
> Then I found deployqtHelper_mac.sh in <SOURCE>/scripts directory.
> Regarding the script content it should provide macdeployqt on steroids.
> But its usage is quite cryptic for me.
>
> Usage: deployqtHelper_mac.sh <app folder> <qt translations folder> <qt
> plugin folder> <qt quick imports folder> <qt quick 2 imports folder>
>
> I use standard qt-project distro package located in:
> /Users/pvanek/Qt/5.4/clang_64
> but I'm really wondering what directory should be used for these
> arguments: <qt translations folder> <qt plugin folder> <qt quick imports
> folder> <qt quick 2 imports folder>
>
> can anybody provide some experience with it, please?
Just run “make deployqt” in your Qt Creator build directory! It does all the magic.
https://wiki.qt.io/Building-Qt-Creator-Packages
If you are interested in what the command line arguments for the script are, have a look at the deployqt.commands that qtcreator.pro sets for macx.
Br, Eike
> thanks,
> Petr
>
>
> lister:clang_64 pvanek$ ls -l
> total 0
> drwxr-xr-x 43 pvanek staff 1462 Mar 15 20:25 bin
> drwxr-xr-x 5 pvanek staff 170 Mar 15 20:25 imports
> drwxr-xr-x 6 pvanek staff 204 Mar 15 20:25 include
> drwxr-xr-x 157 pvanek staff 5338 Mar 15 20:28 lib
> drwxr-xr-x 3 pvanek staff 102 Mar 15 20:25 libexec
> drwxr-xr-x 100 pvanek staff 3400 Mar 15 20:25 mkspecs
> drwxr-xr-x 15 pvanek staff 510 Mar 15 20:25 phrasebooks
> drwxr-xr-x 18 pvanek staff 612 Mar 15 20:25 plugins
> drwxr-xr-x 19 pvanek staff 646 Mar 15 20:27 qml
> drwxr-xr-x 163 pvanek staff 5542 Mar 15 20:25 translations
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
--
Eike Ziller, Senior Software Engineer - The Qt Company GmbH
The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
More information about the Qt-creator
mailing list