File tree 2 files changed +20
-5
lines changed
2 files changed +20
-5
lines changed Original file line number Diff line number Diff line change 2
2
3
3
4
4
qt6_add_qml_module(ocvdecoder
5
- URI ocvdecoder.decoder
5
+ URI ocvdecoder
6
6
VERSION 1.0
7
7
SOURCES
8
8
ocvdecoder.h ocvdecoder.cpp
9
9
)
10
10
11
11
12
- target_link_libraries (ocvdecoder
13
- PRIVATE Qt6::Quick Qt6::Multimedia
14
- -static -openmp -fopenmp
15
- )
12
+ if (ANDROID)
13
+ target_link_libraries (ocvdecoder
14
+ PRIVATE Qt6::Quick Qt6::Multimedia
15
+ -static -openmp -fopenmp
16
+ )
17
+ endif ()
18
+
19
+ if (IOS)
20
+ target_link_libraries (ocvdecoder
21
+ PRIVATE Qt6::Quick Qt6::Multimedia
22
+ )
23
+ endif ()
24
+
16
25
17
26
target_include_directories (ocvdecoder PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} /opencv/include /)
18
27
Original file line number Diff line number Diff line change
1
+ module ocvdecoder
2
+ linktarget ocvdecoderplugin
3
+ optional plugin qml_ocvdecoder_ocvdecoderplugin
4
+ classname ocvdecoderPlugin
5
+ typeinfo ocvdecoder.qmltypes
6
+ prefer :/ocvdecoder/
You can’t perform that action at this time.
0 commit comments