Skip to content

Commit

Permalink
[libqofono] Add plugins.qmltypes. Contributes to JB#41605
Browse files Browse the repository at this point in the history
  • Loading branch information
martyone committed May 11, 2018
1 parent 6591e70 commit 5ef7320
Show file tree
Hide file tree
Showing 3 changed files with 1,896 additions and 4 deletions.
9 changes: 5 additions & 4 deletions plugin/plugin.pro
Expand Up @@ -30,8 +30,7 @@ HEADERS = \
INCLUDEPATH += ../src

OTHER_FILES += \
plugin.json qmldir
#plugins.qmltypes
plugin.json plugins.qmltypes qmldir

equals(QT_MAJOR_VERSION, 4): {
qmldir.path = $$[QT_INSTALL_IMPORTS]/MeeGo/QOfono
Expand All @@ -43,7 +42,9 @@ equals(QT_MAJOR_VERSION, 5): {
target.path = $$[QT_INSTALL_QML]/MeeGo/QOfono
}

qmldir.files += qmldir

qmldir.files += qmldir plugins.qmltypes

INSTALLS += target qmldir

qmltypes.commands = qmlplugindump -nonrelocatable MeeGo.QOfono 0.2 > $$PWD/plugins.qmltypes
QMAKE_EXTRA_TARGETS += qmltypes

0 comments on commit 5ef7320

Please sign in to comment.