Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. ERROR: Unsupported Build Type (Please Help!)
Forum Updated to NodeBB v4.3 + New Features

ERROR: Unsupported Build Type (Please Help!)

Scheduled Pinned Locked Moved Installation and Deployment
12 Posts 3 Posters 10.1k 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.
  • C Offline
    C Offline
    Chadleewalker
    wrote on last edited by
    #1

    I'm trying to build from source. I keep getting a lot of errors. I really don't know much about coding or C++. I got the source code for this project from a friend and the online directions say to use QT Creator to build it. It keeps saying "Unsupported Build Type"

    Error while parsing file C:/Users/Chad/Documents/GitHub/qgroundcontrol/qgroundcontrol.pro. Giving up.
    Cannot read C:/iwmake/build_mingw_opensource/mkspecs/default/qmake.conf: No such file or directory
    Could not read qmake configuration file C:/iwmake/build_mingw_opensource/mkspecs/default/qmake.conf.
    Could not find qmake configuration file default.
    Project MESSAGE: Qt version 5.2.1
    Project ERROR: Unsupported build type
    C:/Users/Chad/Desktop/qgroundcontrol/QGCExternalLibs.pri(419): Extra characters after test expression.
    C:/Users/Chad/Desktop/qgroundcontrol/QGCExternalLibs.pri(432): Assignment needs exactly one word on the left hand side.
    C:/Users/Chad/Desktop/qgroundcontrol/QGCExternalLibs.pri(435): Extra characters after test expression.
    C:/Users/Chad/Desktop/qgroundcontrol/QGCExternalLibs.pri(436): Extra characters after test expression.
    Cannot read C:/Users/Chad/Desktop/qgroundcontrol/user_config.pri: No such file or directory

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

      Hi and welcome to devnet,

      Did these sources come with a .pro.user file in them ? If so, close Qt Creator, remove that file and open the project.

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

        Thanks for replying.

        I have already removed the .pro.user file. I did some google searching to find that. I still get these errors.

        I tried making a new project to do a "Hello World" type tutorial and got an error that "QT version is not properly installed, please run make install"

        1 Reply Last reply
        0
        • Q Offline
          Q Offline
          qxoz
          wrote on last edited by
          #4

          I think you installed just a Qt Creator IDE, it is not enough, you need a whole Qt SDK for compiling Qt projects. Download it from "here":https://qt-project.org/downloads

          1 Reply Last reply
          0
          • C Offline
            C Offline
            Chadleewalker
            wrote on last edited by
            #5

            Whenever I try to download the "Qt 5.2.1 for Windows 64-bit (VS 2012, 556 MB)" My comp says its malicious and blocks it. I'm assuming I should download that one unless you mean something else. Idk why it would block it though.

            1 Reply Last reply
            0
            • Q Offline
              Q Offline
              qxoz
              wrote on last edited by
              #6

              If you use VS compiler so yes you need download this file. But if you don't have any compiler installed you can download "Qt 5.2.1 for Windows 32-bit ( MinGW 4.8, OpenGL, 634 MB ) ":http://download.qt-project.org/official_releases/qt/5.2/5.2.1/qt-opensource-windows-x86-mingw48_opengl-5.2.1.exe it contains MinGW compiler inside.

              1 Reply Last reply
              0
              • C Offline
                C Offline
                Chadleewalker
                wrote on last edited by
                #7

                Ah so does VS 2012 refer to Visual Studios 2012. I'm using Visual Studios 2013 and see no download for that.

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

                  They will be available for Qt 5.3 currently in beta "here":http://download.qt-project.org/development_releases/qt/5.3/

                  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
                  • C Offline
                    C Offline
                    Chadleewalker
                    wrote on last edited by
                    #9

                    So I downloaded Qt 5.3 and tried to run the hello world code but got the same error of "Qt version is not properly installed, please run make install." Looking at other posts about this, people said you need a higher version of qmake. And to alter your path to the new qmake directory. Can someone explain if this is what I need to do and how to do it? I don't even understand what they mean.

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

                      Did you properly configured Qt Creator ? Add that new version to the known Qt Versions and make kit using it ?

                      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
                      • C Offline
                        C Offline
                        Chadleewalker
                        wrote on last edited by
                        #11

                        Update: So I downloaded 5.3 and made sure that was the one being used. Specifically Qt 5.3.0 MSVC2013 OpenGL 32bit. I made a kit using this version, a compiler that works (Microsoft Visual C++ Compiler 12.0 (x86)) and I still get the Unsupported Build Type Error.

                        1 Reply Last reply
                        0
                        • C Offline
                          C Offline
                          Chadleewalker
                          wrote on last edited by
                          #12

                          Any help?

                          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