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.3k 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.
  • TechnologistT Offline
    TechnologistT Offline
    Technologist
    wrote on 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
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on 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
      • TechnologistT Offline
        TechnologistT Offline
        Technologist
        wrote on 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
        • TechnologistT Offline
          TechnologistT Offline
          Technologist
          wrote on 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
          • TechnologistT Offline
            TechnologistT Offline
            Technologist
            wrote on 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
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on 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

              TechnologistT 1 Reply Last reply
              0
              • SGaistS SGaist

                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.

                TechnologistT Offline
                TechnologistT Offline
                Technologist
                wrote on 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.

                jsulmJ 1 Reply Last reply
                0
                • TechnologistT Technologist

                  @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.

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 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

                  • Login

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