[Qt-creator] lupdate_only broken ?
Benjamin TERRIER
b.terrier at gmail.com
Mon Jun 20 10:08:32 CEST 2016
2016-06-20 9:31 GMT+02:00 Eike Ziller <Eike.Ziller at qt.io>:
>
>> 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
>
Hi,
I've used every version of Qt Creator, so it seems I didn't notice it
but the behavior was introduced some versions before (I'm pretty sure
it wasn't there when I set up the project).
Anyhow I have seen that there is a change request in gerrit to get rid
of lupdate_only, which I think is nice.
BR,
Benjamin
>> 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