diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testqPrefUnits.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testqPrefUnits.cpp b/tests/testqPrefUnits.cpp index b2ead5c9e..c5635732b 100644 --- a/tests/testqPrefUnits.cpp +++ b/tests/testqPrefUnits.cpp @@ -3,6 +3,7 @@ #include "core/pref.h" #include "core/qthelper.h" +#include "core/settings/qPref.h" #include "core/settings/qPrefUnit.h" #include <QTest> @@ -13,6 +14,7 @@ void TestQPrefUnits::initTestCase() QCoreApplication::setOrganizationName("Subsurface"); QCoreApplication::setOrganizationDomain("subsurface.hohndel.org"); QCoreApplication::setApplicationName("SubsurfaceTestQPrefUnits"); + qPref::registerQML(NULL); } void TestQPrefUnits::test_struct_get() |