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

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 468 Views 2 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.
  • D Offline
    D Offline
    Dmitry.Sokolov
    wrote on 28 Feb 2020, 20:16 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 28 Feb 2020, 20:25 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 28 Feb 2020, 20:33
      2
      • S SGaist
        28 Feb 2020, 20:25

        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 28 Feb 2020, 20:33 last edited by
        #3

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

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 28 Feb 2020, 20:36 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 28 Feb 2020, 20:51
          1
          • F Offline
            F Offline
            fcarney
            wrote on 28 Feb 2020, 20:50 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
            • S SGaist
              28 Feb 2020, 20:36

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

              D Offline
              D Offline
              Dmitry.Sokolov
              wrote on 28 Feb 2020, 20:51 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
              • F Offline
                F Offline
                fcarney
                wrote on 28 Feb 2020, 20:53 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

                2/7

                28 Feb 2020, 20:25

                5 unread
                • Login

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