diff --git a/CMakeLists.txt b/CMakeLists.txt index e8159829406b64c5393c2d65984c3760878acfcc..007acda357026b82bb99139a53feea668653d60b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,14 +33,12 @@ find_package(KF5Kirigami2 ${KF5_MIN_VERSION}) ################# Enable C++11 features for clang and gcc ################# -if(UNIX) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++0x") -endif() +set(CMAKE_CXX_STANDARD 11) ################# build and install ################# add_subdirectory(src) -install(PROGRAMS org.kde.qiflora.desktop DESTINATION ${KDE_INSTALL_APPDIR}) -install(FILES org.kde.qiflora.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR}) +install(PROGRAMS org.eyecreate.qiflora.desktop DESTINATION ${KDE_INSTALL_APPDIR}) +install(FILES org.eyecreate.qiflora.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR}) feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) diff --git a/README.md b/README.md index f665ee376033d63597fd7abf8f1bd1b0f5545792..987346eae5581fa7fff9293bcf098f46dec447f1 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# Kirigami application template +# QiFlora -This repository can be used as a template to develop Plasma Mobile applications. -It already includes templates for the qml ui, a c++ part, app metadata and flatpak packaging. +Mobile friendly application to monitor Mi Flora devices. +Plants using this device will have thier data logged when app is used and graphed to better monitor plant health. # Usage See [docs.plasma-mobile.org](https://docs.plasma-mobile.org/AppDevelopment.html). diff --git a/org.eyecreate.qiflora.appdata.xml b/org.eyecreate.qiflora.appdata.xml new file mode 100644 index 0000000000000000000000000000000000000000..a1927c2c6593d797ee4d717fd1e6c0893ed347c8 --- /dev/null +++ b/org.eyecreate.qiflora.appdata.xml @@ -0,0 +1,13 @@ + + + org.eyecreate.qiflora + QiFlora + Mobile friendly application to monitor Mi Flora devices. + FSFAP + GPL-3+ + eyecreate + +

Mobile friendly application to monitor Mi Flora devices.

+

Plants using this device will have thier data logged when app is used and graphed to better monitor plant health.

+
+
diff --git a/org.kde.qiflora.desktop b/org.eyecreate.qiflora.desktop similarity index 100% rename from org.kde.qiflora.desktop rename to org.eyecreate.qiflora.desktop diff --git a/org.kde.qiflora.json b/org.eyecreate.qiflora.json similarity index 95% rename from org.kde.qiflora.json rename to org.eyecreate.qiflora.json index b2ff33cf6e31e9f8ae133d8cf61e538dbaa14ef5..68421a6a78a91f845852f7202fd81c33355ccce5 100644 --- a/org.kde.qiflora.json +++ b/org.eyecreate.qiflora.json @@ -1,5 +1,5 @@ { - "id": "org.kde.qiflora", + "id": "org.eyecreate.qiflora", "runtime": "org.kde.Platform", "runtime-version": "5.12", "sdk": "org.kde.Sdk", diff --git a/org.kde.qiflora.appdata.xml b/org.kde.qiflora.appdata.xml deleted file mode 100644 index d0625b7b12863eb2265504757b54fa615101fcd8..0000000000000000000000000000000000000000 --- a/org.kde.qiflora.appdata.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - org.kde.qiflora - Kirigami Example Application - A short summary describing what this software is about - A permissive license for this metadata, e.g. "FSFAP" - The license of this software as SPDX string, e.g. "GPL-3+" - The software vendor name, e.g. "ACME Corporation" - -

Multiple paragraphs of long description, describing this software component.

-

You can also use ordered and unordered lists:

- -

Keep in mind to XML-escape characters, and that this is not HTML markup.

-
-
diff --git a/src/main.cpp b/src/main.cpp index 6b7ac049410e0ff069a4c54cea93af50803e583e..3c34d25b44e14368ba8392a8482d28c6682ee255 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -7,8 +7,8 @@ Q_DECL_EXPORT int main(int argc, char *argv[]) { QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QApplication app(argc, argv); - QCoreApplication::setOrganizationName("KDE"); - QCoreApplication::setOrganizationDomain("kde.org"); + QCoreApplication::setOrganizationName("eyecreate"); + QCoreApplication::setOrganizationDomain("eyecreate.org"); QCoreApplication::setApplicationName("qiflora"); QQmlApplicationEngine engine;