[Moved] third party definition



  • what does third party mean? i see some new keywords like Q_SIGNALS , Q_SLOTS and i know how to use it?
    but i want a technical definition of it?
    thanks



  • 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.



  • I thought that learning would be correct forum for this kind of threads... But now when I look it, there is no correct subforum for this kind of entry. And how language bindings goes under learning anyway?



  • [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.



  • There should be subforum for Qt training then too? And maybe that forum name should be changed... I can't think less confusing name now though :/



  • It's all upp to admins (I'm not the one). I hope Marius will visit this page tomorrow.



  • Sure, but I suppose opinions of different people matters? :)



  • 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 .



  • moving to Desktop forum


Log in to reply
 

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