clone of nymea-app from github
 
 
 
 
 
 
Go to file
Martin Lukas 5740bf2301 Update Aboutpage regarding the licence term
Signed-off-by: Martin Lukas <martin.lukas@chargebyte.com>
2024-09-04 12:47:43 +02:00
3rdParty Update firebase SDK to 10.7.0 2024-07-17 16:51:59 +02:00
QtZeroConf@2b9b3c7c74 Bump QtZeroConf version 2021-09-19 19:59:07 +02:00
androidservice Add air conditioning experience 2023-02-11 19:29:01 +01:00
experiences Fix removing window sensors in AC settings 2023-12-29 14:08:18 +01:00
fastlane/metadata/android Add Fastlane structure for F-Droid 2020-09-29 23:37:58 +02:00
libnymea-app Update to c++14 and fix warnings 2024-07-18 14:49:06 +02:00
nymea-app Update Aboutpage regarding the licence term 2024-09-04 12:47:43 +02:00
nymea-remoteproxy@32c33ec23f Update remoteproxy submodule 2022-01-20 23:50:00 +01:00
packaging Jenkins automated build 1.9.2 (628) 2024-08-29 12:15:19 +02:00
tests Drop AWS cloud support 2022-12-02 12:12:37 +01:00
.gitignore add build folder to .gitignore 2023-05-10 18:28:42 +02:00
.gitmodules Make androidssl submodule shallow 2022-04-06 11:28:39 +02: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.yaml WIP: Initial attempt to port to 20.04 2023-10-03 00:44:55 +02:00
config.h.in add missing files 2021-03-30 12:54:03 +02:00
config.pri Merge branch 'ios-overlay-support' of github.com:nymea/nymea-app into ios-overlay-support 2021-05-29 01:52:41 +02:00
debian Add Ubuntu dpkg package 2019-04-15 19:04:21 +02:00
messages.sh Update translations 2022-10-20 14:53:11 +02:00
nymea-app.pro Rework overlay mechanism 2023-02-13 17:08:31 +01:00
shared.pri Update to c++14 and fix warnings 2024-07-18 14:49:06 +02:00
snap [snap] refresh snap 2021-01-27 11:47:49 +01:00
version.txt Jenkins automated build 1.9.2 (628) 2024-08-29 12:15:19 +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\