mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-13 05:45:49 +00:00
refactor: use default qml library paths
previous implementation stores data in share instead of lib (I guess, I had issues with using default paths?). Let's use normal paths instead
This commit is contained in:
@ -1,12 +1,7 @@
|
||||
set(SUBPROJECT awesomewidgets-qml)
|
||||
message(STATUS "Subproject ${SUBPROJECT}")
|
||||
|
||||
file(GLOB SUBPROJECT_SOURCE *.qml)
|
||||
file(GLOB SUBPROJECT_QMLDIR_IN qmldir.in)
|
||||
|
||||
# prepare
|
||||
configure_file(${SUBPROJECT_QMLDIR_IN} ${CMAKE_CURRENT_SOURCE_DIR}/../awesome-widget/package/contents/ui/qmldir)
|
||||
configure_file(${SUBPROJECT_QMLDIR_IN} ${CMAKE_CURRENT_SOURCE_DIR}/../desktop-panel/package/contents/ui/qmldir)
|
||||
file(GLOB SUBPROJECT_SOURCE *.qml qmldir)
|
||||
|
||||
# install
|
||||
install(FILES ${SUBPROJECT_SOURCE} DESTINATION ${KDE_INSTALL_FULL_DATADIR}/${PROJECT_NAME}/qml)
|
||||
install(FILES ${SUBPROJECT_SOURCE} DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/${PROJECT_NAME})
|
||||
|
23
sources/qml/qmldir
Normal file
23
sources/qml/qmldir
Normal file
@ -0,0 +1,23 @@
|
||||
# common QML constants
|
||||
singleton General 1.0 General.qml
|
||||
|
||||
# custom QML UI classes
|
||||
AboutTab AboutTab.qml
|
||||
AWExtensions AWExtensions.qml
|
||||
AWInfoLabel AWInfoLabel.qml
|
||||
AWTagSelector AWTagSelector.qml
|
||||
AWTextEditor AWTextEditor.qml
|
||||
BugReport BugReport.qml
|
||||
ButtonSelector ButtonSelector.qml
|
||||
CheckBoxSelector CheckBoxSelector.qml
|
||||
ColorSelector ColorSelector.qml
|
||||
ComboBoxSelector ComboBoxSelector.qml
|
||||
ExportDialog ExportDialog.qml
|
||||
FontSelector FontSelector.qml
|
||||
HtmlDefaultFunctionsBar HtmlDefaultFunctionsBar.qml
|
||||
HtmlEditorButton HtmlEditorButton.qml
|
||||
HtmlEditorColor HtmlEditorColor.qml
|
||||
HtmlEditorFont HtmlEditorFont.qml
|
||||
ImportDialog ImportDialog.qml
|
||||
IntegerSelector IntegerSelector.qml
|
||||
LineSelector LineSelector.qml
|
@ -1,27 +0,0 @@
|
||||
# Do not edit qmldir directly it will be overrided during compilation,
|
||||
# edit qml/qmldir.in file instead.
|
||||
|
||||
|
||||
# common QML constants
|
||||
singleton General 1.0 file://@KDE_INSTALL_FULL_DATADIR@/@PROJECT_NAME@/qml/General.qml
|
||||
|
||||
# custom QML UI classes
|
||||
AboutTab file://@KDE_INSTALL_FULL_DATADIR@/@PROJECT_NAME@/qml/AboutTab.qml
|
||||
AWExtensions file://@KDE_INSTALL_FULL_DATADIR@/@PROJECT_NAME@/qml/AWExtensions.qml
|
||||
AWInfoLabel file://@KDE_INSTALL_FULL_DATADIR@/@PROJECT_NAME@/qml/AWInfoLabel.qml
|
||||
AWTagSelector file://@KDE_INSTALL_FULL_DATADIR@/@PROJECT_NAME@/qml/AWTagSelector.qml
|
||||
AWTextEditor file://@KDE_INSTALL_FULL_DATADIR@/@PROJECT_NAME@/qml/AWTextEditor.qml
|
||||
BugReport file://@KDE_INSTALL_FULL_DATADIR@/@PROJECT_NAME@/qml/BugReport.qml
|
||||
ButtonSelector file://@KDE_INSTALL_FULL_DATADIR@/@PROJECT_NAME@/qml/ButtonSelector.qml
|
||||
CheckBoxSelector file://@KDE_INSTALL_FULL_DATADIR@/@PROJECT_NAME@/qml/CheckBoxSelector.qml
|
||||
ColorSelector file://@KDE_INSTALL_FULL_DATADIR@/@PROJECT_NAME@/qml/ColorSelector.qml
|
||||
ComboBoxSelector file://@KDE_INSTALL_FULL_DATADIR@/@PROJECT_NAME@/qml/ComboBoxSelector.qml
|
||||
ExportDialog file://@KDE_INSTALL_FULL_DATADIR@/@PROJECT_NAME@/qml/ExportDialog.qml
|
||||
FontSelector file://@KDE_INSTALL_FULL_DATADIR@/@PROJECT_NAME@/qml/FontSelector.qml
|
||||
HtmlDefaultFunctionsBar file://@KDE_INSTALL_FULL_DATADIR@/@PROJECT_NAME@/qml/HtmlDefaultFunctionsBar.qml
|
||||
HtmlEditorButton file://@KDE_INSTALL_FULL_DATADIR@/@PROJECT_NAME@/qml/HtmlEditorButton.qml
|
||||
HtmlEditorColor file://@KDE_INSTALL_FULL_DATADIR@/@PROJECT_NAME@/qml/HtmlEditorColor.qml
|
||||
HtmlEditorFont file://@KDE_INSTALL_FULL_DATADIR@/@PROJECT_NAME@/qml/HtmlEditorFont.qml
|
||||
ImportDialog file://@KDE_INSTALL_FULL_DATADIR@/@PROJECT_NAME@/qml/ImportDialog.qml
|
||||
IntegerSelector file://@KDE_INSTALL_FULL_DATADIR@/@PROJECT_NAME@/qml/IntegerSelector.qml
|
||||
LineSelector file://@KDE_INSTALL_FULL_DATADIR@/@PROJECT_NAME@/qml/LineSelector.qml
|
Reference in New Issue
Block a user