Commit 6863dcf7 authored by Don Gagne's avatar Don Gagne

Merge pull request #1694 from DonLakeFlyer/AndroidFix

Remove QSerialPortInfo from mobile build
parents 0f851eea 9d14d9c7
......@@ -30,7 +30,9 @@ This file is part of the QGROUNDCONTROL project
#include <QApplication>
#include <QSslSocket>
#ifndef __mobile__
#include <QSerialPortInfo>
#endif
#include "QGCApplication.h"
#include "MainWindow.h"
......@@ -50,7 +52,9 @@ This file is part of the QGROUNDCONTROL project
#undef main
#endif
#ifndef __mobile__
Q_DECLARE_METATYPE(QSerialPortInfo)
#endif
#ifdef Q_OS_WIN
......@@ -109,7 +113,9 @@ int main(int argc, char *argv[])
qRegisterMetaType<QSerialPort::SerialPortError>();
#endif
qRegisterMetaType<QAbstractSocket::SocketError>();
#ifndef __mobile__
qRegisterMetaType<QSerialPortInfo>();
#endif
// We statically link to the google QtLocation plugin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment