qt5base-lts/tests/manual/lance
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
..
CMakeLists.txt Fix BASE argument of qt_add_resources 2021-05-18 16:02:52 +02:00
enum.png Cleaning up the QPainter/arthur testing stuff 2011-06-29 15:10:14 +02:00
icons.qrc Cleaning up the QPainter/arthur testing stuff 2011-06-29 15:10:14 +02:00
interactivewidget.cpp Fix compilation of lance tool 2020-06-05 14:26:41 +02:00
interactivewidget.h lance tool: fix build for Qt 6 2021-03-22 13:59:40 +01:00
lance.pro Port lance manual test to qopengl 2020-02-21 10:01:23 +01:00
main.cpp lance tool: fix build for Qt 6 2021-03-22 13:59:40 +01:00
README Cleaning up the QPainter/arthur testing stuff 2011-06-29 15:10:14 +02:00
tools.png Cleaning up the QPainter/arthur testing stuff 2011-06-29 15:10:14 +02:00
widgets.h lance tool: fix build for Qt 6 2021-03-22 13:59:40 +01:00

The "lance" tool can be used to edit and run QPainter script (.qps)
files. They are used in the "lancelot" qpainter regression autotest.
A collection of scripts can be found in the directory
tests/auto/lancelot/scripts

See lance -help for options.