AusweisApp2/test/qml/QmlTestRunner.cpp

26 lines
378 B
C++
Raw Normal View History

2017-12-20 14:54:05 +01:00
/*
2018-03-28 15:10:51 +02:00
* \copyright Copyright (c) 2016-2018 Governikus GmbH & Co. KG, Germany
2017-12-20 14:54:05 +01:00
*/
2019-01-03 15:06:22 +01:00
#include "ResourceLoader.h"
#include "UIPlugInQml.h"
2017-12-20 14:54:05 +01:00
#include <QtGui/QtGui>
#include <QtQuickTest>
2019-01-03 15:06:22 +01:00
using namespace governikus;
static void preRoutine()
{
ResourceLoader::getInstance().init();
UIPlugInQml::registerQmlTypes();
}
Q_COREAPP_STARTUP_FUNCTION(preRoutine)
2017-12-20 14:54:05 +01:00
QUICK_TEST_MAIN(qml)