qtdeclarative/tests/auto/qml/qmlsplitlib
Ulf Hermann 6aad465f08 Introduce a sane resource path to qt_add_qml_module
Since "/qt" is reserved, we can use "/qt/qml" as the default path for
user QML modules.

[ChangeLog][QtQml] The AUTO_RESOURCE_PREFIX option was added to
qt_add_qml_module(). It places your QML modules in the otherwise
reserved resource directory /qt/qml. This directory is also added to the
default QML import path. By using it you don't have to specify custom
import paths anymore. Specifying neither AUTO_RESOURCE_PREFIX nor an
explicit RESOURCE_PREFIX will generate a warning now because such QML
modules are likely invisible in the resource file system.

Fixes: QTBUG-95145
Fixes: QTBUG-103452
Change-Id: Ie27dec5cbf34ea06258d55c659d202cdd61e54b2
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
2022-06-23 09:35:57 +02:00
..
CMakeLists.txt Introduce a sane resource path to qt_add_qml_module 2022-06-23 09:35:57 +02:00
lib.cpp
lib.h tst_qmlsplitlib: Utilize qmlintegration.h 2022-06-15 09:43:00 +02:00
main.qml Use SPDX license identifiers 2022-06-11 08:05:15 +02:00
manual_imports.cpp Use SPDX license identifiers 2022-06-11 08:05:15 +02:00
tst_qmlsplitlib.cpp Introduce a sane resource path to qt_add_qml_module 2022-06-23 09:35:57 +02:00