From f4027094f1a997b6fe8870b5f52fd8cdae69e04a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tuomas=20J=C3=A4rvinen?= Date: Thu, 4 Jul 2024 13:50:26 +0300 Subject: [PATCH] Compile opi_rtsp as only command line app --- tmp/opi_rtsp/aiengine.cpp | 2 +- tmp/opi_rtsp/opi_rtsp.pro | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tmp/opi_rtsp/aiengine.cpp b/tmp/opi_rtsp/aiengine.cpp index fd4df6f..9436c6f 100644 --- a/tmp/opi_rtsp/aiengine.cpp +++ b/tmp/opi_rtsp/aiengine.cpp @@ -48,7 +48,7 @@ void AiEngine::inferenceResultsReceivedSlot(AiEngineInferenceResult result) //qDebug() << "AiEngine got inference results in thread: " << QThread::currentThreadId(); mGimbalControl->inferenceResultSlot(result); - cv::imshow("Received Frame", result.frame); + //cv::imshow("Received Frame", result.frame); //#ifndef OPI5_BUILD //cv::imshow("Received Frame", result.frame); diff --git a/tmp/opi_rtsp/opi_rtsp.pro b/tmp/opi_rtsp/opi_rtsp.pro index baffd59..2e2a043 100644 --- a/tmp/opi_rtsp/opi_rtsp.pro +++ b/tmp/opi_rtsp/opi_rtsp.pro @@ -1,5 +1,6 @@ QT += core -CONFIG += c++11 link_pkgconfig concurrent +QT -= gui +CONFIG += c++11 link_pkgconfig concurrent console PKGCONFIG += opencv4 MOC_DIR = moc OBJECTS_DIR = obj