diff --git a/CMakeLists.txt b/CMakeLists.txt index cf4f326..7a530db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -92,5 +92,6 @@ add_executable(btservice ${btservice_source_files}) target_link_libraries(btservice ${Boost_LIBRARIES} ${Qt5Bluetooth_LIBRARIES} + ${Qt5MultimediaWidgets_LIBRARIES} ${PROTOBUF_LIBRARIES} ${AASDK_PROTO_LIBRARIES}) diff --git a/src/btservice/btservice.cpp b/src/btservice/btservice.cpp index bf015c6..3bdc209 100644 --- a/src/btservice/btservice.cpp +++ b/src/btservice/btservice.cpp @@ -16,7 +16,7 @@ * along with openauto. If not, see . */ -#include +#include #include #include #include @@ -25,7 +25,7 @@ namespace btservice = f1x::openauto::btservice; int main(int argc, char* argv[]) { - QCoreApplication qApplication(argc, argv); + QApplication qApplication(argc, argv); const QBluetoothAddress address; const uint16_t portNumber = 5000;