clone of nymea-app from github
 
 
 
 
 
 
Go to file
Michał Sawicz e188d930db
[snap] refresh snap
- move to packaging/ubuntu/snap similar to the others
- use `snapcraftctl` to set the snap version
- define the supported architectures
- use command-chain to improve debugging
2021-01-27 11:47:49 +01:00
3rdParty Import firebase cpp sdk to get rid of external dependency 2021-01-04 16:45:59 +01:00
QtZeroConf@98ffbc58ae Update QtZeroConf 2020-12-23 18:29:13 +01:00
androidservice Add more styling options to command line 2020-12-09 16:47:33 +01:00
fastlane/metadata/android Add Fastlane structure for F-Droid 2020-09-29 23:37:58 +02:00
libnymea-app Fix encryption flag erraneously set for "ws" connections 2021-01-23 14:04:33 +01:00
nymea-app Merge PR #508: Rename removeDevice to removeThing 2021-01-20 22:07:53 +01:00
nymea-remoteproxy@9c7075192b Update the AWS device name when it changes in the cloud 2020-01-09 13:26:54 +01:00
packaging [snap] refresh snap 2021-01-27 11:47:49 +01:00
tests Get going with better grouping 2020-03-26 23:31:42 +01:00
.gitignore Allow building without firebase 2020-10-24 00:12:46 +02:00
.gitmodules Import firebase cpp sdk to get rid of external dependency 2021-01-04 16:45:59 +01:00
LICENSE.CC-BY-SA-3.0 Added all license files, update about page 2020-02-02 22:50:53 +01:00
LICENSE.GPL3 Added all license files, update about page 2020-02-02 22:50:53 +01:00
LICENSE.LGPL3 Added all license files, update about page 2020-02-02 22:50:53 +01:00
LICENSE.OFL Added all license files, update about page 2020-02-02 22:50:53 +01:00
LICENSE.OpenSSL Added all license files, update about page 2020-02-02 22:50:53 +01:00
LICENSES Allow disabling QtZeroConf by qmake option 2020-02-03 23:23:14 +01:00
README.md move style overrides to a separate repository 2018-06-26 13:46:49 +02:00
clickable.json Fix the Ubuntu Phone build 2020-10-16 13:41:00 +02:00
config.pri Clean up warnings in code 2021-01-05 19:06:02 +01:00
debian Add Ubuntu dpkg package 2019-04-15 19:04:21 +02:00
messages.sh Make rule templates translatable 2019-09-01 01:19:06 +02:00
nymea-app.pro Revert "Update the Mac signing ID to the new default by apple" 2021-01-22 17:42:54 +01:00
snap [snap] refresh snap 2021-01-27 11:47:49 +01:00
version.txt Jenkins automated build 1.0.272 (240) 2021-01-23 20:30:21 +01: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\