From cd5a0bc7352ea57ea01c3edbf54321b7fed7c113 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Thu, 26 Sep 2019 09:47:54 +0200 Subject: rhi: Always enable debug info printing from manual tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It can be important to see for example the adapter enumeration that is printed when qt.rhi.general is enabled. Make it enabled by default in the tests. Change-Id: I7bd073781e176d9b17b5386c548e9f8a2e16c10f Reviewed-by: Christian Strømme --- tests/manual/rhi/shared/examplefw.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/manual/rhi/shared/examplefw.h b/tests/manual/rhi/shared/examplefw.h index 220c3d0ff2..cd62530c82 100644 --- a/tests/manual/rhi/shared/examplefw.h +++ b/tests/manual/rhi/shared/examplefw.h @@ -58,6 +58,7 @@ #include #include #include +#include #include #include @@ -70,7 +71,6 @@ #endif #if QT_CONFIG(vulkan) -#include #include #endif @@ -444,6 +444,8 @@ int main(int argc, char **argv) QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QGuiApplication app(argc, argv); + QLoggingCategory::setFilterRules(QLatin1String("qt.rhi.*=true")); + // Defaults. #if defined(Q_OS_WIN) graphicsApi = D3D11; -- cgit v1.2.3