diff --git a/src/QGCMessageBox.h b/src/QGCMessageBox.h index 54d54d8c3362a7a5980c11c9eba3cda2415f4d49..98717151380fa9f1915d423f948e1db7dbe7e78f 100644 --- a/src/QGCMessageBox.h +++ b/src/QGCMessageBox.h @@ -28,7 +28,9 @@ #include "MainWindow.h" #include "QGCApplication.h" +#ifdef QT_DEBUG #include "UnitTest.h" +#endif /// @file /// @brief Subclass of QMessageBox which re-implements the static public functions. There are two reasons for this: