[Interest] [Qt5 Beta] qmake: *.ui files not generated (uic not called)? [SOLVED]

Richard Moore rich at kde.org
Sun Sep 2 13:02:25 CEST 2012


On 2 September 2012 11:44, Till Oliver Knoll
<till.oliver.knoll at gmail.com> wrote:
> Am 01.09.12 12:24, schrieb Till Oliver Knoll:
>> Am 01.09.2012 um 11:54 schrieb Till Oliver Knoll <till.oliver.knoll at gmail.com>:
> However I *think* I found the solution: I daringly added 'widgets' (I
> simply guessed!) to the QT configuration, as in:
>
>    QT += core gui widgets
>
> and this led to the generation of the uic files and successful
> compilation of the Qt Creator example project.
>
> (Not sure whether the 'gui' keyword as still any effect).

You can have gui without widgets in Qt 5 in order to allow pure-QML
applications. In addition widgets aren't part of the Qt Essentials
modules allowing platforms such as phones to only offer QML guis if
they want to.

Cheers

Rich.



More information about the Interest mailing list