Yop,

You don't have to care about these defines. They are automatically set by qmake. Just configure your .pro and let qmake does its job.

For instance, you talked about QtNetwork module. Just add this line in your .pro file and qmake will add the QT_NETWORK_LIB building flag.


[HTML]QT += network[/HTML]


If you want to know which option to append to QT .pro file variable, just open the QtAssistant and type the module name in the "Look for" entry of the index tab (eg: QtNetwork for the above example).