Resolved issue #992. QXcbConnection: XCB Error.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2020-01-20 10:14:44 +02:00
parent 716192e520
commit f64a33fb98

View File

@ -86,6 +86,11 @@ VAbstractApplication::VAbstractApplication(int &argc, char **argv)
#endif //defined(V_NO_ASSERT) #endif //defined(V_NO_ASSERT)
#endif // QT_VERSION >= QT_VERSION_CHECK(5, 4, 1) #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 // cppcheck-suppress reademptycontainer
if (not rules.isEmpty()) if (not rules.isEmpty())
{ {