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. Kit selection through project

Kit selection through project

Scheduled Pinned Locked Moved Solved General and Desktop
10 Posts 4 Posters 3.0k Views 3 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.
  • K Offline
    K Offline
    kumararajas
    wrote on last edited by
    #1

    Hi,

    I am sure that I can install multiple versions of Qt in my desktop and I can manually choose the kit in the preferences.

    Question is that, can we have this kit configuration stored as part of project?

    Meaning, when I load the project, choose the kit which was configured before.

    Is it possible?

    --Kumar

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

      Hi,

      Qt Creator stores that kind of information in your_project.pro.user so when you reopen it it should load it with your kit selection etc.

      Note that this file should not be part of your repository since it contains data specific to your machine and Qt installation that won't valid for someone else or simply for another platform you develop on.

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

      1 Reply Last reply
      2
      • K Offline
        K Offline
        kumararajas
        wrote on last edited by
        #3

        In .pro.user file, I do not see any configuration that indicates the kit selection.

        Can you help me with the screenshot or an example?

        Thank you Sam!

        --Kumar

        mrjjM 1 Reply Last reply
        0
        • K kumararajas

          In .pro.user file, I do not see any configuration that indicates the kit selection.

          Can you help me with the screenshot or an example?

          Thank you Sam!

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by mrjj
          #4

          @kumararajas
          What i did was
          Make default gui project use, first kit
          Save all and quit Creator
          Go to folder and make COPY of the *.user file
          Open project again and change kit
          Close Creator

          use tool to compare copy of .user and the .user file
          like http://winmerge.org/?lang=en

          Then it was really clear.

          anyway

          <variable>ProjectExplorer.Project.ActiveTarget</variable>
          <value type="int">1</value>
          </data>

          points to the kit and

          <variable>ProjectExplorer.Project.Target.1</variable>

          define the kit

          Start with 0 (zero)

          1 Reply Last reply
          3
          • K Offline
            K Offline
            kumararajas
            wrote on last edited by
            #5

            That's sweet.

            Thanks a lot for the clear explanation. Makes me clear!

            --Kumar

            1 Reply Last reply
            0
            • V Offline
              V Offline
              veera
              wrote on last edited by
              #6

              Hi All,
              I am trying to install latest version of qt using online qt run on my another ubuntu 16.04 LTS 64 bit .....it was successfully installed took 8 hours ...i configured the path is Home only in Qt directory there are lot of qt versions are there while trying check the qt version is qmake --version is 5.5 and i am trying to connect mssql server through qt application it is coming as intermixing of qt version and installed odbc driver successfully....

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

                @veera I already kindly asked you here to stop highjacking other people thread with your unrelated questions. So again: stop.

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

                1 Reply Last reply
                4
                • V Offline
                  V Offline
                  veera
                  wrote on last edited by veera
                  #8

                  Hello SGaist,
                  I am new to Qt gui programming so i am facing the problem i did not understand how to solve this problem so i posted ....if you don't want answer this question instead of telling "stop highjacking other people thread with your unrelated question" somebody will answer .if you have answer tell me otherwise leave it bro....

                  K 1 Reply Last reply
                  0
                  • V veera

                    Hello SGaist,
                    I am new to Qt gui programming so i am facing the problem i did not understand how to solve this problem so i posted ....if you don't want answer this question instead of telling "stop highjacking other people thread with your unrelated question" somebody will answer .if you have answer tell me otherwise leave it bro....

                    K Offline
                    K Offline
                    kumararajas
                    wrote on last edited by
                    #9

                    @veera said in Kit selection through project:

                    I am new to Qt gui programming so i am facing the problem i did not understand how to solve this problem so i posted ....if you don't want answer this question instead of telling "stop highjacking other people thread with your unrelated question" somebody will answer .if you have answer tell me otherwise leave it bro....

                    All that Sam was saying is not to pick any post and add your question. The reason is "maintainability". Tomorrow when some want to surf for the answer for specific problem, it will be much confusing. That's one of the reason that Sam did not answer your question here. Highly recommend you to create a new post and ask your question. Do not ask a different question in a on going conversation.

                    --Kumar

                    1 Reply Last reply
                    4
                    • V Offline
                      V Offline
                      veera
                      wrote on last edited by
                      #10

                      Okay bro now On wards i will make new posts .....

                      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