Discussion:
[Qt-creator] Qt Quick Compiler vs qrc files vs project explorer
Benjamin TERRIER
2018-05-24 15:01:48 UTC
Permalink
Hi,

I am trying the Qt Quick Compiler that comes with Qt 5.11.
When I enable it in a .pro file (`CONFIG += qtquickcompiler`) then, in the
project explorer,
all the qrc files that contains qml of js file are replaced by a cache qrc
that is located in the build directory.

For instance if I have `myqmlfiles.qrc`, the project explorer shows
`<build_dir>/myqmlfiles_myqmlfiles_qmlcache.qrc` instead of
`myqmlfiles.qrc`.

Is it a known issue?
Could it be link to https://bugreports.qt.io/browse/QTCREATORBUG-19993 ?

Regards,

Benjamin
Daniel Engelke
2018-05-24 15:15:19 UTC
Permalink
Hi,


I have the same issue with a cmake project calling "qtquick_compiler_add_resources".
Works fine when using "qt5_add_resources" without QuickCompiler.



Br Daniel


From: Benjamin TERRIER <***@gmail.com>
To: qt-creator <qt-***@qt-project.org>
Sent: 5/24/2018 5:01 PM
Subject: [Qt-creator] Qt Quick Compiler vs qrc files vs project explorer

Hi,

I am trying the Qt Quick Compiler that comes with Qt 5.11.
When I enable it in a .pro file (`CONFIG += qtquickcompiler`) then, in the
project explorer,
all the qrc files that contains qml of js file are replaced by a cache qrc
that is located in the build directory.

For instance if I have `myqmlfiles.qrc`, the project explorer shows
`<build_dir>/myqmlfiles_myqmlfiles_qmlcache.qrc` instead of
`myqmlfiles.qrc`.

Is it a known issue?
Could it be link to https://bugreports.qt.io/browse/QTCREATORBUG-19993 ?

Regards,

Benjamin
_______________________________________________
Qt-creator mailing list
Qt-***@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator
Benjamin TERRIER
2018-06-12 09:46:55 UTC
Permalink
Post by Benjamin TERRIER
Hi,
I am trying the Qt Quick Compiler that comes with Qt 5.11.
When I enable it in a .pro file (`CONFIG += qtquickcompiler`) then, in the
project explorer,
all the qrc files that contains qml of js file are replaced by a cache qrc
that is located in the build directory.
For instance if I have `myqmlfiles.qrc`, the project explorer shows
`<build_dir>/myqmlfiles_myqmlfiles_qmlcache.qrc` instead of
`myqmlfiles.qrc`.
Is it a known issue?
Could it be link to https://bugreports.qt.io/browse/QTCREATORBUG-19993 ?
After upgrading to Qt Creator 4.6.2 the issue is still here.

It can be reproduced either by adding "CONFIG += qtquickcompiler" in
the pro file or by checking the "Enable Qt Quick Compiler" checkbox in
the project tab.

BR,

Benjamin
EXT Mitch Curtis
2018-06-12 09:57:46 UTC
Permalink
-----Original Message-----
project.org] On Behalf Of Benjamin TERRIER
Sent: Thursday, 24 May 2018 5:02 PM
Subject: [Qt-creator] Qt Quick Compiler vs qrc files vs project explorer
Hi,
I am trying the Qt Quick Compiler that comes with Qt 5.11.
When I enable it in a .pro file (`CONFIG += qtquickcompiler`) then, in the
project explorer, all the qrc files that contains qml of js file are replaced by a
cache qrc that is located in the build directory.
For instance if I have `myqmlfiles.qrc`, the project explorer shows
`<build_dir>/myqmlfiles_myqmlfiles_qmlcache.qrc` instead of
`myqmlfiles.qrc`.
Is it a known issue?
Could it be link to https://bugreports.qt.io/browse/QTCREATORBUG-19993 ?
This looks awfully similar to https://bugreports.qt.io/browse/QTCREATORBUG-20103 - I would hazard a guess that qtquickcompiler uses the same syntax internally which results in that kind of structure in the project explorer.
Regards,
Benjamin
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
Loading...