on xenial help sign in
Added qmltypes files for plugins
04c326aNick Dedekind
plugins/HudClient/CMakeLists.txt+10
@@ -40,6 +40,12 @@ file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/qmldir"
40 DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
40 DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
41 )
41 )
42
42
43+# create the HudClient.qmltypes file
44+add_custom_target(HudClientQmlTypes ALL
45+ COMMAND qmlplugindump -notrelocatable HudClient 0.1 ${CMAKE_BINARY_DIR}/plugins > ${CMAKE_CURRENT_BINARY_DIR}/HudClient.qmltypes
46+)
47+add_dependencies(HudClientQmlTypes HudClientQml)
48+
43install(TARGETS HudClientQml
49install(TARGETS HudClientQml
44 DESTINATION ${SHELL_APP_DIR}/plugins/HudClient
50 DESTINATION ${SHELL_APP_DIR}/plugins/HudClient
45 )
51 )
@@ -47,3 +53,7 @@ install(TARGETS HudClientQml
47install(FILES qmldir
53install(FILES qmldir
48 DESTINATION ${SHELL_APP_DIR}/plugins/HudClient
54 DESTINATION ${SHELL_APP_DIR}/plugins/HudClient
49 )
55 )
56+
57+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/HudClient.qmltypes
58+ DESTINATION ${SHELL_APP_DIR}/plugins/HudClient
59+ )
plugins/HudClient/qmldir+1
@@ -1 +1,2 @@
1plugin HudClientQml
1plugin HudClientQml
2+typeinfo HudClient.qmltypes
plugins/LightDM/CMakeLists.txt+10
@@ -34,6 +34,12 @@ file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/qmldir"
34 DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
34 DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
35 )
35 )
36
36
37+# create the LightDM.qmltypes file
38+add_custom_target(LightDM-qmltyes ALL
39+ COMMAND qmlplugindump -notrelocatable LightDM 0.1 ${CMAKE_BINARY_DIR}/plugins > ${CMAKE_CURRENT_BINARY_DIR}/LightDM.qmltypes
40+)
41+add_dependencies(LightDM-qmltyes LightDM-qml)
42+
37install(TARGETS LightDM-qml
43install(TARGETS LightDM-qml
38 DESTINATION ${SHELL_APP_DIR}/plugins/LightDM
44 DESTINATION ${SHELL_APP_DIR}/plugins/LightDM
39 )
45 )
@@ -41,3 +47,7 @@ install(TARGETS LightDM-qml
41install(FILES qmldir
47install(FILES qmldir
42 DESTINATION ${SHELL_APP_DIR}/plugins/LightDM
48 DESTINATION ${SHELL_APP_DIR}/plugins/LightDM
43 )
49 )
50+
51+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/LightDM.qmltypes
52+ DESTINATION ${SHELL_APP_DIR}/plugins/LightDM
53+ )
plugins/LightDM/qmldir+1
@@ -1,2 +1,3 @@
1module LightDM
1module LightDM
2plugin LightDM-qml
2plugin LightDM-qml
3+typeinfo LightDM.qmltypes
plugins/ListViewWithPageHeader/CMakeLists.txt+10
@@ -35,6 +35,12 @@ file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/qmldir"
35 DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
35 DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
36 )
36 )
37
37
38+# create the ListViewWithPageHeader.qmltypes file
39+add_custom_target(ListViewWithPageHeader-qmltypes ALL
40+ COMMAND qmlplugindump -notrelocatable ListViewWithPageHeader 0.1 ${CMAKE_BINARY_DIR}/plugins > ${CMAKE_CURRENT_BINARY_DIR}/ListViewWithPageHeader.qmltypes
41+)
42+add_dependencies(ListViewWithPageHeader-qmltypes ListViewWithPageHeader-qml)
43+
38install(TARGETS ListViewWithPageHeader-qml
44install(TARGETS ListViewWithPageHeader-qml
39 DESTINATION ${SHELL_APP_DIR}/plugins/ListViewWithPageHeader
45 DESTINATION ${SHELL_APP_DIR}/plugins/ListViewWithPageHeader
40 )
46 )
@@ -42,3 +48,7 @@ install(TARGETS ListViewWithPageHeader-qml
42install(FILES qmldir
48install(FILES qmldir
43 DESTINATION ${SHELL_APP_DIR}/plugins/ListViewWithPageHeader
49 DESTINATION ${SHELL_APP_DIR}/plugins/ListViewWithPageHeader
44 )
50 )
51+
52+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ListViewWithPageHeader.qmltypes
53+ DESTINATION ${SHELL_APP_DIR}/plugins/ListViewWithPageHeader
54+ )
plugins/ListViewWithPageHeader/qmldir+1
@@ -1,2 +1,3 @@
1module ListViewWithPageHeader
1module ListViewWithPageHeader
2plugin ListViewWithPageHeader-qml
2plugin ListViewWithPageHeader-qml
3+typeinfo ListViewWithPageHeader.qmltypes
plugins/Ubuntu/Gestures/CMakeLists.txt+10
@@ -26,6 +26,12 @@ add_custom_target(UbuntuGestureQmlDirFile ALL
26 DEPENDS qmldir
26 DEPENDS qmldir
27)
27)
28
28
29+# create the UbuntuGestures.qmltypes file
30+add_custom_target(UbuntuGesture-qmltypes ALL
31+ COMMAND qmlplugindump -notrelocatable Ubuntu.Gestures 0.1 ${CMAKE_BINARY_DIR}/plugins > ${CMAKE_CURRENT_BINARY_DIR}/UbuntuGestures.qmltypes
32+)
33+add_dependencies(UbuntuGesture-qmltypes UbuntuGestureQml)
34+
29install(TARGETS UbuntuGestureQml
35install(TARGETS UbuntuGestureQml
30 DESTINATION ${SHELL_APP_DIR}/plugins/Ubuntu/Gestures
36 DESTINATION ${SHELL_APP_DIR}/plugins/Ubuntu/Gestures
31 )
37 )
@@ -33,3 +39,7 @@ install(TARGETS UbuntuGestureQml
33install(FILES qmldir
39install(FILES qmldir
34 DESTINATION ${SHELL_APP_DIR}/plugins/Ubuntu/Gestures
40 DESTINATION ${SHELL_APP_DIR}/plugins/Ubuntu/Gestures
35 )
41 )
42+
43+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/UbuntuGestures.qmltypes
44+ DESTINATION ${SHELL_APP_DIR}/plugins/Ubuntu/Gestures
45+ )
plugins/Ubuntu/Gestures/qmldir+1
@@ -1,2 +1,3 @@
1module Ubuntu.Gestures
1module Ubuntu.Gestures
2plugin UbuntuGestureQml
2plugin UbuntuGestureQml
3+typeinfo UbuntuGestures.qmltypes
plugins/Unity/CMakeLists.txt+10
@@ -40,6 +40,12 @@ file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/qmldir"
40 DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
40 DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
41 )
41 )
42
42
43+# create the Unity.qmltypes file
44+add_custom_target(Unity-qmltypes ALL
45+ COMMAND qmlplugindump -notrelocatable Unity 0.1 ${CMAKE_BINARY_DIR}/plugins > ${CMAKE_CURRENT_BINARY_DIR}/Unity.qmltypes
46+)
47+add_dependencies(Unity-qmltypes Unity-qml)
48+
43install(TARGETS Unity-qml
49install(TARGETS Unity-qml
44 DESTINATION ${SHELL_APP_DIR}/plugins/Unity
50 DESTINATION ${SHELL_APP_DIR}/plugins/Unity
45 )
51 )
@@ -47,3 +53,7 @@ install(TARGETS Unity-qml
47install(FILES qmldir
53install(FILES qmldir
48 DESTINATION ${SHELL_APP_DIR}/plugins/Unity
54 DESTINATION ${SHELL_APP_DIR}/plugins/Unity
49 )
55 )
56+
57+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/Unity.qmltypes
58+ DESTINATION ${SHELL_APP_DIR}/plugins/Unity
59+ )
plugins/Unity/qmldir+1
@@ -1,2 +1,3 @@
1module Unity
1module Unity
2plugin Unity-qml
2plugin Unity-qml
3+typeinfo Unity.qmltypes
plugins/Utils/CMakeLists.txt+10
@@ -27,6 +27,12 @@ file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/qmldir"
27 DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
27 DESTINATION ${CMAKE_CURRENT_BINARY_DIR}
28 )
28 )
29
29
30+# create the Utils.qmltypes file
31+add_custom_target(Utils-qmltypes ALL
32+ COMMAND qmlplugindump -notrelocatable Utils 0.1 ${CMAKE_BINARY_DIR}/plugins > ${CMAKE_CURRENT_BINARY_DIR}/Utils.qmltypes
33+)
34+add_dependencies(Utils-qmltypes Utils-qml)
35+
30install(TARGETS Utils-qml
36install(TARGETS Utils-qml
31 DESTINATION ${SHELL_APP_DIR}/plugins/Utils
37 DESTINATION ${SHELL_APP_DIR}/plugins/Utils
32 )
38 )
@@ -34,3 +40,7 @@ install(TARGETS Utils-qml
34install(FILES qmldir
40install(FILES qmldir
35 DESTINATION ${SHELL_APP_DIR}/plugins/Utils
41 DESTINATION ${SHELL_APP_DIR}/plugins/Utils
36 )
42 )
43+
44+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/Utils.qmltypes
45+ DESTINATION ${SHELL_APP_DIR}/plugins/Utils
46+ )
plugins/Utils/qmldir+1
@@ -1,2 +1,3 @@
1module Utils
1module Utils
2plugin Utils-qml
2plugin Utils-qml
3+typeinfo Utils.qmltypes