qt6-bb10/tests/auto/network/access/qnetworkreply
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
..
certs Merge remote-tracking branch 'origin/5.12' into 5.13 2019-06-25 15:47:42 +02:00
echo Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
test Fix BASE argument of qt_add_resources 2021-05-18 16:02:52 +02:00
.gitattributes
.gitignore
BLACKLIST Blacklist tst_qnetworkreply::ioHttpRedirectMultipartPost on Linux 2021-05-12 14:49:45 +02:00
CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
bigfile
element.xml
empty
image1.jpg
image2.jpg
image3.jpg
index.html
qnetworkreply.qrc
resource
rfc3252.txt
smb-file.txt
testserver_index.html Rework QNetworkReply tests to use docker-based test servers 2018-07-27 17:40:27 +00:00
tst_qnetworkreply.cpp Fix linking on Windows when SSL is not configured 2021-04-26 14:44:51 +02:00