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. Is there a way to configure Qt project (.pro) to use specific Qt Kit using command line?
QtWS25 Last Chance

Is there a way to configure Qt project (.pro) to use specific Qt Kit using command line?

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 3 Posters 452 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.
  • D Offline
    D Offline
    Dmitry.Sokolov
    wrote on last edited by
    #1

    I mean these settings:

    qt_proj.png

    Is there a tool like sdktool but for configuring projects?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      AFAIK, no. The most simple is to use the full path to the qmake version of the kit you want to use.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      D 1 Reply Last reply
      2
      • SGaistS SGaist

        Hi,

        AFAIK, no. The most simple is to use the full path to the qmake version of the kit you want to use.

        D Offline
        D Offline
        Dmitry.Sokolov
        wrote on last edited by
        #3

        Hi,
        Will it create a .pro.user file? Or just qmake build files?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          No, .pro.user files are Qt Creator generated.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          D 1 Reply Last reply
          1
          • fcarneyF Offline
            fcarneyF Offline
            fcarney
            wrote on last edited by
            #5

            Under windows you use the shell for the kit. There is a 5.12.5 shell for instance in the Qt menu added to the application menus of Windows. Not sure how to do that in Linux.

            C++ is a perfectly valid school of magic.

            1 Reply Last reply
            0
            • SGaistS SGaist

              No, .pro.user files are Qt Creator generated.

              D Offline
              D Offline
              Dmitry.Sokolov
              wrote on last edited by
              #6

              My goal is to install Qt Version, create Qt Kit for it, and configure the project to use this kit, so that I do not have to do it manually in Qt Creator.

              1 Reply Last reply
              0
              • fcarneyF Offline
                fcarneyF Offline
                fcarney
                wrote on last edited by
                #7

                I have no idea how to do that. Maybe look at the source for Qt Creator to see how it does this?

                C++ is a perfectly valid school of magic.

                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