[Qt-creator] lupdate_only broken ?

Eike Ziller Eike.Ziller at qt.io
Mon Jun 20 09:31:29 CEST 2016


> On Jun 17, 2016, at 5:29 PM, Benjamin TERRIER <b.terrier at gmail.com> wrote:
> 
> Hi everyone,
> 
> I've just noticed, after upgrading to 4.0.3 that my qml files were
> listed as "Sources”.

What did you use before?

Anyhow, see e.g. https://bugreports.qt.io/browse/QTCREATORBUG-15619

Br, Eike

> It seems to be caused by :
> 
>    QML_FILES += *.qml
>    lupdate_only {
>     SOURCES += $$QML_FILES
>    }
> 
> However doing this:
>    QML_FILES += *.qml
>    lupdate_only {
>       SOURCES += $$QML_FILES
>       message (1)
>    }
>    else
>    {
>        message (2)
>    }
> 
> displays "Project MESSAGE: 2" as expected.
> 
> Should I file a bug ?
> 
> BR,
> 
> Benjamin Terrier
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator

-- 
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
eike.ziller at qt.io
+123 45 6789012
http://qt.io
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