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
7b70a143
Commit
7b70a143
authored
Dec 29, 2017
by
Sergey Chupligin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move to libglacierapp
parent
8d20d1bc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
16 deletions
+16
-16
glacier-components.qml
examples/touch/glacier-components.qml
+0
-0
main.cpp
examples/touch/src/main.cpp
+6
-8
touch.pro
examples/touch/touch.pro
+6
-7
qtquickcontrols-nemo.spec
rpm/qtquickcontrols-nemo.spec
+4
-1
No files found.
examples/touch/
main
.qml
→
examples/touch/
glacier-components
.qml
View file @
7b70a143
File moved
examples/touch/src/main.cpp
View file @
7b70a143
...
@@ -42,18 +42,16 @@
...
@@ -42,18 +42,16 @@
#include <QQmlApplicationEngine>
#include <QQmlApplicationEngine>
#include <QtQuick/QQuickView>
#include <QtQuick/QQuickView>
#include <glacierapp.h>
int
main
(
int
argc
,
char
*
argv
[])
int
main
(
int
argc
,
char
*
argv
[])
{
{
setenv
(
"QT_QUICK_CONTROLS_STYLE"
,
"Nemo"
,
1
);
setenv
(
"QT_QUICK_CONTROLS_STYLE"
,
"Nemo"
,
1
);
QGuiApplication
app
(
argc
,
argv
);
QGuiApplication
*
app
=
GlacierApp
::
app
(
argc
,
argv
);
app
->
setOrganizationName
(
"NemoMobile"
);
QQmlApplicationEngine
*
engine
=
new
QQmlApplicationEngine
(
QUrl
(
"/usr/share/glacier-components/main.qml"
));
QObject
*
topLevel
=
engine
->
rootObjects
().
value
(
0
);
QQuickWindow
*
window
=
qobject_cast
<
QQuickWindow
*>
(
topLevel
);
QQuickWindow
*
window
=
GlacierApp
::
showWindow
(
);
window
->
setTitle
(
QObject
::
tr
(
"Glacier components"
));
window
->
setTitle
(
QObject
::
tr
(
"Glacier components"
));
window
->
showFullScreen
();
return
app
.
exec
();
return
app
->
exec
();
}
}
examples/touch/touch.pro
View file @
7b70a143
...
@@ -3,12 +3,12 @@ QT += qml quick
...
@@ -3,12 +3,12 @@ QT += qml quick
TARGET
=
glacier
-
components
TARGET
=
glacier
-
components
target
.
path
=
/
usr
/
bin
target
.
path
=
/
usr
/
bin
qtHaveModule
(
widgets
)
{
CONFIG
+=
link_pkgconfig
QT
+=
widgets
LIBS
+=
-
lglacierapp
}
PKGCONFIG
+=
glacierapp
mainqml
.
files
=
main
.
qml
mainqml
.
files
=
glacier
-
components
.
qml
mainqml
.
path
=
/
usr
/
share
/
glacier
-
components
mainqml
.
path
=
/
usr
/
share
/
glacier
-
components
/
qml
qml
.
files
+=
\
qml
.
files
+=
\
content
/
AndroidDelegate
.
qml
\
content
/
AndroidDelegate
.
qml
\
...
@@ -28,7 +28,7 @@ qml.files += \
...
@@ -28,7 +28,7 @@ qml.files += \
content
/
IconPage
.
qml
\
content
/
IconPage
.
qml
\
content
/
DatePickerPage
.
qml
content
/
DatePickerPage
.
qml
qml
.
path
=
/
usr
/
share
/
glacier
-
components
/
content
qml
.
path
=
/
usr
/
share
/
glacier
-
components
/
qml
/
content
images
.
files
=
images
/*
.png
images
.
files
=
images
/*
.png
images.files += images
/*
.jpg
images.files += images
/*
.jpg
...
@@ -36,7 +36,6 @@ images.path = /usr/share/glacier-components/images
...
@@ -36,7 +36,6 @@ images.path = /usr/share/glacier-components/images
OTHER_FILES += $$qml.files
OTHER_FILES += $$qml.files
desktop.path = /usr/share/applications
desktop.path = /usr/share/applications
desktop.files = glacier-gallery.desktop
desktop.files = glacier-gallery.desktop
...
...
rpm/qtquickcontrols-nemo.spec
View file @
7b70a143
Name: qt5-qtquickcontrols-nemo
Name: qt5-qtquickcontrols-nemo
Summary: Nemomobile Qt Quick Controls
Summary: Nemomobile Qt Quick Controls
Version: 5.3.
1
Version: 5.3.
2
Release: nemo1
Release: nemo1
Group: System/Library
Group: System/Library
License: LGPLv2.1 with exception or GPLv3
License: LGPLv2.1 with exception or GPLv3
...
@@ -10,9 +10,12 @@ BuildRequires: pkgconfig(Qt5Core)
...
@@ -10,9 +10,12 @@ BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(Qt5Quick)
BuildRequires: pkgconfig(Qt5Quick)
BuildRequires: fdupes
BuildRequires: fdupes
BuildRequires: pkgconfig(glacierapp)
Requires: qt5-qtquickcontrols
Requires: qt5-qtquickcontrols
Requires: qt5-qtgraphicaleffects
Requires: qt5-qtgraphicaleffects
Requires: nemo-theme-glacier
Requires: nemo-theme-glacier
Requires: libglacierapp
%description
%description
Qt is a cross-platform application and UI framework. Using Qt, you can
Qt is a cross-platform application and UI framework. Using Qt, you can
...
...
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