Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Moved] third party definition
Forum Update on Monday, May 27th 2025

[Moved] third party definition

Scheduled Pinned Locked Moved General and Desktop
12 Posts 4 Posters 5.7k Views
  • 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 Offline
    P Offline
    Polto
    wrote on 31 Oct 2010, 04:02 last edited by
    #1

    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
    0
    • A Offline
      A Offline
      anselmolsm
      wrote on 31 Oct 2010, 07:46 last edited by
      #2

      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
      0
      • S Offline
        S Offline
        Smar
        wrote on 31 Oct 2010, 11:16 last edited by
        #3

        [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
        0
        • D Offline
          D Offline
          DenisKormalev
          wrote on 31 Oct 2010, 11:41 last edited by
          #4

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

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

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Smar
            wrote on 31 Oct 2010, 15:06 last edited by
            #5

            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
            0
            • A Offline
              A Offline
              anselmolsm
              wrote on 31 Oct 2010, 15:33 last edited by
              #6

              [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
              0
              • D Offline
                D Offline
                DenisKormalev
                wrote on 31 Oct 2010, 15:51 last edited by
                #7

                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
                0
                • S Offline
                  S Offline
                  Smar
                  wrote on 31 Oct 2010, 15:55 last edited by
                  #8

                  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
                  0
                  • D Offline
                    D Offline
                    DenisKormalev
                    wrote on 31 Oct 2010, 16:40 last edited by
                    #9

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

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      Smar
                      wrote on 31 Oct 2010, 16:50 last edited by
                      #10

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

                      1 Reply Last reply
                      0
                      • D Offline
                        D Offline
                        DenisKormalev
                        wrote on 31 Oct 2010, 17:03 last edited by
                        #11

                        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
                        0
                        • ? This user is from outside of this forum
                          ? This user is from outside of this forum
                          Guest
                          wrote on 1 Nov 2010, 06:50 last edited by
                          #12

                          moving to Desktop forum

                          1 Reply Last reply
                          0

                          1/12

                          31 Oct 2010, 04:02

                          • Login

                          • Login or register to search.
                          1 out of 12
                          • First post
                            1/12
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Groups
                          • Search
                          • Get Qt Extensions
                          • Unsolved