문제

I've just switched to QtCreator for C and C++ developing. I have problem in creating first project, in particular with compiler kits I suppose. When I go to create a new project, I have the error message that no kits is available. No valid kits found Kits Qt Version

As you can see, I don't know why it is shown that Qt Version is invalid. How could I solve?

도움이 되었습니까?

해결책 2

When you install QtCreator on MAC OS X you can find it in

/applications/qt

in this folder there is another folder called

5.2.1

Here there are all the compilers.

So to solve the issue you can either add, in QtCreator options, the path of every qmake.bin file or cut the 5.2.1 folder and paste in

/Users/YOURNAME/qt

creating qt folder if it doesn't exist.

PS: I've tried to make the directory invisible, but if I do so, I get errors using the second method

다른 팁

You should first install your C++ compiler. You should also define your compiler in "Compilers" section. If you also want to use Qt you should set the compiler for your kit in the "Kits" section.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top