qt5base-lts/util
Simon Hausmann 73ba2ba2de Simplify resource embedding for qml modules
* Add support for a QT_RESOURCE_PREFIX target property, that
      add_qt_resource respects. This makes it convenient to add files
      to the resource system for a project without the need to repeat
      prefixes. In qmake land with multiple resources they're repeated
      in the foo.prefix variables or in the prefix attribute in .qrc
      files.

    * Since /qt-project.org/imports is in the default QML import search path
       and the hierarchy under the import search paths is "regulated",
       we might as well make add_qml_module set QT_RESOURCE_PREFIX on
       the target. We can compute the correct value for that. This
       allows removing the redundant prefix from the add_qt_resource()
       calls for the qml files.

Change-Id: Ic15130dc9e432340fc3edf93e35f2a803b4b40eb
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Qt CMake Build Bot
2019-08-09 11:47:25 +00:00
..
accessibilityinspector Updated license headers 2016-01-21 18:55:18 +00:00
aglfn Updated license headers 2016-01-21 18:55:18 +00:00
cmake Simplify resource embedding for qml modules 2019-08-09 11:47:25 +00:00
corelib/qurl-generateTLDs Merge remote-tracking branch 'origin/5.13' into dev 2019-04-24 09:52:30 +02:00
edid Minor grammar fixup 2018-08-03 18:11:24 +00:00
glgen Remove usages of deprecated APIs from QtAlgorithms 2019-06-29 21:58:36 +02:00
gradientgen Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
harfbuzz Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
includemocs QtCore: include mocs 2017-05-05 03:03:30 +00:00
integrity Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
lexgen Remove usages of deprecated APIs from QtAlgorithms 2019-06-29 21:58:36 +02:00
locale_database Add data for Windows Time-Zone IDs added in the last two years 2019-07-01 17:48:53 +02:00
plugintest Updated license headers 2016-01-21 18:55:18 +00:00
qfloat16-tables gen_qfloat16_tables: add a comment explaining what the tool is 2019-06-03 10:42:55 -07:00
unicode Remove usages of deprecated APIs from QtAlgorithms 2019-06-29 21:58:36 +02:00
x86simdgen SIMD: Change the way we declare constants for x86 2018-07-09 00:18:30 +00:00
xkbdatagen Updated license headers 2016-01-21 18:55:18 +00:00