[Qt-interest] conditional resource inclusion
Sean Harmer
sean.harmer at maps-technology.com
Wed Jan 12 18:13:59 CET 2011
On Wednesday 12 January 2011 17:02:05 pmqt71 wrote:
> Hi all,
>
> my app has a mobile version that only uses a part of the resources defined
> in the .qrc file.
>
> is there a kind of #ifdef to use in the .qrc file?
Not that I know of. I would instead create two resource files. One for the
normal app and one for the mobile version and conditionally compile the
correct one with some construct in the .pro file.
Cheers,
Sean
More information about the Qt-interest-old
mailing list