Skip to content
Permalink
Browse files
Remove deprecated QTest flag to unlock compilation against qt6
  • Loading branch information
nirvn authored and nyalldawson committed Jul 19, 2021
1 parent aae73a7 commit 223c5fbfbe75e352deee829332cc4175fadb43ee
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/test/qgstest.h
@@ -22,15 +22,13 @@

#define QGSTEST_MAIN(TestObject) \
QT_BEGIN_NAMESPACE \
QTEST_ADD_GPU_BLACKLIST_SUPPORT_DEFS \
QT_END_NAMESPACE \
int main(int argc, char *argv[]) \
{ \
QgsApplication app(argc, argv, false); \
app.init(); \
app.setAttribute(Qt::AA_Use96Dpi, true); \
QTEST_DISABLE_KEYPAD_NAVIGATION \
QTEST_ADD_GPU_BLACKLIST_SUPPORT \
TestObject tc; \
QTEST_SET_MAIN_SOURCE_PATH \
return QTest::qExec(&tc, argc, argv); \

0 comments on commit 223c5fb

Please sign in to comment.