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. qt version issue/error with version for qgc
Forum Updated to NodeBB v4.3 + New Features

qt version issue/error with version for qgc

Scheduled Pinned Locked Moved Unsolved General and Desktop
17 Posts 5 Posters 1.0k 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.
  • Christian EhrlicherC Offline
    Christian EhrlicherC Offline
    Christian Ehrlicher
    Lifetime Qt Champion
    wrote on last edited by
    #7

    I'm not sure what exact Qt version you installed since you only told us the QtCreator version you are using but the error message tells you it's not Qt 5.15.

    Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
    Visit the Qt Academy at https://academy.qt.io/catalog

    1 Reply Last reply
    0
    • P Offline
      P Offline
      plad
      wrote on last edited by
      #8

      hey so let me clarify.I was using 5.15.2 at first and i didnt get the option to add kits and when i started using 5.12 then i had the option to select kits and configure my project in the creator interface.so now i want some guidance on why this is happening and how to fix this

      1 Reply Last reply
      0
      • Christian EhrlicherC Offline
        Christian EhrlicherC Offline
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on last edited by
        #9

        Show you kits settings and make sure that 5.15 is available there. Also make sure to start with a clean build dir.

        Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
        Visit the Qt Academy at https://academy.qt.io/catalog

        1 Reply Last reply
        0
        • P Offline
          P Offline
          plad
          wrote on last edited by
          #10

          hey so ive installed the stable version 4.4.0 from the repository and im getting c++ compiler error stating that there isa c++ source file but no c++ compiler.So i think its a problem in kit configuration ill also share an image of my kit settings

          C 1 Reply Last reply
          0
          • P plad

            hey so ive installed the stable version 4.4.0 from the repository and im getting c++ compiler error stating that there isa c++ source file but no c++ compiler.So i think its a problem in kit configuration ill also share an image of my kit settings

            C Offline
            C Offline
            ChrisW67
            wrote on last edited by
            #11

            @plad Your build is complaining because the Kit (the set of compilers, Qt libraries and settings) that you are you are building your project with includes a version of Qt libraries other than 5.15.x. This is unrelated to the (ancient) version of Qt Creator you have (i.e. the 4.8.2 and 4.4.0 version you have quoted), only the Kits you have defined and selected for your project.
            You need to select the a Kit referencing Qt 5.15+, defining it if needed.

            There's no reason you should not be using the latest version of Qt Creator supported on your platform (13+).

            1 Reply Last reply
            0
            • P Offline
              P Offline
              plad
              wrote on last edited by
              #12

              23fc9b9b-9d17-4cf7-91ef-21ece20fa2f1.jpg

              be142f5f-e19f-4290-ba07-7a32de2a9763.jpg

              9a845528-a3f3-4ff2-969d-ce9c81e9bd94.jpg

              7e3819dc-dafa-452d-b9ef-32855dc0c1f2.jpg

              jsulmJ 1 Reply Last reply
              0
              • P plad

                23fc9b9b-9d17-4cf7-91ef-21ece20fa2f1.jpg

                be142f5f-e19f-4290-ba07-7a32de2a9763.jpg

                9a845528-a3f3-4ff2-969d-ce9c81e9bd94.jpg

                7e3819dc-dafa-452d-b9ef-32855dc0c1f2.jpg

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #13

                @plad Please select the Kit you're using and show its configuration. Especially what compiler is set there.

                "ive installed the stable version 4.4.0" - of what?

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

                P 1 Reply Last reply
                0
                • C Offline
                  C Offline
                  ChrisW67
                  wrote on last edited by
                  #14

                  @You said

                  hey so im using qt 5.15.2

                  The only healthy kit you have for Qt is 5.15.17 using the MingW tool chain.

                  You need to select that kit to build your project with. That is something you seem to have failed to do.

                  b4d79d35-d164-49c5-a5ca-3c0df0033a75-image.png

                  @ I said

                  unrelated to the (ancient) version of Qt Creator you have (i.e. the 4.8.2 and 4.4.0 version you have quoted)

                  Ok, so these are versions for qgc.

                  P 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @plad Please select the Kit you're using and show its configuration. Especially what compiler is set there.

                    "ive installed the stable version 4.4.0" - of what?

                    P Offline
                    P Offline
                    plad
                    wrote on last edited by
                    #15

                    @jsulm ive installed the stable 4.4 version of the qgroundcontrol source files from the qgc guide from github.The compiler doesnt get seleted which is the problem im facing.

                    1 Reply Last reply
                    0
                    • C ChrisW67

                      @You said

                      hey so im using qt 5.15.2

                      The only healthy kit you have for Qt is 5.15.17 using the MingW tool chain.

                      You need to select that kit to build your project with. That is something you seem to have failed to do.

                      b4d79d35-d164-49c5-a5ca-3c0df0033a75-image.png

                      @ I said

                      unrelated to the (ancient) version of Qt Creator you have (i.e. the 4.8.2 and 4.4.0 version you have quoted)

                      Ok, so these are versions for qgc.

                      P Offline
                      P Offline
                      plad
                      wrote on last edited by
                      #16

                      @ChrisW67 its a part of the issue where im not able to select the valid kit which is 5.15.7.There is an error stating ithat i have to use 2017 visual studio 64 bit

                      jsulmJ 1 Reply Last reply
                      0
                      • P plad

                        @ChrisW67 its a part of the issue where im not able to select the valid kit which is 5.15.7.There is an error stating ithat i have to use 2017 visual studio 64 bit

                        jsulmJ Offline
                        jsulmJ Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on last edited by jsulm
                        #17

                        @plad said in qt version issue/error with version for qgc:

                        error stating ithat i have to use 2017 visual studio 64 bit

                        That suggests that you installed Qt for MSVC, not MinGW. Fix that first.
                        Or qgroundcontrol does not support MinGW and requires MSVC, in that case use Qt for MSVC.

                        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