[Qt-creator] lupdate_only broken ?

ekke ekke at ekkes-corner.org
Fri Jun 17 19:54:22 CEST 2016


For me QML files are also SOURCES, so from my POV it's great to get them
under Sources listed.

see this screenshot
https://appbus.files.wordpress.com/2016/06/project_structure_tabbar.png
from my Qt 5.7 Example app http://bit.ly/qt-tab-pages-x

it's easier instead of managing QML files extra to get them listed

ekke

Am 17.06.16 um 17:29 schrieb Benjamin TERRIER:
> Hi everyone,
>
> I've just noticed, after upgrading to 4.0.3 that my qml files were
> listed as "Sources".
>
> 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
>




More information about the Qt-creator mailing list