Commit 09c62c40 authored by Aleksi Suomalainen's avatar Aleksi Suomalainen Committed by GitHub

Merge pull request #53 from neochapay/master

Fix conflict with nemo-qml-plugin-models
parents 07510a90 c86b464e
......@@ -63,7 +63,7 @@ desktop-file-install --delete-original \
%files
%defattr(-,root,root,-)
%{_libdir}/qt5/qml/org/nemomobile/models/
%{_libdir}/qt5/qml/Nemo/UX/Models
%{_libdir}/qt5/qml/QtQuick/Controls/Nemo
%{_libdir}/qt5/qml/QtQuick/Controls/Styles/Nemo
......
......@@ -32,7 +32,7 @@
import QtQuick 2.6
import QtQuick.Controls.Nemo 1.0
import Nemo.Models 1.0
import Nemo.UX.Models 1.0
Item {
id: datePicker
......
TEMPLATE = lib
TARGET = nemomodels
TARGET = nemouxmodels
PLUGIN_IMPORT_PATH = Nemo/Models
PLUGIN_IMPORT_PATH = Nemo/UX/Models
QT -= gui
QT += qml
......
......@@ -34,12 +34,12 @@ public:
void initializeEngine(QQmlEngine *, const char *uri)
{
Q_ASSERT(uri == QLatin1String("Nemo.Models") || uri == QLatin1String("org.nemomobile.models"));
Q_ASSERT(uri == QLatin1String("Nemo.UX.Models") || uri == QLatin1String("org.nemomobile.uxmodels"));
}
void registerTypes(const char *uri)
{
Q_ASSERT(uri == QLatin1String("Nemo.Models") || uri == QLatin1String("org.nemomobile.models"));
Q_ASSERT(uri == QLatin1String("Nemo.UX.Models") || uri == QLatin1String("org.nemomobile.uxmodels"));
qmlRegisterType<CalendarModel>(uri, 1, 0, "CalendarModel");
}
};
......
module Nemo.Models
plugin nemomodels
module Nemo.UX.Models
plugin nemouxmodels
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment