Fix PluginInfoPage not being able to be displayed in Qt6
This commit is contained in:
parent
a3fc5eaf9f
commit
6d1a7c613b
3 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
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/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)
|
||||
|
||||
qt_add_resources(kdeconnect_SRCS resources.generated.qrc)
|
||||
|
|
|
@ -12,7 +12,7 @@ Kirigami.Page {
|
|||
property string configFile
|
||||
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, {
|
||||
device: root.device
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<file>qml/volume.qml</file>
|
||||
<file>qml/MprisSlider.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>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
Loading…
Reference in a new issue