[Qt-interest] conditional resource inclusion

Yuvraaj Kelkar yuvraaj at gmail.com
Wed Jan 12 18:14:38 CET 2011


No, but you can define another qrc specific to your mobile platform
and conditionally include it into your binary by using scopes in your
pro file. For example, if your mobile platform is symbian, do
something like:

symbian {
   RESOURCES += mobile_only.qrc
}

On Wed, Jan 12, 2011 at 9:02 AM, pmqt71 <pmqt71 at gmail.com> 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
>
>



More information about the Qt-interest-old mailing list