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

No .pro

Scheduled Pinned Locked Moved Solved General and Desktop
procompile c++cmake
8 Posts 3 Posters 3.5k 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.
  • T Offline
    T Offline
    Technologist
    wrote on 29 Mar 2017, 20:26 last edited by
    #1

    Its been a while to Qt: In trying to compile a simple c++ app I can only do so with a "desktop solution" offered by the IDE because "no valid kits were found". CMake isn't an option. My understanding is that to have a .pro file for your project you have to compile with cmake. I looked at the build and run options by following the links provided. I've got a working mingw32 toolchain. I've got 2 versions of eclipse working well. If somebody please help, I would appreciate it.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 29 Mar 2017, 20:31 last edited by
      #2

      Hi,

      Might be a silly question but do you have any version of Qt installed on your machine ?

      The "no valid kits found" lets suppose that you only have Qt Creator installed.

      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
      • T Offline
        T Offline
        Technologist
        wrote on 29 Mar 2017, 20:59 last edited by
        #3

        I installed the Qt creator first, then an actual Qt bundle after that, about 2gigs a couple of hour later.

        1 Reply Last reply
        0
        • T Offline
          T Offline
          Technologist
          wrote on 29 Mar 2017, 21:05 last edited by
          #4

          To be more specific I installed Qt Creator 4.2.1 first - then qt-opensource-windows-x86-mingw530-5.8.0

          1 Reply Last reply
          0
          • T Offline
            T Offline
            Technologist
            wrote on 29 Mar 2017, 21:37 last edited by
            #5

            Ok, I had to manually set the kit options in order for the cmake to take and the .pro to go. Awesome!

            Plz I would like some info - compiler c++ minGw is set to 32 bits with the option of 64. Where do I leave it?
            C says "no compiler". Another option is the "mingw 32 bit" drop down. Do I leave this?

            Finally, somewhat unrelated, in another IDE I use my MingW was 64 bit for C++ and 32 bit for 32bit. Will this cause bitnedness issues?

            Thx in advance.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 29 Mar 2017, 22:02 last edited by
              #6

              There would have been no need to install Qt Creator package first. The Qt SDK installers provide Qt Creator. You should use that one which should have all the configuration correctly done.

              Qt for MinGW currently comes only pre-built for 32bit.

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

              T 1 Reply Last reply 30 Mar 2017, 01:47
              0
              • S SGaist
                29 Mar 2017, 22:02

                There would have been no need to install Qt Creator package first. The Qt SDK installers provide Qt Creator. You should use that one which should have all the configuration correctly done.

                Qt for MinGW currently comes only pre-built for 32bit.

                T Offline
                T Offline
                Technologist
                wrote on 30 Mar 2017, 01:47 last edited by
                #7

                @SGaist Hi, the SDK I installed after the Qt Creator has everything I need Qt Creator included. Am I "good to go" at this point or do I need to make any changes or reinstall anything? I wasn't aware Qt Creator was in both.

                J 1 Reply Last reply 30 Mar 2017, 04:28
                0
                • T Technologist
                  30 Mar 2017, 01:47

                  @SGaist Hi, the SDK I installed after the Qt Creator has everything I need Qt Creator included. Am I "good to go" at this point or do I need to make any changes or reinstall anything? I wasn't aware Qt Creator was in both.

                  J Online
                  J Online
                  jsulm
                  Lifetime Qt Champion
                  wrote on 30 Mar 2017, 04:28 last edited by
                  #8

                  @Technologist If your kit is now fine (no errors/warnings), then it should work. Just try.

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0

                  2/8

                  29 Mar 2017, 20:31

                  6 unread
                  • Login

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