Link QMLManager to the main.qml file

Add a link between the C++ and QML parts of the app using the
qmlRegisterType function.

[Dirk Hohndel: changed the name to org.subsurfacedivelog.mobile]

Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Grace Karanja 2015-06-04 13:36:36 +03:00 committed by Dirk Hohndel
parent e0a25289db
commit 315a245868
3 changed files with 15 additions and 1 deletions

View file

@ -1,5 +1,5 @@
#include "qmlmanager.h"
#include <QUrl>
QMLManager::QMLManager()
{