summaryrefslogtreecommitdiff
path: root/src/qcam/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcam/main.cpp')
-rw-r--r--src/qcam/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qcam/main.cpp b/src/qcam/main.cpp
index 5eff90a3..d3f01a85 100644
--- a/src/qcam/main.cpp
+++ b/src/qcam/main.cpp
@@ -18,6 +18,8 @@
#include "main_window.h"
#include "message_handler.h"
+using namespace libcamera;
+
void signalHandler([[maybe_unused]] int signal)
{
qInfo() << "Exiting";
@@ -66,7 +68,7 @@ int main(int argc, char **argv)
sa.sa_handler = &signalHandler;
sigaction(SIGINT, &sa, nullptr);
- CameraManager *cm = new CameraManager();
+ CameraManager *cm = new libcamera::CameraManager();
ret = cm->start();
if (ret) {