diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2018-03-26 13:52:17 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2018-06-19 13:30:35 +0000 |
commit | 0996f18b252504ccc2db94b16c751835e3b9be8e (patch) | |
tree | 704c832290bcb119c6ba9438f8823004798115ed /tests/auto/qml/qmlcachegen/trickypaths_umlaut.qrc | |
parent | 16cf097972a72656142ab0ed797282ad95ee5713 (diff) |
Fix CONFIG+=qtquickcompiler with umlauts in the file path
Instead of replacing every character that is not allowed in C++
identifiers with an underscore (which in turn could lead to
collissions), replace it with the hexadecimal value of the offending
character's unicode value.
In addition we must use the complete suffix when mapping Foo.qml to
Foo_qml.cpp.
Task-number: QTBUG-68608
Started-by: Erik Verbruggen <erik.verbruggen@qt.io>
Change-Id: I7e2153f0e6671b37dcaee4efb9aaae1d9b230f0c
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlcachegen/trickypaths_umlaut.qrc')
-rw-r--r-- | tests/auto/qml/qmlcachegen/trickypaths_umlaut.qrc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlcachegen/trickypaths_umlaut.qrc b/tests/auto/qml/qmlcachegen/trickypaths_umlaut.qrc new file mode 100644 index 0000000000..9ca889d692 --- /dev/null +++ b/tests/auto/qml/qmlcachegen/trickypaths_umlaut.qrc @@ -0,0 +1,5 @@ +<!DOCTYPE RCC><RCC version="1.0"> +<qresource prefix="/"> +<file alias="Bäh.qml">umlaut.qml</file> +</qresource> +</RCC> |