aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrolstestutils/qtest_quickcontrols_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quickcontrolstestutils/qtest_quickcontrols_p.h')
-rw-r--r--src/quickcontrolstestutils/qtest_quickcontrols_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quickcontrolstestutils/qtest_quickcontrols_p.h b/src/quickcontrolstestutils/qtest_quickcontrols_p.h
index ca04ee03f4..1c1ae27808 100644
--- a/src/quickcontrolstestutils/qtest_quickcontrols_p.h
+++ b/src/quickcontrolstestutils/qtest_quickcontrols_p.h
@@ -55,7 +55,7 @@
#include <QtQuickControls2/qquickstyle.h>
#include <QtQuickControls2/private/qquickstyle_p.h>
-static QStringList testStyles()
+inline QStringList testStyles()
{
// It's not enough to check if the name is empty, because since Qt 6
// we set an appropriate style for the platform if no style was specified.
@@ -66,7 +66,7 @@ static QStringList testStyles()
return QStringList(QQuickStyle::name());
}
-static int runTests(QObject *testObject, int argc, char *argv[])
+inline int runTests(QObject *testObject, int argc, char *argv[])
{
int res = 0;
QTest::qInit(testObject, argc, argv);