mirror of https://github.com/f1xpl/openauto.git
Use QApplication
parent
083040426f
commit
2c84f2afc5
|
@ -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})
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue