PDA

View Full Version : Having trouble getting Qt installed



N3wb
26th December 2011, 16:21
I'm having trouble getting Qt installed. I installed both the Qt library and Qt Creator, but when I try building a project I get the error:


Unable to create Debian templates; No Qt version set

I went to Tools -> Options -> Build & Run and added the path to qmake.exe, but I still get the error.

Any idea as to how I can get this working?

Thanks!

marcvanriet
28th December 2011, 01:56
Did you specify the Qt version for your project ?

You can do this when you click the 'projects' icon in the left of the Qt Creator sidebar on the left.

Regards,
Marc

N3wb
28th December 2011, 14:40
You sir, are a genius :D

Thanks!

Angeldark
5th November 2014, 08:59
That happens when opening a project that was saved with a different QT version. The issue comes from the .pro.user file. You can remove it (while your project is closed in QT Creator, so it won't be recreated automatically) and then reopen the project. The bad thing is that you'll have to reconfigure the project options: Targets, build settings, editor settings...
Maybe it could be done editing the old .pro.user file and change/remove the proper fields but it doesn't seem an easy task.