diff --git a/qt-ui/btdeviceselectiondialog.h b/qt-ui/btdeviceselectiondialog.h index 6bcc43f34..0a486635f 100644 --- a/qt-ui/btdeviceselectiondialog.h +++ b/qt-ui/btdeviceselectiondialog.h @@ -8,7 +8,9 @@ #include #include +#if QT_VERSION < 0x050500 Q_DECLARE_METATYPE(QBluetoothDeviceInfo) +#endif namespace Ui { class BtDeviceSelectionDialog;