Fix PluginInfoPage not being able to be displayed in Qt6

This commit is contained in:
Alexander Lohnau 2023-07-22 11:04:27 +02:00
parent a3fc5eaf9f
commit 6d1a7c613b
3 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,7 @@
configure_file(qml/main.qml ${CMAKE_CURRENT_BINARY_DIR}/qml/main.qml) configure_file(qml/main.qml ${CMAKE_CURRENT_BINARY_DIR}/qml/main.qml)
configure_file(qml/DevicePage.qml ${CMAKE_CURRENT_BINARY_DIR}/qml/DevicePage.qml) configure_file(qml/DevicePage.qml ${CMAKE_CURRENT_BINARY_DIR}/qml/DevicePage.qml)
configure_file(qml/FindDevicesPage.qml ${CMAKE_CURRENT_BINARY_DIR}/qml/FindDevicesPage.qml) configure_file(qml/FindDevicesPage.qml ${CMAKE_CURRENT_BINARY_DIR}/qml/FindDevicesPage.qml)
configure_file(qml/PluginInfoPage.qml ${CMAKE_CURRENT_BINARY_DIR}/qml/PluginInfoPage.qml)
configure_file(resources.qrc.in ${CMAKE_CURRENT_SOURCE_DIR}/resources.generated.qrc) configure_file(resources.qrc.in ${CMAKE_CURRENT_SOURCE_DIR}/resources.generated.qrc)
qt_add_resources(kdeconnect_SRCS resources.generated.qrc) qt_add_resources(kdeconnect_SRCS resources.generated.qrc)

View file

@ -12,7 +12,7 @@ Kirigami.Page {
property string configFile property string configFile
property string device property string device
actions.main: loader.item && loader.item.action ? loader.item.action : null @KIRIGAMI_PAGE_ACTIONS@: loader.item && loader.item.action ? loader.item.action : null
onConfigFileChanged: loader.setSource(configFile, { onConfigFileChanged: loader.setSource(configFile, {
device: root.device device: root.device

View file

@ -12,7 +12,7 @@
<file>qml/volume.qml</file> <file>qml/volume.qml</file>
<file>qml/MprisSlider.qml</file> <file>qml/MprisSlider.qml</file>
<file>qml/PluginSettings.qml</file> <file>qml/PluginSettings.qml</file>
<file>qml/PluginInfoPage.qml</file> <file alias="qml/PluginInfoPage.qml">@CMAKE_CURRENT_BINARY_DIR@/qml/PluginInfoPage.qml</file>
<file>qml/Settings.qml</file> <file>qml/Settings.qml</file>
</qresource> </qresource>
</RCC> </RCC>