[Qt-interest] How to define string constants in .pro file
Constantin Makshin
cmakshin at gmail.com
Sun Nov 28 21:31:58 CET 2010
I had the same problem some time ago, but couldn't find any solution. I suspect Symbian toolchain just doesn't support defining text macros through compiler command line options.
On Sunday 28 November 2010 01:19:40 Md. Enzam Hossain wrote:
> Hi, I am trying to define a constant in .pro file like
> DEFINES = MY_DEFINE=\\\"VALUE OF MY_DEFINE\\\"
>
> But compiling for symbian generates an error on .mmp file in the line -
> MACRO MY_DEFINE=\"VALUE OF MY_DEFINE\"
>
> Is there any other way to define the variable?
>
> --Enzam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101128/8e620119/attachment.bin
More information about the Qt-interest-old
mailing list