Build menu items not enabled.



  • Under Projects (left border) "No build settings available".

    When sitting in Edit mode, the Build drop-down menu is grayed out down to and including Cancel Build.

    What am I missing? I can Run the project.
    Could this be because of the recent bugs in release 3.3.1?

    Any help appreciated.


  • Lifetime Qt Champion

    Hi,

    Did you check that you have your Kits and Qt version properly setup ?



  • Under Build & Run,
    Kits, Name: Auto-Detected, Desktop Qt 5.4.1 MinGW 32Bit

    QT Versions
    C:\Qt\5.4\mingw491_32\bin\qmake.exe

    Compiler
    MinGW 4.9.1 32bit

    Debugger
    GNU gdb 7.8 for MinGW 4.9.1 32bit

    CMake
    Executable: empty

    When I open the 'Build & Run Kits Selector' under Build menu, It displays only the small black box in lower left corner with Project name: New, Kit: Desktop Qt 5.4.1 MinGW 32Bit , Deploy: Deploy locally, & Run: QML Scene.


  • Lifetime Qt Champion

    Which version of Qt Creator ?



  • Downloaded earler today.
    Version: 3.3.1, QT 5.4.1(MSCV 2010, 32 Bit), Built on Feb 20, 2015.

    I found an example that compiles, a clock. Produced an error on completion.

    !http://www.buy-fla.com/QT5_error.png(dll error)!

    Compile messages:
    Could not find qmake configuration file default.
    Error while parsing file C:/Qt/Examples/Qt-5.4/widgets/widgets/analogclock/analogclock.pro. Giving up.

    Then the Antivirus scanner popped up, scanned a while.

    The the Analogclock project did run, but can Not be run from the created analogclock.exe file. When the EXE is launched the QT5Cored.dll missing error occurs.

    The QT5Cored.dll is located in my: C:\Qt\5.4\mingw491_32\bin folder. QT installed it & doesn't know where it is.

    Removed & reinstalled QT with same results.



  • The Qt5Cored.dll error pops up when any of the Example project's executable files are run.

    Any assistance appreciated.



  • I now realize that QT does not automatically build a full .EXE Deployment package by default, as does U++ for example.

    Dependency Walker can be used to analyze an executable's dependencies (needed .dlls), to include them in a manually created deployment package.


  • Lifetime Qt Champion

    Indeed Qt Creator doesn't do that. It setup an environment for you so you can easily run your application from it.

    "Here":http://qt-project.org/wiki/Deploy_an_Application_on_Windows you have nice wiki entry that shows what to do to deploy your application. You can also take a look at the "Qt for Windows - Deployment" documentation.



  • Thanks Sgaist
    I do understand the deployment and guide, but that doesn't answer my question about the Build features.

    What Kit would you recommend for Windows app dev? I'm using Win7-64 and 32-bt XP. Non visual studio.
    I will be moving things to Linux at a later time.
    I can't Build using MinGW?

    A 2012 post mentioned the Nokia here but the link and domain is dead. The QT site has no kits to be found.

    A QT SDK for windows is mentioned here, but the link takes users to the QT home page. No SDKs.

    I sound like I have a lot to learn about QT, I know. But I'm not finding any sort of guide to set things up in one tidy package.
    Suggestions appreciated.


  • Moderators

    Hi,

    @Edward161 said:

    I'm not finding any sort of guide to set things up in one tidy package.

    First, some notes:

    • The Qt Project doesn't use the term "SDK" anymore.
    • A "kit" is a copy of the Qt libraries plus a compatible compiler.
    • The equivalent of "SDK" would be 1 or more "kits" plus the Qt Creator IDE.

    The MinGW kit and IDE are all provided in one package, "Qt 5.4.1 for Windows 32-bit (MinGW 4.9.1, 856 MB)" from http://www.qt.io/download-open-source/#section-3. From what you've written, it sounds like you've already installed this package. That means you already have a "Qt SDK".

    @Edward161 said:

    Under Build & Run,
    Kits, Name: Auto-Detected, Desktop Qt 5.4.1 MinGW 32Bit

    QT Versions
    C:\Qt\5.4\mingw491_32\bin\qmake.exe

    Compiler
    MinGW 4.9.1 32bit

    That means your Qt SDK, based on MinGW, has been installed and detected.

    @Edward161 said:

    Under Projects (left border) "No build settings available".
    ...
    When I open the 'Build & Run Kits Selector' under Build menu, It displays only the small black box in lower left corner with Project name: New, Kit: Desktop Qt 5.4.1 MinGW 32Bit , Deploy: Deploy locally, & Run: QML Scene.

    Can you please provide a screenshot of these?

    @Edward161 said:

    When sitting in Edit mode, the Build drop-down menu is grayed out down to and including Cancel Build.

    What am I missing? I can Run the project.

    You mean can run the project, but not build it? That's very strange. Which project is this?

    What happens if you create a new project? "File" -> "New File or Project..." -> "Application" -> "Qt Widgets Application"

    Also, try disabling your antivirus before you open Qt Creator.


Log in to reply
 

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