clone of nymea-app from github
 
 
 
 
 
 
Go to file
Michael Zanetti ca3b5898dc Don't allow X to blank the screen 2019-06-28 03:00:23 +02:00
QtZeroConf@1632db0b7f switch to mzanetti/master for qtzeroconf 2018-10-19 01:09:07 +02:00
android_openssl@edc0a6fb19 Use KDAB's openssl builds 2019-06-13 01:23:45 +02:00
libnymea-app-core Merge PR #213: Only include active bearers 2019-06-21 00:38:55 +02:00
libnymea-common Add support for device settings 2019-06-06 04:31:18 +02:00
nymea-app Improve login page 2019-06-20 22:35:19 +02:00
nymea-remoteproxy@eacffb695f update to latest remoteproxy lib 2018-09-01 01:21:56 +02:00
packaging Don't allow X to blank the screen 2019-06-28 03:00:23 +02:00
tests remote connection is somewhat working 2018-08-31 14:44:09 +02:00
.gitignore switch to a different avahi lib which also works on android 2018-06-01 12:57:42 +02:00
.gitmodules Use KDAB's openssl builds 2019-06-13 01:23:45 +02:00
LICENSE add license info to about page 2018-06-07 01:41:44 +02:00
README.md move style overrides to a separate repository 2018-06-26 13:46:49 +02:00
clickable.json fix dpr 2018-10-15 20:04:53 +02:00
config.pri switch iOS AppIcons to an xcassets bundle 2018-07-18 21:27:24 +02:00
debian Add Ubuntu dpkg package 2019-04-15 19:04:21 +02:00
manifest.json drop version number from manifest 2018-10-24 17:42:45 +02:00
nymea-app.apparmor working on ubuntu now 2018-10-16 23:44:08 +02:00
nymea-app.desktop fix dpr 2018-10-15 20:04:53 +02:00
nymea-app.pro Add Ubuntu dpkg package 2019-04-15 19:04:21 +02:00
snapcraft.yaml add qml-module-qtgraphicaleffects to snap package 2018-11-09 11:48:19 +01:00
version.txt Jenkins automated build 1.0.129 (96) 2019-06-21 00:38:56 +02:00

README.md

nymea-app

QtQuick nymea client application

building

Required packages: It is recommended to install a complete Qt installation. Minimum required Qt Version 5.7.0.

No extra modules are required for a basic desktop build.

After cloning the repository, run

$ git submodule init
$ git submodule update

To build a binary run

$ mkdir builddir
$ cd builddir
$ qmake path/to/source/dir
$ make

Or open nymea-app.pro in QtCreator and click the "Play" button.

Optional configuration flags to be passed to qmake:

  • CONFIG+=withtests

Enables building the testrunner target

Android

As Qt can't bundle a build of openssl for android, you need to place a copy to /opt/android-ssl/

Windows

There is an additional make target named "wininstaller" available. You need to have windeployqt and binarycreator (from Qt Install Framework 3.0) in your system's Path.

Running the tests

Required Packages:

  • qtdeclarative5-test-plugin
  • nymead

Custom styles and branding:

Overriding styles available in the app

nymea-app can be built with custom styles by passing STYLES_PATH to qmake. Example: $ qmake STYLES_PATH=/home/user/my-styles/

The path must point to a directory containing the following file structure:

  • styles.qrc
  • styles//logo.svg

styles.qrc should be a Qt qrc file listing all the files inside styles/ providing an logo.svg is the minimum required for a style. In addition to that, any QtQuick.Controls 2 component can be override. See the styles/ directory in this repository fo examples.

Branding

In addition to overriding the available app styles, the app can be branded. That means, the style selection will be hidden and the app is locked down to the style given by the BRANDING argument passed to qmake.

Example locking down the app to the "dark" style: $ qmake BRANDING=dark

Brandings will also affect the installer packages. If you use branding in combination with style overrides, you also need to provide a installer package in packages/_ in your styles directory. See the packaging directory in this repository for examples for isntaller packages.

Example: $ qmake STYLES_PATH="C:\path\to\my\styles" BRANDING=mycoolstyle

This would the following minimum files in C:\path\to\my\styles\ :

  • styles.qrc
  • styles\mycoolstyle\logo.svg
  • packaging\windows_mycoolstyle\