From f64a33fb9859b02dc63cec018b74b608334a4e2b Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 20 Jan 2020 10:14:44 +0200 Subject: [PATCH] Resolved issue #992. QXcbConnection: XCB Error. --HG-- branch : develop --- src/libs/vmisc/vabstractapplication.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/libs/vmisc/vabstractapplication.cpp b/src/libs/vmisc/vabstractapplication.cpp index f4b9abfa0..8cbfb2234 100644 --- a/src/libs/vmisc/vabstractapplication.cpp +++ b/src/libs/vmisc/vabstractapplication.cpp @@ -86,6 +86,11 @@ VAbstractApplication::VAbstractApplication(int &argc, char **argv) #endif //defined(V_NO_ASSERT) #endif // QT_VERSION >= QT_VERSION_CHECK(5, 4, 1) +#if defined(V_NO_ASSERT) + // See issue #992: QXcbConnection: XCB Error. + rules += QLatin1String("qt.qpa.*=false\n"); +#endif + // cppcheck-suppress reademptycontainer if (not rules.isEmpty()) {