qt creator open just .pro file
-
I just installed Qt 5.11.1 on Linux and Windows machine. I created a sample project and in window that show open projects the only file that was shown is .pro file. This file has info about .css, .h, .ui files but doesn't shown them inside Qt Creator, if i open them manually just say it doesn't belong in a project. What to do?
-
Hi and welcome to the forums
What does the little yellow triangle say if u hover mouse over it ?
Also, what Qt version did you install ?
(mingw or visual studio )Also if you choose qmake in Build menu
does it list anything in Compiler output ?
-
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.
-
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.
-
that worked, thanks.
But I found a new issue: i can't build project, it's all grayed. It says unconfigured kit -
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.
-
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.
-
I restarted Qt Creator even PC and it's still the same. says no kits been enabled for this project (completely new project).
-
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 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
-
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!!