Qt Forum

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

    Solved User Interface Compiler (Uic) qt3 vs qt4/5, impl argument equivalence

    General and Desktop
    3
    5
    113
    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
      peterphonic last edited by

      I would like to know what happened to the -impl argument in qt4/5 that was available in qt3?

      qt3 : https://doc.qt.io/archives/3.3/uic.html
      qt5 : https://doc.qt.io/qt-5/uic.html

      This argument is gone from qt4 and 5 and I am wondering if there is an equivalence or it is just obsolete and not needed anymore in 4/5?

      thx

      Pl45m4 1 Reply Last reply Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion last edited by

        Hi and welcome to the forums.
        What did -impl do waaaay back then ?

        1 Reply Last reply Reply Quote 0
        • P
          peterphonic last edited by

          Generate implementation:

          uic [options] -impl <headerfile> <file>
          <headerfile> - name of the declaration file

          mrjj 1 Reply Last reply Reply Quote 0
          • mrjj
            mrjj Lifetime Qt Champion @peterphonic last edited by

            @peterphonic
            I think that's implicit now.

            1 Reply Last reply Reply Quote 1
            • Pl45m4
              Pl45m4 @peterphonic last edited by

              @peterphonic said in User Interface Compiler (Uic) qt3 vs qt4/5, impl argument equivalence:

              if there is an equivalence or it is just obsolete and not needed anymore in 4/5

              I guess it's not needed anymore. If I understood the Qt3 docs correctly, it was there to set a custom header file or name.
              Now, the class and uic will set up the header automatically.
              (mainWindow.h mainWindow.ui -> ui_mainWindow.h)


              If debugging is the process of removing software bugs, then programming must be the process of putting them in.

              ~E. W. Dijkstra

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