qt5base-lts/tests/auto/corelib/serialization/qtextstream
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
..
readAllStdinProcess Remove the qmake project files 2021-01-07 15:32:28 +01:00
readLineStdinProcess Remove the qmake project files 2021-01-07 15:32:28 +01:00
resources Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00
stdinProcess Remove the qmake project files 2021-01-07 15:32:28 +01:00
test Fix BASE argument of qt_add_resources 2021-05-18 16:02:52 +02:00
.gitattributes Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00
.gitignore Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00
BLACKLIST Android: blacklist a list of failing tests for android 2020-11-04 12:27:49 +02:00
CMakeLists.txt cmake: add tests in corelib/serialization 2019-10-07 08:57:31 +00:00
qtextstream.qrc Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00
rfc3261.txt Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00
task113817.txt Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00
tst_qtextstream.cpp Move QEMU emulation detector to QTest 2021-02-13 10:02:51 +02:00