First start on android

qt6-qmake-android
Simon Stürz 2025-10-17 14:40:21 +02:00
parent 2396469794
commit e5e72a25ec
4 changed files with 2 additions and 54 deletions

View File

@ -245,7 +245,7 @@ int main(int argc, char *argv[])
application.setWindowIcon(QIcon(QString(":/styles/%1/logo.svg").arg(styleController.currentStyle())));
engine->load(QUrl(QLatin1String("qrc:/ui/utils/TestMain.qml")));
engine->load(QUrl(QLatin1String("qrc:/ui/Nymea.qml")));
return application.exec();
}

View File

@ -324,6 +324,5 @@
<file>ui/shaders/coloricon.frag.qsb</file>
<file>ui/shaders/brightnesscircle.frag.qsb</file>
<file>ui/shaders/colorizedimage.frag.qsb</file>
<file>ui/utils/TestMain.qml</file>
</qresource>
</RCC>

View File

@ -1,51 +0,0 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Copyright 2013 - 2020, nymea GmbH
* Contact: contact@nymea.io
*
* This file is part of nymea.
* This project including source code and documentation is protected by
* copyright law, and remains the property of nymea GmbH. All rights, including
* reproduction, publication, editing and translation, are reserved. The use of
* this project is subject to the terms of a license agreement to be concluded
* with nymea GmbH in accordance with the terms of use of nymea GmbH, available
* under https://nymea.io/license
*
* GNU General Public License Usage
* Alternatively, this project may be redistributed and/or modified under the
* terms of the GNU General Public License as published by the Free Software
* Foundation, GNU version 3. This project is distributed in the hope that it
* will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along with
* this project. If not, see <https://www.gnu.org/licenses/>.
*
* For any further details and any questions please contact us under
* contact@nymea.io or see our FAQ/Licensing Information on
* https://nymea.io/license/faq
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
import QtQuick.Controls.Material
import QtQuick.Controls
import QtQuick
import QtQuick.Layouts
import QtCore
import Qt.labs.folderlistmodel
import QtQuick.Window
import Nymea
import NymeaApp.Utils
ApplicationWindow {
id: app
visible: true
Label {
anchors.centerIn: parent
text: "Yeah..well"
}
}

View File

@ -39,7 +39,7 @@
<!-- Splash screen -->
<meta-data android:name="android.app.splash_screen_drawable" android:resource="@drawable/splash"/>
<meta-data android:name="android.app.splash_screen_sticky" android:value="true"/>
<!--<meta-data android:name="android.app.splash_screen_sticky" android:value="true"/>-->
<!-- Splash screen -->
<meta-data android:name="android.app.load_local_libs_resource_id" android:resource="@array/load_local_libs"/>