Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    [Moved] third party definition

    General and Desktop
    4
    12
    5116
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      Polto last edited by

      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

      Polto

      1 Reply Last reply Reply Quote 0
      • A
        anselmolsm last edited by

        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.

        Anselmo L. S. Melo (anselmolsm)

        1 Reply Last reply Reply Quote 0
        • S
          Smar last edited by

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

          1 Reply Last reply Reply Quote 0
          • D
            DenisKormalev last edited by

            Hm, again dev-related topic is in Qt in Education.

            2Anyone who has rights here: move it to Desktop, please.

            1 Reply Last reply Reply Quote 0
            • S
              Smar last edited by

              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?

              1 Reply Last reply Reply Quote 0
              • A
                anselmolsm last edited by

                [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 :-)

                Anselmo L. S. Melo (anselmolsm)

                1 Reply Last reply Reply Quote 0
                • D
                  DenisKormalev last edited by

                  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.

                  1 Reply Last reply Reply Quote 0
                  • S
                    Smar last edited by

                    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 :/

                    1 Reply Last reply Reply Quote 0
                    • D
                      DenisKormalev last edited by

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

                      1 Reply Last reply Reply Quote 0
                      • S
                        Smar last edited by

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

                        1 Reply Last reply Reply Quote 0
                        • D
                          DenisKormalev last edited by

                          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 .

                          1 Reply Last reply Reply Quote 0
                          • ?
                            Guest last edited by

                            moving to Desktop forum

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post