Hmm... Not sure myself, but if I am allowed to guess: None of your business. Noooo, this is not meant aggressive. It was meant: If they are not documented, or even found in a google search, they are not meant to be used directly and are at best only of interest for developers of Qt itself. Or for developers of programs like cmake. Or for unlucky people who for some strange reasons want or must write their Makefiles by hand. Normal users of Qt should probably view and treat them like private methods or variables: Hands off.
If you really are new to Qt and C++, don't waste your time with irrelevant stuff like that. In 99.9999% of all projects knowledge of those macros won't help you at all. Guido > Hello, > > First of all, let me say I am pretty new to this Qt and C++ thing. > > I recently adopted a Qt/C++ Linux desktop project. And I am currently > looking on qmake builds the project itself. > > /usr/lib/qt4/bin/moc -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED > -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore > -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. configdata.h -o > moc_configdata.cpp > > This is the moc that generated the C++ file. > > But qmake calls is it with all those macro definitions: > - QT_GUI_LIB > - QT_CORE_LIB > - QT_SHARED > > What do these macros do ? I've tried to google the terms but no luck. > Also how does qmake know when to call them ? Based on what terms ? > > Thanks in advance. > > -- > Regards, > Alfredo Palhares > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest > _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest