[Qt-creator] Simple qt 5 question

Ziller Eike Eike.Ziller at digia.com
Mon Aug 18 08:35:36 CEST 2014


On Aug 16, 2014, at 8:45 AM, Phil <phil_lor at bigpond.com> wrote:

> Thank you for reading this.
> 
> It's been many years since I've used QT Creator. I have a .pro file that 
> I've downloaded but it won't compile and the error message says that 
> qt5.2+ is required, I have both qt4 and qt5 installed. How do I let QT 
> Creator know that the .pro file needs to be complied with qt5 and not 
> default to qt4?

Projects mode > Add kit > YouQt5Kit
Make sure the Qt5 kit is selected.
http://qt-project.org/doc/qtcreator-3.1/creator-configuring-projects.html

> I'm trying to compile this file on a Kubuntu 14.04 system.
> QT Creator 3.0.1, QT 5.2.1 and GCC 4.8.2.
> 
> PS:
> Under "Build & Run" I notice that qmake 4 is the default. I tried to add 
> qmake 5 but it fails with "No qmlviewer installed”.

That’s not a failure, only a warning.

> I have Qt 4 QML 
> viewer installed and there isn't qt 5 QML viewer to install.
> 

Br, Eike

> -- 
> Regards,
> Phil
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator

-- 
Eike Ziller, Senior Software Engineer - Digia, Qt
 
Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B




More information about the Qt-creator mailing list