mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-07-02 06:35:29 +02:00
21 lines
343 B
C++
21 lines
343 B
C++
#include <QtQuickTest/quicktest.h>
|
|
#include <QQmlEngine>
|
|
#include <QQmlContext>
|
|
|
|
class Setup : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
Setup() {}
|
|
|
|
public Q_SLOTS:
|
|
|
|
void qmlEngineAvailable(QQmlEngine *engine)
|
|
{
|
|
engine->addImportPath("qrc:/tests/qml");
|
|
}
|
|
};
|
|
|
|
QUICK_TEST_MAIN_WITH_SETUP(testqml, Setup)
|
|
#include "main.moc"
|