Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Unable to Build and Run Project
Forum Updated to NodeBB v4.3 + New Features

Unable to Build and Run Project

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
2 Posts 1 Posters 454 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.
  • X Offline
    X Offline
    xpress_embedo
    wrote on last edited by
    #1

    Hello Everyone,
    I am facing a problem with building and running the Qt Projects.
    I created a new qmake project and I am getting errors, so I thought I might have done something wrong, after that, I took the example projects and none of them are working.
    The following is the error that I am getting.

    13:29:55: Running steps for project chartthemes...
    13:29:55: Starting: "/home/xpress_embedo/Applications/Qt/6.2.2/gcc_64/bin/qmake" /home/xpress_embedo/Applications/Qt/Examples/Qt-6.2.2//charts/chartthemes/chartthemes.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug
    13:29:56: The process "/home/xpress_embedo/Applications/Qt/6.2.2/gcc_64/bin/qmake" exited normally.
    13:29:56: Could not start process "make" -f /home/xpress_embedo/Applications/Qt/Examples/Qt-6.2.2/charts/build-chartthemes-Desktop_Qt_6_2_2_GCC_64bit-Debug/Makefile qmake_all.
    Error while building/deploying project chartthemes (kit: Desktop Qt 6.2.2 GCC 64bit)
    When executing step "qmake"
    13:29:56: Elapsed time: 00:00.
    
    

    From the message, it looks like that there is some issue with the Kit, and below is the screenshot of my kits.
    Qt Kit Problem.png

    From the above screenshot, it is clear that I am missing a kit based on Qmake, and tried to add a new one but couldn't add it.
    I found this link https://doc.qt.io/qtcreator/creator-targets.html and based on this link tried to add the kit but couldn't find the qmake option here.
    Settings Filter.png

    But when I created a new project with Cmake it works fine, which I understood because the kit based on the CMake is installed.
    I know that now Qt will be using Cmake and I am okay with it, but how to build old projects and example projects. Can someone help me in resolving the issue? Thanks in advance.
    I am using Ubuntu 20.04.3 and
    QT Version.png
    This is a fresh install of Qt using an online installer.

    1 Reply Last reply
    0
    • X Offline
      X Offline
      xpress_embedo
      wrote on last edited by
      #2

      Sorry for this stupid question, I am able to solve the issue.
      The problem was that "make" was not installed, I didn't expect this that make is not installed, so after installing make everything is working fine. Thanks

      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