Compile opi_rtsp as only command line app

This commit is contained in:
Tuomas Järvinen
2024-07-04 13:50:26 +03:00
parent 67c2b41986
commit f4027094f1
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ void AiEngine::inferenceResultsReceivedSlot(AiEngineInferenceResult result)
//qDebug() << "AiEngine got inference results in thread: " << QThread::currentThreadId(); //qDebug() << "AiEngine got inference results in thread: " << QThread::currentThreadId();
mGimbalControl->inferenceResultSlot(result); mGimbalControl->inferenceResultSlot(result);
cv::imshow("Received Frame", result.frame); //cv::imshow("Received Frame", result.frame);
//#ifndef OPI5_BUILD //#ifndef OPI5_BUILD
//cv::imshow("Received Frame", result.frame); //cv::imshow("Received Frame", result.frame);
+2 -1
View File
@@ -1,5 +1,6 @@
QT += core QT += core
CONFIG += c++11 link_pkgconfig concurrent QT -= gui
CONFIG += c++11 link_pkgconfig concurrent console
PKGCONFIG += opencv4 PKGCONFIG += opencv4
MOC_DIR = moc MOC_DIR = moc
OBJECTS_DIR = obj OBJECTS_DIR = obj