[Qt-creator] osx deployment - deployqtHelper_mac.sh

Petr Vaněk petr at yarpen.cz
Sun Mar 15 21:48:07 CET 2015


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?

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




More information about the Qt-creator mailing list