[Moved] third party definition
-
3rd party component/library is a externally developed thing, i.e., it's used by Qt or can be used with Qt, but it's not developed as part of Qt (ok, ok, Qt-WebKit is in src/3rdparty/webkit/, maybe it's the exception =).
The description of Q_SIGNAL(S) and Q_SLOT(S) is in the "QObject docs":http://doc.trolltech.com/4.7/qobject.html#Q_SIGNAL, there is a section i "Signals and Slots":http://doc.trolltech.com/4.7/signalsandslots.html#3rd-party-signals-and-slots regarding the use of 3rd party signals & slots mechanism.
In a nutshell: You can develop a project mixing Qt and a 3rd party library that also provides a signal & slots mechanism. In certain cases you would want to use the 3rd party's mechanism, in other cases you would prefer continue using the Qt one: that's when you use these macros.
Why?
Because in such scenario (CONFIG += no_keywords), moc won't do anything with the keywords signals, slots and emit, leaving this task to the 3rd party library. moc will deal only with the ones you explicitly say 'I want to use Qt here', i.e., use the aforementioned macros. -
[quote author="anselmolsm" date="1288511168"]
3rd party component/library is a externally developed thing, i.e., it's used by Qt or can be used with Qt, but it's not developed as part of Qt (ok, ok, Qt-WebKit is in src/3rdparty/webkit/, maybe it's the exception =).
[/quote]Actually, qt-webkit is developed outside of Qt tree, so it fits more naturally to 3rd party dir than actual source dir.
-
Hm, again dev-related topic is in Qt in Education.
2Anyone who has rights here: move it to Desktop, please.
-
[quote author="Smar" date="1288523797"]
Actually, qt-webkit is developed outside of Qt tree, so it fits more naturally to 3rd party dir than actual source dir.[/quote]Yes, it is. The development goes directly to Webkit's repository, then a snapshot goes to src/3rdparty.
Well, I put it as a 'exception' just 'cause if you compare Qt-Webkit with libpng, for example, one would say 'Qt-Webkit is related with Qt'... Ok, maybe this level of details could be left out of my answer :-) -
Smar, Learning is forum about using Qt in Learning or for certification things or for Qt Trainings. Good note about Bindings category (Marius, this note is for you).
Currently Desktop category is used for all common questions about Qt, so this thread fits Desktop category. -
It's all upp to admins (I'm not the one). I hope Marius will visit this page tomorrow.
-
Of course. But not sure Learning name should be changed. It is name of "part of Qt.nokia.com site ":http://qt.nokia.com/developer/learning .