Debian Codegraph @

src/imports/Components/Popups/CMakeLists.txt

raw
1 set_source_files_properties(2.0/PopupUtils.js
2 PROPERTIES
3 QT_QML_SKIP_QMLDIR_ENTRY FALSE
4 )
5
6 qt_add_qml_module(LomiriComponentsPopups
7 URI Lomiri.Components.Popups
8 VERSION 2.0
9 PLUGIN_TARGET LomiriComponentsPopups
10 OUTPUT_DIRECTORY "${QML_BUILD_DIR}/Lomiri/Components/Popups"
11 NO_GENERATE_EXTRA_QMLDIRS
12 NO_PLUGIN_OPTIONAL
13 QML_FILES
14 2.0/ActionSelectionPopover.qml
15 2.0/ComposerSheet.qml
16 2.0/DefaultSheet.qml
17 2.0/Dialog.qml
18 2.0/internalPopupUtils.js
19 2.0/Popover.qml
20 2.0/PopupBase.qml
21 2.0/PopupUtils.js
22 2.0/SheetBase.qml
23 )
24
25 install_qml_module(LomiriComponentsPopups)
26
27 # Woraround for https://qt-project.atlassian.net/browse/QTBUG-144829
28 # The qmldir "prefer" directive is ignored for scripts when using a
29 # qualified import, so for now we install the JavaScript file.
30 install(FILES "2.0/PopupUtils.js"
31 DESTINATION "${QML_INSTALL_DIR}/Lomiri/Components/Popups/2.0"
32 )