[Solved] Qt Creator Run button disabled



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


  • Moderators

    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.



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


  • Moderators

    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?



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


  • Lifetime Qt Champion

    Hi,

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



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



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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.