|
2 | 2 | # SPDX-FileContributor: Carl Schwan <carl.schwan@nextcloud.com> |
3 | 3 | # SPDX-License-Identifier: BSD-3-Clause |
4 | 4 |
|
5 | | -add_library(nextcloudTray STATIC |
6 | | - activitydata.cpp |
7 | | - activitydata.h |
8 | | - activitylistmodel.cpp |
9 | | - activitylistmodel.h |
10 | | - asyncimageresponse.cpp |
11 | | - fileactivitylistmodel.cpp |
12 | | - fileactivitylistmodel.h |
13 | | - notificationhandler.cpp |
14 | | - notificationhandler.h |
15 | | - sortedactivitylistmodel.cpp |
16 | | - sortedactivitylistmodel.h |
17 | | - svgimageprovider.cpp |
18 | | - svgimageprovider.h |
19 | | - syncstatussummary.cpp |
20 | | - syncstatussummary.h |
21 | | - talkreply.cpp |
22 | | - trayimageprovider.cpp |
23 | | - unifiedsearchresult.cpp |
24 | | - unifiedsearchresult.h |
25 | | - unifiedsearchresultslistmodel.cpp |
26 | | - unifiedsearchresultslistmodel.h |
27 | | - usermodel.cpp |
28 | | - usermodel.h |
29 | | -) |
30 | | - |
31 | | -target_link_libraries(nextcloudTray PRIVATE nextcloudCore Qt::QmlIntegration) |
| 5 | +add_library(nextcloudTray STATIC) |
32 | 6 |
|
33 | | -qt_add_qml_module(nextcloudTray |
| 7 | +ecm_add_qml_module(nextcloudTray |
34 | 8 | URI com.nextcloud.desktopclient.tray |
| 9 | + GENERATE_PLUGIN_SOURCE |
35 | 10 | QML_FILES |
36 | 11 | MainWindow.qml |
37 | 12 | UserLine.qml |
@@ -66,4 +41,30 @@ qt_add_qml_module(nextcloudTray |
66 | 41 | ListItemLineAndSubline.qml |
67 | 42 | TrayFoldersMenuButton.qml |
68 | 43 | TrayFolderListItem.qml |
| 44 | + SOURCES |
| 45 | + activitydata.cpp |
| 46 | + activitydata.h |
| 47 | + activitylistmodel.cpp |
| 48 | + activitylistmodel.h |
| 49 | + asyncimageresponse.cpp |
| 50 | + fileactivitylistmodel.cpp |
| 51 | + fileactivitylistmodel.h |
| 52 | + notificationhandler.cpp |
| 53 | + notificationhandler.h |
| 54 | + sortedactivitylistmodel.cpp |
| 55 | + sortedactivitylistmodel.h |
| 56 | + svgimageprovider.cpp |
| 57 | + svgimageprovider.h |
| 58 | + syncstatussummary.cpp |
| 59 | + syncstatussummary.h |
| 60 | + talkreply.cpp |
| 61 | + trayimageprovider.cpp |
| 62 | + unifiedsearchresult.cpp |
| 63 | + unifiedsearchresult.h |
| 64 | + unifiedsearchresultslistmodel.cpp |
| 65 | + unifiedsearchresultslistmodel.h |
| 66 | + usermodel.cpp |
| 67 | + usermodel.h |
69 | 68 | ) |
| 69 | + |
| 70 | +target_link_libraries(nextcloudTray PRIVATE nextcloudCore Qt::QmlIntegration) |
0 commit comments