# How to define macro in .pro file to be passed to be generated in symbian mmp file?

• Dear All,
I need to define couple of macros in .pro file so these could get defined in mmp file which gets generated by QT for symbian SDK. This macro is eventually used in the C library that I am using with a hello project. I have tried using Carbide C++ 2.7 and QT Creator along with QT for symbian SDK, but have not been able to find a way to fulfill the above scenario.
Any help in this regard is much appreciated in advance!

• For Macro with name MACRONAME and value 1, it can be done the following way!
symbian {

DEFINES +=MACRONAME="1"
}

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.