Skip to content

Commit

Permalink
Work on CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
emericg committed Nov 28, 2024
1 parent e700d8f commit da2ebf1
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/builds_desktop_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
- name: Build application
run: |
export CMAKE_BUILD_PARALLEL_LEVEL=`sysctl -n hw.logicalcpu`
cmake -B build/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"
cmake -B build/ -DCMAKE_BUILD_TYPE=Release
cmake --build build/ --config Release
# Deploy application
Expand Down
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ qt_add_qml_module(${CMAKE_PROJECT_NAME}
qml/popups/PopupChoice.qml
qml/popups/PopupDate.qml
qml/popups/PopupTime.qml

qml/QmlImports.qml
)

################################################################################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<component type="desktop-application">
<id>io.emeric.qmlapptemplate</id>
<name>QmlAppTemplate</name>
<launchable type="desktop-id">qmlapptemplate.desktop</launchable>
<launchable type="desktop-id">QmlAppTemplate.desktop</launchable>

<summary>Qt6 / QML Application Template</summary>
<summary>QML Application Template</summary>
<description>
<p>QmlAppTemplate is a Qt6 / QML Application Template</p>
</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
Type=Application
Name=QmlAppTemplate
Comment=QmlAppTemplate is a Qt6 / QML Application Template
Exec=qmlapptemplate
Icon=qmlapptemplate
Exec=QmlAppTemplate
Icon=QmlAppTemplate
Categories=Utility;Qt;
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ app-id: io.emeric.qmlapptemplate
runtime: org.freedesktop.Platform
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
command: qmlapptemplate
command: QmlAppTemplate

rename-desktop-file: qmlapptemplate.desktop
rename-appdata-file: qmlapptemplate.appdata.xml
rename-icon: qmlapptemplate
rename-desktop-file: QmlAppTemplate.desktop
rename-appdata-file: QmlAppTemplate.appdata.xml
rename-icon: QmlAppTemplate

finish-args:
# Our UI is GPU accelerated
Expand Down
File renamed without changes
5 changes: 5 additions & 0 deletions qml/QmlImports.qml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import QtCore

import Qt.labs.qmlmodels

QtObject {}

0 comments on commit da2ebf1

Please sign in to comment.