Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. I just don't understand Kits
Forum Updated to NodeBB v4.3 + New Features

I just don't understand Kits

Scheduled Pinned Locked Moved Solved The Lounge
12 Posts 4 Posters 5.2k 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.
  • RottenApplesSmellFunnyR Offline
    RottenApplesSmellFunnyR Offline
    RottenApplesSmellFunny
    wrote on last edited by
    #1

    Hello everybody. I am new to this community. I decided to use Qt because frankly I am a bit bored making C++ programs that run only on CLI.
    I am a student, so I still have a lot to learn, and also I guess I will make a lot of questions that probably sound stupid.
    This is a question about Kits. I understand what a Kit is, but I don't seem to find any information, formal or informal, about how to download a Kit and how it works exactly.

    I opened up Qt Creator for the first time and decided to follow the instructions here. All went well until I was asked to choose a Kit, of which I had non, apart from a "default" Kit called Desktop.
    I tried to install some other Kits, but as I said I can't find any useful and relevant information on the matter. This is why I have decided to make this post. I apologize if this is not the correct thread to post my question.

    Regarding my Qt Creator Version and other related information
    Running dpkg --list in my Gnome System prints out this image:
    0_1525784330880_Screenshot from 2018-05-08 15-56-20.png

    Also, here is the window that informs me of the nonexistence of Kits on my machine:
    0_1525784437702_Screenshot from 2018-05-08 15-59-38.png

    I hope I made myself clear, and that my question is reasonable. Thanks :)

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

      Hi and welcome to devnet,

      That's because there's no kit to download :)

      See the Checking Build And Run Settings and Adding Kits chapters from Qt Creator's documentation.

      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
      3
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        By the way, how did you install Qt ?

        From the short list you posted, you don't seem to have installed the development packages of the Qt modules from your distribution.

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

        RottenApplesSmellFunnyR 1 Reply Last reply
        1
        • SGaistS SGaist

          By the way, how did you install Qt ?

          From the short list you posted, you don't seem to have installed the development packages of the Qt modules from your distribution.

          RottenApplesSmellFunnyR Offline
          RottenApplesSmellFunnyR Offline
          RottenApplesSmellFunny
          wrote on last edited by RottenApplesSmellFunny
          #4

          @SGaist
          thanks for the quick reply. I downloaded a file named qt-unified-linux-x64-3.0.4-online.run from here.
          I used chmod to make the file executable and then run it. A Qt window poped up and I installed the Qt Creator without adding any packages or Kits or anything like that. Only the "Qt Creator" boxes where checked. There were many other boxes, some called "Android" etc. I hope I make myself clear.

          As for the "development packages", you are right, I don't seem to have any. Maybe I should have selected some packages form the installation window :/

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

            Lets slow down a bit.

            There's basically two possibilities when installing Qt:

            1. Use your distribution package manager to install the development environment that will match what you installed.
            2. Use the online installer like you did which doesn't require the Qt development packages from your distribution

            Number one should install everything you need to start developing.

            For number two, you need at least to have the build-essential package installed and the OpenGL development package from your distribution.

            Unless you deselected all of Qt's packages when using the installer, you should at least have gotten one for desktop development installed. If that's not the case (check the Qt Versions tab), you can start the maintenance tool application that you can find at the root of your Qt installation and add/remove Qt versions from there.

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

            RottenApplesSmellFunnyR 1 Reply Last reply
            2
            • SGaistS SGaist

              Lets slow down a bit.

              There's basically two possibilities when installing Qt:

              1. Use your distribution package manager to install the development environment that will match what you installed.
              2. Use the online installer like you did which doesn't require the Qt development packages from your distribution

              Number one should install everything you need to start developing.

              For number two, you need at least to have the build-essential package installed and the OpenGL development package from your distribution.

              Unless you deselected all of Qt's packages when using the installer, you should at least have gotten one for desktop development installed. If that's not the case (check the Qt Versions tab), you can start the maintenance tool application that you can find at the root of your Qt installation and add/remove Qt versions from there.

              RottenApplesSmellFunnyR Offline
              RottenApplesSmellFunnyR Offline
              RottenApplesSmellFunny
              wrote on last edited by RottenApplesSmellFunny
              #6

              @SGaist Thank you very much! It sounds much simpler now. I will try all that, and If something goes wrong then I will just reinstall the program.
              My Qt Versions tab has absolutely nothing ; neither in Auto Selected nor in Manual.

              I run the Maintenance Tool. Here it is:
              0_1525786595013_Screenshot from 2018-05-08 16-34-09.png

              Finally, this is all the boxes I was talking about.
              0_1525786634727_Screenshot from 2018-05-08 16-35-55.png

              and

              0_1525786674224_Screenshot from 2018-05-08 16-35-51.png

              Which ones should I download?
              by the way, this reply would have come much sooner, but it seems I can post one message every ten minutes until I reach 1 reputation :$

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

                You can go in the Qt 5.10.1 branch and select the desktop version.

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

                RottenApplesSmellFunnyR 1 Reply Last reply
                0
                • SGaistS SGaist

                  You can go in the Qt 5.10.1 branch and select the desktop version.

                  RottenApplesSmellFunnyR Offline
                  RottenApplesSmellFunnyR Offline
                  RottenApplesSmellFunny
                  wrote on last edited by
                  #8

                  @SGaist
                  Great. It's downloading right now. It makes more sense too, because it's 1.2 GB instead of a few hundred MB. Thanks a lot :)

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

                    You're welcome !

                    If you have it running now, please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution have been found :)

                    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
                    0
                    • RottenApplesSmellFunnyR RottenApplesSmellFunny

                      Hello everybody. I am new to this community. I decided to use Qt because frankly I am a bit bored making C++ programs that run only on CLI.
                      I am a student, so I still have a lot to learn, and also I guess I will make a lot of questions that probably sound stupid.
                      This is a question about Kits. I understand what a Kit is, but I don't seem to find any information, formal or informal, about how to download a Kit and how it works exactly.

                      I opened up Qt Creator for the first time and decided to follow the instructions here. All went well until I was asked to choose a Kit, of which I had non, apart from a "default" Kit called Desktop.
                      I tried to install some other Kits, but as I said I can't find any useful and relevant information on the matter. This is why I have decided to make this post. I apologize if this is not the correct thread to post my question.

                      Regarding my Qt Creator Version and other related information
                      Running dpkg --list in my Gnome System prints out this image:
                      0_1525784330880_Screenshot from 2018-05-08 15-56-20.png

                      Also, here is the window that informs me of the nonexistence of Kits on my machine:
                      0_1525784437702_Screenshot from 2018-05-08 15-59-38.png

                      I hope I made myself clear, and that my question is reasonable. Thanks :)

                      JKSHJ Offline
                      JKSHJ Offline
                      JKSH
                      Moderators
                      wrote on last edited by
                      #10

                      Hi, and welcome! I'm glad to see you've resolved your main issue.

                      @RottenApplesSmellFunny said in I just don't understand Kits:

                      I tried to install some other Kits, but as I said I can't find any useful and relevant information on the matter. This is why I have decided to make this post. I apologize if this is not the correct thread to post my question.

                      In case you're still curious, a "Kit" = "Qt version" + "Compatible compiler"

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

                      aha_1980A 1 Reply Last reply
                      2
                      • JKSHJ JKSH

                        Hi, and welcome! I'm glad to see you've resolved your main issue.

                        @RottenApplesSmellFunny said in I just don't understand Kits:

                        I tried to install some other Kits, but as I said I can't find any useful and relevant information on the matter. This is why I have decided to make this post. I apologize if this is not the correct thread to post my question.

                        In case you're still curious, a "Kit" = "Qt version" + "Compatible compiler"

                        aha_1980A Offline
                        aha_1980A Offline
                        aha_1980
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        @JKSH said in I just don't understand Kits:

                        In case you're still curious, a "Kit" = "Qt version" + "Compatible compiler"

                        (know-it-all) A Kit is a Qt version + a compatible compiler + a compatible debugger + additional CMake and Qbs settings ;)

                        Qt has to stay free or it will die.

                        SGaistS 1 Reply Last reply
                        1
                        • aha_1980A aha_1980

                          @JKSH said in I just don't understand Kits:

                          In case you're still curious, a "Kit" = "Qt version" + "Compatible compiler"

                          (know-it-all) A Kit is a Qt version + a compatible compiler + a compatible debugger + additional CMake and Qbs settings ;)

                          SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #12

                          @aha_1980 s/additional/optional/ ;)

                          Joking aside, the minimal Kit is indeed Qt + compatible compiler. Everything else is optional even though better to have at hand :)

                          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
                          0

                          • Login

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