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. Qt compilation process
Forum Updated to NodeBB v4.3 + New Features

Qt compilation process

Scheduled Pinned Locked Moved General and Desktop
18 Posts 4 Posters 10.4k Views 1 Watching
  • 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.
  • sierdzioS Offline
    sierdzioS Offline
    sierdzio
    Moderators
    wrote on last edited by
    #9

    Maybe your implementation is different (it can be), but usually the main window does not inherit from the UI class... it only includes an object of that class as a private member.

    QT_BEGIN_NAMESPACE is pretty much Qt-internal. It can be used when you want to compile Qt inside a namespace, AFAIK.

    (Z(:^

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tamilhce
      wrote on last edited by
      #10

      I didn't understand properly, could you please explain with some example if possible.Thanks in advance.

      1 Reply Last reply
      0
      • JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #11

        Hi,

        There are different ways for Qt Designer to generate C++ code, all described at http://qt-project.org/doc/qt-5.1/qtdesigner/designer-using-a-ui-file.html

        Sierdzio's example used the "member variable" approach, while tamilhce's example used the "inheritance" approach. Both are valid. You can choose your preferred approach in Qt Creator's settings: Tools -> Options -> Designer -> Class Generation -> Embedding of the UI Class

        QT_BEGIN_NAMESPACE and QT_END_NAMESPACE are not meant to be used by developers. You can pretend that they don't exist. ;)

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tamilhce
          wrote on last edited by
          #12

          Hi Everyone,

          Thanks for your information, Now i understand how ti actually works.

          Regards,

          Tamil

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tamilhce
            wrote on last edited by
            #13

            Hi
            I want to develop a simple windows desktop application,which will has to capture bio-metric sensor connected to the pc in windows platform . The bio-metric vendor has provided api() in Acticex, .Net & java to which i can connect to bio-metric sensor to capture , store,show&compare bio-metric images etc.My questions are :

            i) how can I integrate the given api() in my Qt appication (in windows) to capture and display the bio-metric image

            ii) which of the package is easy to integrate with Qt (for windows desktop application) i) Active X ii) .Net iii)Java
            iii) if possible give me simple example to integrate third party api() with Qt ,which can be helpful for my development.I have made this as separate post but didn't get any reply

            Thanks in Advance,
            Regards,
            Tamil

            1 Reply Last reply
            0
            • JKSHJ Offline
              JKSHJ Offline
              JKSH
              Moderators
              wrote on last edited by
              #14

              Hi,

              Please wait at least 2 days before re-posting. SGaist replied to your other post within 10 hours, which is very fast already (remember that some people might be asleep or busy when you post). Give his advice a try, and post any follow-up questions in the other thread.

              Good luck.

              Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

              1 Reply Last reply
              0
              • T Offline
                T Offline
                tamilhce
                wrote on last edited by
                #15

                HI

                I am successfully integrated bio metric device with Qt through Activex, The Qt help documentation is really awesome.Thanks for your valuable reply .special thanks to sierdzio, who helps me to understand the fundamentals in a better way .

                Regards,
                Tamil

                1 Reply Last reply
                0
                • sierdzioS Offline
                  sierdzioS Offline
                  sierdzio
                  Moderators
                  wrote on last edited by
                  #16

                  I'm happy to hear that. Have fun with Qt, like we all do :)

                  (Z(:^

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    tamilhce
                    wrote on last edited by
                    #17

                    Hi sierdzio,

                    I using Qt gui , and yet to try Qt Quick, which one will give good flexibility.

                    1 Reply Last reply
                    0
                    • sierdzioS Offline
                      sierdzioS Offline
                      sierdzio
                      Moderators
                      wrote on last edited by
                      #18

                      Both. They have different target markets, so to speak. Once you learn how Qt works and are quite happy with QtWidgets, do try QtQuick. When you know both decently well, you will also be able to decide which one to choose :)

                      Sorry I won't give you any more definite answer here. I really think both technologies are good and very useful, but for different use cases.

                      (Z(:^

                      1 Reply Last reply
                      0

                      • Login

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