qt5base-lts/tests/auto/corelib/serialization
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
..
json QJsonObject: Fix operator<=() 2021-02-18 11:22:51 +00:00
qcborstreamreader Remove the qmake project files 2021-01-07 15:32:28 +01:00
qcborstreamwriter tst_qcborstreamwriter: don't pass char8_t strings to QByteArray 2021-04-16 18:48:28 +02:00
qcborvalue Fix compiler warning from int size mismatch 2021-04-29 06:32:17 +02:00
qcborvalue_json Remove the qmake project files 2021-01-07 15:32:28 +01:00
qdatastream Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
qdatastream_core_pixmap Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtextstream Fix BASE argument of qt_add_resources 2021-05-18 16:02:52 +02:00
qxmlstream Correct prefix reported for end element in QXmlStreamReader 2021-04-20 03:03:51 +02:00
cborlargedatavalidation.cpp Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
CMakeLists.txt Android: exclude tests crashing at start 2020-11-16 13:35:44 +02:00