diff options
Diffstat (limited to 'tests/manual/highdpi')
-rw-r--r-- | tests/manual/highdpi/CMakeLists.txt | 40 | ||||
-rw-r--r-- | tests/manual/highdpi/main.cpp | 2 |
2 files changed, 41 insertions, 1 deletions
diff --git a/tests/manual/highdpi/CMakeLists.txt b/tests/manual/highdpi/CMakeLists.txt new file mode 100644 index 0000000000..dee2d1ae43 --- /dev/null +++ b/tests/manual/highdpi/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from highdpi.pro. + +##################################################################### +## highdpi Binary: +##################################################################### + +add_qt_manual_test(highdpi + SOURCES + dragwidget.cpp dragwidget.h + main.cpp + DEFINES + HAVE_SCREEN_BASE_DPI + INCLUDE_DIRECTORIES + . + PUBLIC_LIBRARIES + Qt::Gui + Qt::GuiPrivate + Qt::Widgets +) + +# Resources: +set(highdpi_resource_files + "qticon16.png" + "qticon16@2x.png" + "qticon16@3x.png" + "qticon32.png" + "qticon32@2x.png" + "qticon64.png" +) + +add_qt_resource(highdpi "highdpi" + PREFIX + "/" + FILES + ${highdpi_resource_files} +) + + +#### Keys ignored in scope 1:.:.:highdpi.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/manual/highdpi/main.cpp b/tests/manual/highdpi/main.cpp index 0c4b5c88ae..2a9fb6aa0c 100644 --- a/tests/manual/highdpi/main.cpp +++ b/tests/manual/highdpi/main.cpp @@ -75,7 +75,7 @@ static QTextStream &operator<<(QTextStream &str, const QSizeF &s) static QTextStream &operator<<(QTextStream &str, const QRect &r) { - str << r.width() << 'x' << r.height() << forcesign << r.x() << r.y() << noforcesign; + str << r.width() << 'x' << r.height() << Qt::forcesign << r.x() << r.y() << Qt::noforcesign; return str; } |