summaryrefslogtreecommitdiff
path: root/src/qcam/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcam/meson.build')
-rw-r--r--src/qcam/meson.build19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/qcam/meson.build b/src/qcam/meson.build
new file mode 100644
index 00000000..8a71cda3
--- /dev/null
+++ b/src/qcam/meson.build
@@ -0,0 +1,19 @@
+qcam_sources = files([
+ 'format_converter.cpp',
+ 'main.cpp',
+ 'main_window.cpp',
+ '../cam/options.cpp',
+ 'qt_event_dispatcher.cpp',
+ 'viewfinder.cpp',
+])
+
+import('qt5')
+qt5_dep = dependency('qt5', modules: ['Core', 'Gui', 'Widgets'], required : false)
+
+if qt5_dep.found()
+ qcam = executable('qcam', qcam_sources,
+ link_with : libcamera,
+ include_directories : libcamera_includes,
+ dependencies : qt5_dep,
+ cpp_args : '-DQT_NO_KEYWORDS')
+endif