[Qt-interest] How to define string constants in .pro file

Md. Enzam Hossain meenzam at gmail.com
Sat Nov 27 23:19:40 CET 2010


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 --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101128/d79e3f1c/attachment.html 


More information about the Qt-interest-old mailing list