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 \ ...@@ -63,7 +63,7 @@ desktop-file-install --delete-original \
%files %files
%defattr(-,root,root,-) %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/Nemo
%{_libdir}/qt5/qml/QtQuick/Controls/Styles/Nemo %{_libdir}/qt5/qml/QtQuick/Controls/Styles/Nemo
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
import QtQuick 2.6 import QtQuick 2.6
import QtQuick.Controls.Nemo 1.0 import QtQuick.Controls.Nemo 1.0
import Nemo.Models 1.0 import Nemo.UX.Models 1.0
Item { Item {
id: datePicker id: datePicker
......
TEMPLATE = lib TEMPLATE = lib
TARGET = nemomodels TARGET = nemouxmodels
PLUGIN_IMPORT_PATH = Nemo/Models PLUGIN_IMPORT_PATH = Nemo/UX/Models
QT -= gui QT -= gui
QT += qml QT += qml
......
...@@ -34,12 +34,12 @@ public: ...@@ -34,12 +34,12 @@ public:
void initializeEngine(QQmlEngine *, const char *uri) 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) 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"); qmlRegisterType<CalendarModel>(uri, 1, 0, "CalendarModel");
} }
}; };
......
module Nemo.Models module Nemo.UX.Models
plugin nemomodels 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