[Qt-interest] conditional resource inclusion

pmqt71 pmqt71 at gmail.com
Wed Jan 12 18:25:48 CET 2011


Ok, but

since 2 files will be compiled (correct?), both files will be linked in the
executable? This is what I don't want.




2011/1/12 Constantin Makshin <cmakshin at gmail.com>

> Put those "mobile" resources to a separate .qrc file and add it to the
> project using regular QMake conditionals. Something like this:
>
> RESOURCES = common_resources.qrc
> symbian {
>    RESOURCES += symbian_resources.qrc
>    ...
>  }
>
> On Wednesday 12 January 2011 20: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?
> > thanks
> > pm
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110112/d423ff90/attachment.html 


More information about the Qt-interest-old mailing list