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. [Solved] Qt Creator Run button disabled

[Solved] Qt Creator Run button disabled

Scheduled Pinned Locked Moved General and Desktop
9 Posts 4 Posters 10.9k Views
  • 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
    TheDestroyer
    wrote on 22 Jan 2014, 12:47 last edited by
    #1

    Hello everyone,

    the run button of Qt Creator is disabled. I tried to find some options that would solve the problem but I "Build & Run" options don't seem to have something that would've triggered the problem.

    I downloaded Qt Creator separately, and I'm using different versions of Qt that I compiled on my own.

    Please advise.

    Thank you.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 22 Jan 2014, 13:00 last edited by
      #2

      Your project needs to be configured. Either remove .pro.user file from your project folder, or go into project options and see if it is configured.

      (Z(:^

      1 Reply Last reply
      0
      • T Offline
        T Offline
        TheDestroyer
        wrote on 22 Jan 2014, 13:24 last edited by
        #3

        Hello,

        thank you for your reply. I did remove the .pro.user file, and I still face this problem. I tried many different projects and they all yield the same problem.

        Can you please explain what part of the Project Options has to be "configured"? The word "configured" is very general and isn't clear for me.

        Regards.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sierdzio
          Moderators
          wrote on 22 Jan 2014, 13:29 last edited by
          #4

          In that case something else must be wrong. By "configure" I mean that a fresh project added to Qt creator will automatically prompt you to configure it: it is a button clearly visible in the Projects pane, and it is enough to just click it. But if deleting .pro.user and reconfiguring, I think something else is going on.

          Have you changed anything in your setup lately? Do all Kits contain a compiler and Qt version?

          (Z(:^

          1 Reply Last reply
          0
          • T Offline
            T Offline
            TheDestroyer
            wrote on 22 Jan 2014, 14:31 last edited by
            #5

            The compilation is OK. I have VS2010 and VS2012 and I have Qt 4.8.5 and 5.2 for both VS versions. All this works with no problems, but run button is disabled. What I did recently is compile those Qt versions from sources and add them to Qt Creator, which is independent of the Qt sources.

            Following is an example of the Qt versions I use.

            @
            Name:
            Qt 5.2.0 (Qt5.2.0_32_VS2010_static)
            ABI:
            x86-windows-unknown-pe-32bit
            Source:
            D:\Qt\Qt5.2.0_32_VS2010_static\qtbase
            mkspec:
            win32-msvc2010
            qmake:
            D:\Qt\Qt5.2.0_32_VS2010_static\qtbase\bin\qmake.exe
            Default:
            debug
            Version:
            5.2.0
            QMAKE_SPEC
            win32-msvc2010
            QMAKE_VERSION
            3.0
            QMAKE_XSPEC
            win32-msvc2010
            QT_HOST_BINS
            D:\Qt\Qt5.2.0_32_VS2010_static\qtbase\bin
            QT_HOST_DATA
            D:\Qt\Qt5.2.0_32_VS2010_static\qtbase
            QT_HOST_LIBS
            D:\Qt\Qt5.2.0_32_VS2010_static\qtbase\lib
            QT_HOST_PREFIX
            D:\Qt\Qt5.2.0_32_VS2010_static\qtbase
            QT_INSTALL_ARCHDATA
            D:\Qt\Qt5.2.0_32_VS2010_static\qtbase
            QT_INSTALL_BINS
            D:\Qt\Qt5.2.0_32_VS2010_static\qtbase\bin
            QT_INSTALL_CONFIGURATION

            QT_INSTALL_DATA
            D:\Qt\Qt5.2.0_32_VS2010_static\qtbase
            QT_INSTALL_DEMOS
            D:\Qt\Qt5.2.0_32_VS2010_static\qtbase\examples
            QT_INSTALL_DOCS
            D:\Qt\Qt5.2.0_32_VS2010_static\qtbase\doc
            QT_INSTALL_EXAMPLES
            D:\Qt\Qt5.2.0_32_VS2010_static\qtbase\examples
            QT_INSTALL_HEADERS
            D:\Qt\Qt5.2.0_32_VS2010_static\qtbase\include
            QT_INSTALL_IMPORTS
            D:\Qt\Qt5.2.0_32_VS2010_static\qtbase\imports
            QT_INSTALL_LIBEXECS
            D:\Qt\Qt5.2.0_32_VS2010_static\qtbase\bin
            QT_INSTALL_LIBS
            D:\Qt\Qt5.2.0_32_VS2010_static\qtbase\lib
            QT_INSTALL_PLUGINS
            D:\Qt\Qt5.2.0_32_VS2010_static\qtbase\plugins
            QT_INSTALL_PREFIX
            D:\Qt\Qt5.2.0_32_VS2010_static\qtbase
            QT_INSTALL_QML
            D:\Qt\Qt5.2.0_32_VS2010_static\qtbase\qml
            QT_INSTALL_TESTS
            D:\Qt\Qt5.2.0_32_VS2010_static\qtbase\tests
            QT_INSTALL_TRANSLATIONS
            D:\Qt\Qt5.2.0_32_VS2010_static\qtbase\translations
            QT_SYSROOT

            QT_VERSION
            5.2.0
            @

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 22 Jan 2014, 21:21 last edited by
              #6

              Hi,

              Did you update Qt Creator to 3.0.0 ? That version is needed to run 5.2.0

              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
                TheDestroyer
                wrote on 24 Jan 2014, 16:24 last edited by
                #7

                I didn't know that existed. I'll update and inform you. Thanks.

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  TheDestroyer
                  wrote on 24 Jan 2014, 16:27 last edited by
                  #8

                  Thank you for the suggestion. Installing Qt 3 solved the problem.

                  1 Reply Last reply
                  0
                  • Qibiron WhoQ Offline
                    Qibiron WhoQ Offline
                    Qibiron Who
                    wrote on 23 May 2020, 13:20 last edited by
                    #9

                    This Issue seems quite old, for anyone who just wanna bring their Qt Creator back to work, here is some tricks I learned from somewhere else, share with you.

                    Qt Creator Version: 4.11.0 Based on Qt 5.14.0
                    [quick solution]: right click <sources> folder under project tree, add some random file. After that the "Run" button activated again, this is definitely a Qt Creator bug.

                    The reason I come up with this Bug is: I added created new subproject for unit test, and I delete or remove it somehow, and the run button just not working anymore, even after I restart the Qt Creator, until I found the trick above somewhere in youtube.

                    I hope it helps any single one who is struggling.

                    1 Reply Last reply
                    2

                    • Login

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