From 229a6bcc9e8f1385e09c33987991e029d1cb0539 Mon Sep 17 00:00:00 2001 From: leca Date: Thu, 20 Mar 2025 22:01:53 +0300 Subject: [PATCH] right dependency division --- CMakeLists.txt | 3 +++ ofdscene.cpp | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 058af2a..4e4c04d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -116,6 +116,9 @@ endif() if (BUILD_OFD_BINARYEYE_SCAN OR BUILD_OFD_LOCAL_QR_SCAN) list(APPEND PROJECT_SOURCES exceptions/ofdrequestexception.h exceptions/ofdrequestexception.cpp) +endif() + +if (BUILD_OFD_BINARYEYE_SCAN) list(APPEND PROJECT_SOURCES http_server/http_server.h http_server/http_server.cpp) endif() diff --git a/ofdscene.cpp b/ofdscene.cpp index b9546f3..e630132 100644 --- a/ofdscene.cpp +++ b/ofdscene.cpp @@ -99,7 +99,6 @@ void OFDScene::on_stop_server_button_clicked() { } void OFDScene::httpNewMessageHandler(QString message) { - // std::cout << message << std::endl; std::string parametersString = split(message.toStdString(), " ")[1]; //erase /?result= from the string