[Qt-creator] Simple qt 5 question

Phil phil_lor at bigpond.com
Tue Sep 2 11:09:05 CEST 2014


On 09/02/2014 05:48 PM, Koehne Kai wrote:
>
>
>> -----Original Message-----
>> From: qt-creator-bounces+kai.koehne=digia.com at qt-project.org [mailto:qt-
>>> Projects mode > Add kit > YouQt5Kit
>>> Make sure the Qt5 kit is selected.
>>> http://qt-project.org/doc/qtcreator-3.1/creator-configuring-projects.h
>>> tml
>>>
>>
>> Thank you Eike for your reply, however, I still cannot add qt5.
>>
>> Under "QT Versions" I've attempted to add qt 5 as follows:
>>
>> Add -> /use/lib/i386-linux-gnu/qt5/bin/qmake, I then get a warning message
>> as below:
>>
>>>> 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.
>>>
>>
>> Under "Kits" I now have Desktop (default) and Unnamed. Both show Qt
>> version as Qt 4.8.3.
>> So, I must be adding the wrong directory but that's where qmake 5 resides.
>> No doubt I've missed something basic but I cannot see where.
>
> Double-check that your new Qt version on the 'Qt Versions' tab of the dialog reports indeed to be Qt 5. It should print something like 'Qt version 5.3.0 for Desktop' below.
>
> Then click 'Apply'. Go then to the 'Kits' page, you should be able to select the newly registered Qt version in the 'Qt version' drop selector for any Kit.
>

Thank you Kai,

The reported version is 5.2.1 but it doesn't show under the "kits" tab. 
The only version shown there is qt 4 as "default".

I'll play with this a little longer and see if I can make sense of it.

-- 
Regards,
Phil



More information about the Qt-creator mailing list