1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-27 16:54:15 +01:00

LP-491 Add Q_NAMESPACE for Qt 5.8

This commit is contained in:
Fernando Lopez Jr 2017-02-06 06:41:35 +00:00 committed by Philippe Renon
parent 5569bc3fb6
commit 2bbd63946b
2 changed files with 6 additions and 0 deletions

View File

@ -46,6 +46,9 @@ class qsspt;
class opHID_hidapi; class opHID_hidapi;
namespace DFU { namespace DFU {
#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
Q_NAMESPACE
#endif
enum TransferTypes { enum TransferTypes {
FW, FW,
Descript Descript

View File

@ -46,6 +46,9 @@ class qsspt;
class opHID_hidapi; class opHID_hidapi;
namespace DFU { namespace DFU {
#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)
Q_NAMESPACE
#endif
enum TransferTypes { enum TransferTypes {
FW, FW,
Descript Descript