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
09c62c40
Unverified
Commit
09c62c40
authored
Nov 02, 2017
by
Aleksi Suomalainen
Committed by
GitHub
Nov 02, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #53 from neochapay/master
Fix conflict with nemo-qml-plugin-models
parents
07510a90
c86b464e
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 @
09c62c40
...
@@ -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
...
...
src/controls/DatePicker.qml
View file @
09c62c40
...
@@ -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
...
...
src/models/models.pro
View file @
09c62c40
TEMPLATE
=
lib
TEMPLATE
=
lib
TARGET
=
nemomodels
TARGET
=
nemo
ux
models
PLUGIN_IMPORT_PATH
=
Nemo
/
Models
PLUGIN_IMPORT_PATH
=
Nemo
/
UX
/
Models
QT
-=
gui
QT
-=
gui
QT
+=
qml
QT
+=
qml
...
...
src/models/plugin.cpp
View file @
09c62c40
...
@@ -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.ux
models"
));
}
}
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.ux
models"
));
qmlRegisterType
<
CalendarModel
>
(
uri
,
1
,
0
,
"CalendarModel"
);
qmlRegisterType
<
CalendarModel
>
(
uri
,
1
,
0
,
"CalendarModel"
);
}
}
};
};
...
...
src/models/qmldir
View file @
09c62c40
module Nemo.Models
module Nemo.
UX.
Models
plugin nemomodels
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