qt5base-lts/tests/benchmarks/gui
Joerg Bornemann 92185d417d Fix BASE argument of qt_add_resources
The BASE argument of qt_add_resources now denotes the root point of the
alias of the file.  Before, BASE was merely prepended to every file that
got passed to qt_add_resources.

Old behavior:
    qt_add_resources(app "images"
        PREFIX "/"
        BASE "../shared"
        FILES "images/button.png")

Alias is "../shared/images/button.png", and pro2cmake generated
QT_RESOURCE_ALIAS assignments to fix this.

New behavior:
    qt_add_resources(app "images"
        PREFIX "/"
        BASE "../shared"
        FILES "../shared/images/button.png")

The alias is "images/button.png".  No extra QT_RESOURCE_ALIAS assignment
is needed.

The new behavior is in effect for user projects and for Qt repositories
that define QT_USE_FIXED_QT_ADD_RESOURCE_BASE.  Qt repositories will be
ported one by one to this new behavior.  Then the old code path can be
removed.

Pick-to: 6.1
Task-number: QTBUG-86726
Change-Id: Ib895edd4df8e97b54badadd9a1c34408beff131f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2021-05-18 16:02:52 +02:00
..
animation Fix some warnings 2021-03-25 09:24:03 +01:00
image Optimize RGBA64->RGBA64PM for SSE2/AVX2 2021-02-03 08:22:16 +01:00
kernel Replace deprecated APIs in metatype/variant benchmarks 2021-04-14 14:38:42 +02:00
math3d Fix some warnings 2021-03-29 16:06:25 +02:00
painting Fix BASE argument of qt_add_resources 2021-05-18 16:02:52 +02:00
text Remove qmake project files for benchmarks 2021-02-01 21:14:01 +01:00
CMakeLists.txt Convert remaining tests/benchmarks 2019-11-04 15:48:51 +00:00