add first qml files
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#include <QQmlApplicationEngine>
|
||||
#include "startview.h"
|
||||
|
||||
startView::startView()
|
||||
{
|
||||
qDebug("startViewKonstruktor");
|
||||
myEngine = new QQmlApplicationEngine();
|
||||
}
|
||||
|
||||
startView::~startView()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void startView::show()
|
||||
{
|
||||
qDebug("show mal bitte");
|
||||
myEngine->load(QUrl(QStringLiteral("qrc:/main.qml")));
|
||||
}
|
||||
Reference in New Issue
Block a user