[Interest] How to create a loadable bundle in OSX with qmake/qtcreator?
Nuno Santos
nunosantos at imaginando.pt
Sat Nov 1 18:12:08 CET 2014
Hi,
I’m trying to build a loadable lib module as a bundle with qmake/qtcreator. This loadable lib module is a VST plugin, a standard created by Steinberg for audio plugins, just like the audiounits from Apple.
I have google a lot for this and I can’t still find an answer. If I was using Xcode for this I would use “Bundle” template under the “Framework & Library”. I would just need to add a few more resources and properties to the .plist
With qmake i’m trying the following settings:
TEMPLATE = lib
CONFIG += lib_bundle
But this generates me library bundle. It happens that this is not recognised as vst plugin in a vst host. Also, the directory structure is completely different compared with other vst modules.
Below is the generated directory structure created by the options above:
./Contents
./Contents/Info.plist
./Versions
./Versions/1
./Versions/1/audiolab
./Versions/Current
And this is the content of an already existent vst plugin:
./Contents
./Contents/Info.plist
./Contents/MacOS
./Contents/MacOS/Dexed
./Contents/PkgInfo
./Contents/Resources
./Contents/Resources/Dexed.rsrc
./Contents/Resources/RecentFilesMenuTemplate.nib
The main difference, is that the lib file is located under Contents/MacOS just like an executable.
Does anyone know how to produce this kind of bundles with qmake/qtcreator?
Thanks,
Regards,
Nuno Santos
More information about the Interest
mailing list