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.
  • P Offline
    P Offline
    plad
    wrote on last edited by
    #1

    hey so im using qt 5.15.2 and when i am running the program im getting an error stating incompatible version use version 5.15.Im also not able to find the right source file .Can someone walk me through whats the best approach to getting my qgc .exe file.Right now i am using the .cmake file.Can someone help out w this issue?

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

      Hi and welcome to devnet,

      Are you talking about QGroundControl ?

      Likely on Windows ?

      Which version of Qt did you install ? MSVC ? MinGW ?
      How exactly are you trying to start your application ?

      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
      • P Offline
        P Offline
        plad
        wrote on last edited by
        #3

        hey thanks for replying so yes i am talking about qgroundcontrol,also im working on windows.Ive installed the msvc version.I am not very sure on what you mean by strting the application as im faily new to this.Im running QT creator version 4.8.2 which is based on 5.12.2 msvc 2015.Im starting the applicationdirectly from the qt creator interface.I have installed the github repository of the qgroundcontrol files which are available open source.So in the kit selection i have selected the qgroundcontrol.pro file from the qgroundcontrol stable version which i got from the github repository

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

          43a4d573-74ad-402d-86eb-c4120f8b2829.jpg

          im also pasting this reference image of how my tab looks like.im not able to build in this one.

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

            Isn't it obvious that you need Qt 5.15 instead 5.12 which you are using?

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

            P 1 Reply Last reply
            0
            • Christian EhrlicherC Christian Ehrlicher

              Isn't it obvious that you need Qt 5.15 instead 5.12 which you are using?

              P Offline
              P Offline
              plad
              wrote on last edited by
              #6
              This post is deleted!
              1 Reply Last reply
              0
              • 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