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. Not Able to debug or run or do anything with qt creator(No Run Button)
Forum Updated to NodeBB v4.3 + New Features

Not Able to debug or run or do anything with qt creator(No Run Button)

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
6 Posts 3 Posters 408 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.
  • Y Offline
    Y Offline
    Yousef Alaa Hussain
    wrote on last edited by
    #1

    waitminugte.png
    this is my first qt creator project ever made in my new operating system(ubuntu linux) and as you can see, the run buttons are disabled and not clickable, and the error message at the bottom really doesn't allow me to do anything.
    i tried to delete this project and recreate other project but doesn't work. is there anything wrong done in the installation or do i need to reinstall qt creator or do i miss anything?

    and ye note: "the files in the left side not organized like usual, they usually be organized in a header file folder and source files folder, but this time all in one, i got a warning from the beginning saying that the files not organized well, so they might not work as expected '

    1 Reply Last reply
    0
    • Y Offline
      Y Offline
      Yousef Alaa Hussain
      wrote on last edited by
      #2

      Screenshot from 2024-08-10 13-22-33.png
      as you can see, the application is not understanding the QApplication and QtWidgets at line 3 and 4,
      which means i dont have qt installed ?? 🤔

      JonBJ 1 Reply Last reply
      0
      • Y Yousef Alaa Hussain

        Screenshot from 2024-08-10 13-22-33.png
        as you can see, the application is not understanding the QApplication and QtWidgets at line 3 and 4,
        which means i dont have qt installed ?? 🤔

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by
        #3

        @Yousef-Alaa-Hussain
        Can you PLEASE not create new threads when you are already asking and being answered in an existing thread? It wastes the time of people like myself trying to help you. I posted what you need to know and do in that thread.

        Y 1 Reply Last reply
        0
        • cristian-adamC Offline
          cristian-adamC Offline
          cristian-adam
          wrote on last edited by
          #4

          Notice the exclamation mark in your project and the <File System> entry, this means that your project was not Configured by CMake successfully.

          You need to paste the content of the General Messages tab, or click on the Issues tab. You have 5 issues there.

          How did you install Qt and Qt Creator? Via Ubuntu package manager? If so ... you are most probably missing Qt development packages.

          Make sure you have all build tools installed:

          $ sudo apt install build-essential cmake ninja-build git
          

          and then the Qt SDK

          $ sudo apt install qt6-base-dev qt6-base-private-dev qt6-declarative-dev qt6-declarative-private-dev qt6-tools-dev qt6-tools-private-dev qt6-scxml-dev qt6-documentation-tools libqt6core5compat6-dev qt6-tools-dev-tools qt6-l10n-tools qt6-shader-baker libqt6shadertools6-dev qt6-quick3d-dev qt6-quick3d-dev-tools libqt6svg6-dev libqt6quicktimeline6-dev libqt6serialport6-dev
          

          Note that I took the list of packages from https://wiki.qt.io/Building_Qt_Creator_from_Git_on_Ubuntu_22.04, you might need to install more packages depending on your project's needs.

          Y 1 Reply Last reply
          0
          • cristian-adamC cristian-adam

            Notice the exclamation mark in your project and the <File System> entry, this means that your project was not Configured by CMake successfully.

            You need to paste the content of the General Messages tab, or click on the Issues tab. You have 5 issues there.

            How did you install Qt and Qt Creator? Via Ubuntu package manager? If so ... you are most probably missing Qt development packages.

            Make sure you have all build tools installed:

            $ sudo apt install build-essential cmake ninja-build git
            

            and then the Qt SDK

            $ sudo apt install qt6-base-dev qt6-base-private-dev qt6-declarative-dev qt6-declarative-private-dev qt6-tools-dev qt6-tools-private-dev qt6-scxml-dev qt6-documentation-tools libqt6core5compat6-dev qt6-tools-dev-tools qt6-l10n-tools qt6-shader-baker libqt6shadertools6-dev qt6-quick3d-dev qt6-quick3d-dev-tools libqt6svg6-dev libqt6quicktimeline6-dev libqt6serialport6-dev
            

            Note that I took the list of packages from https://wiki.qt.io/Building_Qt_Creator_from_Git_on_Ubuntu_22.04, you might need to install more packages depending on your project's needs.

            Y Offline
            Y Offline
            Yousef Alaa Hussain
            wrote on last edited by
            #5

            @cristian-adam
            thanks for answering.
            i installed qt maintenence tool from qt offical website, and then run the installer and downloaded qt latest version along with qt designer, after downloading, i made a project and as you can see i am not able to run the project and there is so much of issues.
            but now after doing what you did, it worked!
            thank you so much for helping, really thank you so much, i didnt know what to do

            1 Reply Last reply
            1
            • JonBJ JonB

              @Yousef-Alaa-Hussain
              Can you PLEASE not create new threads when you are already asking and being answered in an existing thread? It wastes the time of people like myself trying to help you. I posted what you need to know and do in that thread.

              Y Offline
              Y Offline
              Yousef Alaa Hussain
              wrote on last edited by
              #6

              @JonB I am sorry if I did something was not supposed to happen, but I am new to here, and I am not quite familiar with the rules and what should I do
              the problems happened at the same time, that's why I posted them directly after each others

              1 Reply Last reply
              0
              • Y Yousef Alaa Hussain has marked this topic as solved on

              • Login

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