qt creator open just .pro file
-
wrote on 8 Aug 2018, 19:55 last edited by
Version of installed Qt is 5.11.1. Problem is for now just on Linux. I use this:
Little yellow triangle says "No kits are enabled for this project. Enable kits in 'Project' mode".
I use Ubuntu 18.04. I had the same problem with previous version of Ubuntu there I tried to manually install g++ with "apt-get install g++". That installed it but it started another problem because program didn't know which g++ to use. Then I uninstalled it and problem with g++ not found appeared again.
-
Version of installed Qt is 5.11.1. Problem is for now just on Linux. I use this:
Compiler output is:
Little yellow triangle says "No kits are enabled for this project. Enable kits in 'Project' mode".
I use Ubuntu 18.04. I had the same problem with previous version of Ubuntu there I tried to manually install g++ with "apt-get install g++". That installed it but it started another problem because program didn't know which g++ to use. Then I uninstalled it and problem with g++ not found appeared again.
@mv-whw
Hmm, and
sudo apt install build-essential
does not work ? -
wrote on 8 Aug 2018, 20:29 last edited by
-
that worked, thanks.
But I found a new issue: i can't build project, it's all grayed. It says unconfigured kit@mv-whw
Ah. maybe a kit was not selected if it was existing project.
Delete .pro.user file (in project folder) and open again.
Should allow u to select compiler. -
wrote on 8 Aug 2018, 20:41 last edited by
-
i deleted .pro.user file and reopened project it opened this:
and when I click on options it's like:
and right now I don't know what to do. I created new project and still the same.
@mv-whw
What do you have under compilers ?
also it talks about android kit, i assume its not that you are setting up
but for Desktop ? -
wrote on 8 Aug 2018, 20:51 last edited by
-
under compilers is this:
right now I don't need android compilers because I don't know much jet of QML/C++ and I plan to learning in stages: first for desktop and then try for android.
@mv-whw
Oh that was many
Can you check if they point to the right places ?
-
wrote on 8 Aug 2018, 21:02 last edited by
all of them point to right places.
-
@mv-whw
Hmm thats really odd then.
Can you try
sudo apt-get install qt5-default -
wrote on 8 Aug 2018, 21:16 last edited by
it's still the same
-
@mv-whw
And you restarted Creator and try creating a new project ? -
wrote on 8 Aug 2018, 21:28 last edited by
I restarted Qt Creator even PC and it's still the same. says no kits been enabled for this project (completely new project).
-
I restarted Qt Creator even PC and it's still the same. says no kits been enabled for this project (completely new project).
@mv-whw
Hmm. im out of guess then.
Normally it picks up right kits.
Does it have entries in the Desktop kits ?
-
wrote on 8 Aug 2018, 21:42 last edited by
I figured out. Thanks I had to enabled it in Configure Project under "Build and Run" and add info about C++ compiler under "Kits"
-
I figured out. Thanks I had to enabled it in Configure Project under "Build and Run" and add info about C++ compiler under "Kits"
@mv-whw
\o/
Should have started with kits :)
Happy programming -
I figured out. Thanks I had to enabled it in Configure Project under "Build and Run" and add info about C++ compiler under "Kits"
wrote on 1 Dec 2018, 08:57 last edited by@mv-whw can you please demonstrate the updates you did at the compiler side and build and run side actually I am having the same problem installing qt on ubuntu I was desperately trying with different versions
-
wrote on 2 Dec 2018, 18:42 last edited by
Actually, the Ubuntu version I was using did not support the qt version. with Ubuntu 18.04.1 LTS and qt 5.11.0 using qt-unified-Linux-x64-3.0.5-online.run it did work I just needed as well to install a missing library using the following command on the terminal sudo apt-get install libglu1-mesa-dev
good luck!!