[Interest] Deploying Qt to MacOs still...errr, sucks?

Hamish Moffatt hamish at risingsoftware.com
Thu Feb 12 04:17:35 CET 2015


On 12/02/15 05:11, Adam Light wrote:
>
> If you're using Qt 5 (maybe only 5.4), macdeployqt may be able to help 
> with the code signing and possibly the dmg part:
>
> /qtbuild5/install/mac64/bin/macdeployqt --help

Unfortunately that's not much use if you need to do anything more than 
copy in Qt; for example bundle extra frameworks you are using, or remove 
Qt plugins you don't need. If you do either of those then you need to 
sign the app in your own scripts, because those operations will 
invalidate any signing done by macdeployqt.

Of course macdeployqt could help by 1. supporting bundling other 
frameworks (which it can find via otool, as it does to find which Qt 
frameworks to bundle), and 2. allow you to include/exclude various Qt 
plugins.

Right now it seems to bundle every plugin (or none, if you tell it to), 
which is both a waste of space and a no-go with the Mac App store for us.


Hamish



More information about the Interest mailing list