Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
qtquickcontrols-nemo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NemoMobile
qtquickcontrols-nemo
Commits
c86b464e
Commit
c86b464e
authored
Nov 01, 2017
by
Chupligin Sergey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix conflict with nemo-qml-plugin-models
parent
07510a90
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
qtquickcontrols-nemo.spec
rpm/qtquickcontrols-nemo.spec
+1
-1
DatePicker.qml
src/controls/DatePicker.qml
+1
-1
models.pro
src/models/models.pro
+2
-2
plugin.cpp
src/models/plugin.cpp
+2
-2
qmldir
src/models/qmldir
+2
-2
No files found.
rpm/qtquickcontrols-nemo.spec
View file @
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
...
...
src/controls/DatePicker.qml
View file @
c86b464e
...
...
@@ -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
...
...
src/models/models.pro
View file @
c86b464e
TEMPLATE
=
lib
TARGET
=
nemomodels
TARGET
=
nemo
ux
models
PLUGIN_IMPORT_PATH
=
Nemo
/
Models
PLUGIN_IMPORT_PATH
=
Nemo
/
UX
/
Models
QT
-=
gui
QT
+=
qml
...
...
src/models/plugin.cpp
View file @
c86b464e
...
...
@@ -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.ux
models"
));
}
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.ux
models"
));
qmlRegisterType
<
CalendarModel
>
(
uri
,
1
,
0
,
"CalendarModel"
);
}
};
...
...
src/models/qmldir
View file @
c86b464e
module Nemo.Models
plugin nemomodels
module Nemo.
UX.
Models
plugin nemo
ux
models
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment