# Preprocess Qt as needed.
qt_files = qt5.preprocess(
- moc_headers: ['aboutdialog.h'],
+ moc_headers: ['aboutdialog.h', 'controller_spin_box.h'],
ui_files: ['aboutdialog.ui'],
dependencies: shared_qt5deps)
include_directories: top_include,
link_with: [shared, protobuf_lib])
-bin2h = executable('bin2h', 'bin2h.cpp')
+bin2h = executable('bin2h', 'bin2h.cpp', native: true)
bin2h_gen = generator(bin2h, \
output : ['@PLAINNAME@.cpp'],
arguments : ['@INPUT@', '@PLAINNAME@', '@OUTPUT@'])