Use QApplication

pull/53/head
michal.szwaj 2018-03-18 00:04:21 +01:00
parent 083040426f
commit 2c84f2afc5
2 changed files with 3 additions and 2 deletions

View File

@ -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})

View File

@ -16,7 +16,7 @@
* along with openauto. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QCoreApplication>
#include <QApplication>
#include <f1x/openauto/Common/Log.hpp>
#include <f1x/openauto/btservice/AndroidBluetoothService.hpp>
#include <f1x/openauto/btservice/AndroidBluetoothServer.hpp>
@ -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;