Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. I cannot configure my projects or build my projects in Qt Creator 2.5.8 but I can in 2.4.1
Forum Updated to NodeBB v4.3 + New Features

I cannot configure my projects or build my projects in Qt Creator 2.5.8 but I can in 2.4.1

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
13 Posts 4 Posters 80.7k Views 1 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.
  • V Offline
    V Offline
    vincegata
    wrote on 5 Sept 2012, 16:24 last edited by A Former User 3 Feb 2017, 21:36
    #1

    Hello,

    I want to use Qt Creator 2.5.8 because it can work with gnome-terminal however when I opened my projects in 2.5.8 I cannot build them, when I go to ->Projects I get a message:

    "Qt Creator can use the following kits for project FixEngine:
    No valid kits found

    The project FixEngine is not yet configured.
    Qt Creator uses the kit Desktop to parse the project.
    Please add the kit in the Options or via the maintenance tool in SDK."

    When I do Import Build From it says FixEngine.pro is not found but it is there, this is how 2.4.1 works.

    Any ideas how to fix this?

    Thank you.

    Edit: I am on Ubuntu, I am using my own makefiles and non of the Qt stuff. I just want Qt Creator to pick up my makefiles to build the projects.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 6 Sept 2012, 06:41 last edited by
      #2

      There is no Qt Creator 2.5.8. The newest stable is 2.5.2. If you are using the unstable 2.6, the version reported would be 2.5.81, or 2.6.81 for master branch.

      I don't quite know what kits are you talking about, but since you are using your own makefiles, you can probably just ignore the "project is not configured" message, and proceed to Edit tab on the left pane.

      And if you really want to configure, you need to set it up by hand - choose how to use qmake, if you are using it, and specify make commands.

      (Z(:^

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tobias.hunger
        wrote on 6 Sept 2012, 11:55 last edited by
        #3

        Please go to Tools->Options->Build & Run->Kits and set up one kit to use. At least fill in the device type, device (most likely desktop) as well as the tool chain and debugger. For qmake-based projects you will also need a qt version and mkspec (which can be empty if you are ok with the default one).

        You might need to define Qt versions and tool chains first (other tabs on the same options page).

        Creator needs this information to know how to parse your compile output and debug the results.

        1 Reply Last reply
        0
        • V Offline
          V Offline
          vincegata
          wrote on 16 Sept 2012, 19:31 last edited by
          #4

          [quote author="Tobias Hunger" date="1346932532"]Please go to Tools->Options->Build & Run->Kits and set up one kit to use. At least fill in the device type, device (most likely desktop) as well as the tool chain and debugger. For qmake-based projects you will also need a qt version and mkspec (which can be empty if you are ok with the default one).

          You might need to define Qt versions and tool chains first (other tabs on the same options page).

          Creator needs this information to know how to parse your compile output and debug the results.[/quote]

          It worked - thank you.

          To set up a kit I had to specify a path to qmake, which I do not use. I wish there was an easier way to set up projects for us who do not use any of "Qt", on the other hand I do not do it very often.

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tobias.hunger
            wrote on 17 Sept 2012, 08:09 last edited by
            #5

            vincegata: With kits you don't need to give a Qt version, provided you do not use qmake to build your project.

            1 Reply Last reply
            0
            • V Offline
              V Offline
              vincegata
              wrote on 17 Sept 2012, 17:29 last edited by
              #6

              I had to, o.w. it took me to configure kit every time I clicked on Projects.

              1 Reply Last reply
              0
              • T Offline
                T Offline
                tobias.hunger
                wrote on 18 Sept 2012, 13:37 last edited by
                #7

                As I said: "With kits you don’t need to give a Qt version, provided you do not use qmake to build your project."

                You are using qmake to build your project.

                1 Reply Last reply
                0
                • V Offline
                  V Offline
                  vincegata
                  wrote on 18 Sept 2012, 17:18 last edited by
                  #8

                  I certainly do not use qmake to build my projects, I never did, I use my own makefiles with Linux's make.

                  1 Reply Last reply
                  0
                  • V Offline
                    V Offline
                    vincegata
                    wrote on 18 Sept 2012, 17:35 last edited by
                    #9

                    [quote]As I said: “With kits you don’t need to give a Qt version, provided you do not use qmake to build your project.”
                    You are using qmake to build your project.[/quote]

                    I went to Projects and clicked on Manage Kits, set Qt version to None, clicked on Edit and then I clicked back on Projects now it says "No build options available".

                    I went back to Manage Kits, set Qt version to 4.7.4 (is the only available in dropdown) now I can configure my build settings. When I configure build settings I remove everything that's set by default and add Custom Build Process and type for Command: make; for Arguments: FixEngine. FixEngine is my project for which I set up my makefile.

                    Hence, I use qmake or not, it does forces me to set Qt version.

                    1 Reply Last reply
                    0
                    • T Offline
                      T Offline
                      tobias.hunger
                      wrote on 19 Sept 2012, 09:09 last edited by
                      #10

                      Your post mentioned FixEngine.pro, which does look like a qmake file. qmake generates Makefiles from that which are then used by make to actually build the whole thing.

                      1 Reply Last reply
                      0
                      • V Offline
                        V Offline
                        vincegata
                        wrote on 19 Sept 2012, 14:16 last edited by
                        #11

                        I see now, I thought *.pro files are the project files that are Qt-agnostic.

                        1 Reply Last reply
                        0
                        • B Offline
                          B Offline
                          bagustris
                          wrote on 24 May 2013, 20:18 last edited by
                          #12

                          I have the same problem, the solution didn't solve my problem.
                          Here is I got when set up kit in tools --> option -->Build & Run:

                          qt version --> none

                          I got this problem after upgrading from qt4 to qt5.
                          Anyone knows how to add qt version in this kit setup>

                          1 Reply Last reply
                          0
                          • T Offline
                            T Offline
                            tobias.hunger
                            wrote on 25 May 2013, 07:07 last edited by
                            #13

                            bagustris: Please do not abduct other people's posts with your own. Open a new thread instead.

                            Having said so: If there are no Qt versions defined, add some:)

                            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