Baseline: Move the paintcommands code into the shared directory

It's used by the lancebench and the lance tool, and it will probably be
useful for writing some high-dpi related unit and baseline test cases,
so move it to the shared folder.

Change-Id: I969bab51c9504be13b4c192b4f29f69cd9102868
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
This commit is contained in:
Volker Hilsheimer 2022-01-19 14:39:11 +01:00
parent 7f318327e5
commit c7539876f6
5 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@ qt_internal_add_test(tst_baseline_painting
SOURCES
../shared/baselineprotocol.cpp ../shared/baselineprotocol.h ../shared/lookup3.cpp
../shared/qbaselinetest.cpp ../shared/qbaselinetest.h
paintcommands.cpp paintcommands.h
../shared/paintcommands.cpp ../shared/paintcommands.h
tst_baseline_painting.cpp
INCLUDE_DIRECTORIES
../shared

View File

@ -6,10 +6,10 @@
qt_internal_add_benchmark(tst_bench_lancebench
SOURCES
../../../../baseline/painting/paintcommands.cpp ../../../../baseline/painting/paintcommands.h
../../../../baseline/shared/paintcommands.cpp ../../../../baseline/shared/paintcommands.h
tst_lancebench.cpp
INCLUDE_DIRECTORIES
../../../../baseline/painting
../../../../baseline/shared
PUBLIC_LIBRARIES
Qt::Gui
Qt::GuiPrivate

View File

@ -6,13 +6,13 @@
qt_internal_add_manual_test(lance
SOURCES
../../baseline/painting/paintcommands.cpp ../../baseline/painting/paintcommands.h
../../baseline/shared/paintcommands.cpp ../../baseline/shared/paintcommands.h
interactivewidget.cpp interactivewidget.h
main.cpp
widgets.h
INCLUDE_DIRECTORIES
.
../../baseline/painting
../../baseline/shared
PUBLIC_LIBRARIES
Qt::CorePrivate
Qt::Gui