qtbase/util/cmake
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
..
tests Add support for converting qtTargetLibrary() value assignments 2019-08-08 13:03:28 +00:00
Pipfile
cmakeconversionrate.py
configurejson2cmake.py Fix mapping of features to private features 2019-07-22 08:29:33 +00:00
generate_module_map.sh
helper.py Fix mapping of Apple platforms in pro2cmake.py 2019-07-23 10:31:15 +00:00
json_parser.py
pro2cmake.py Simplify resource embedding for qml modules 2019-08-09 11:47:25 +00:00
pro_conversion_rate.py
run_pro2cmake.py
special_case_helper.py