Discussion:
[Flightgear-commitlogs] [FlightGear] branch next updated: Hopefully fix "qInfo not defined"
(too old to reply)
w***@gmail.com
2017-07-08 14:45:58 UTC
Permalink
yes! thank you! this seems to allow my system to compile FG again... now i can
maybe go play with a few of the other new features recently added in the last
week or so... well, maybe once i stop hanging out at diego garcia :) O:)
torstendreyer pushed a commit to branch next
in repository flightgear.
new c9eff67 Hopefully fix "qInfo not defined"
c9eff67 is described below
SF URL: http://sourceforge.net/p/flightgear/flightgear/ci/c9eff67409a784cced55a6ba41fb0c141ca37ba9/
Commit: c9eff67409a784cced55a6ba41fb0c141ca37ba9
Author: Torsten Dreyer
Committer: Torsten Dreyer
AuthorDate: Fri Jul 7 11:49:09 2017 +0200
Hopefully fix "qInfo not defined"
---
src/GUI/PreviewWindow.cxx | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/GUI/PreviewWindow.cxx b/src/GUI/PreviewWindow.cxx
index 85289c8..73942a8 100644
--- a/src/GUI/PreviewWindow.cxx
+++ b/src/GUI/PreviewWindow.cxx
@@ -5,6 +5,13 @@
#include <QNetworkReply>
#include <QDebug>
+#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0)
+#define qInfo qDebug
+#define qWarning qDebug
+#define qFatal qDebug
+#define qCritical qDebug
+#endif
+
const int BORDER_SIZE = 16;
PreviewWindow::PreviewWindow(QWidget *parent)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Flightgear-commitlogs mailing list
https://lists.sourceforge.net/lists/listinfo/flightgear-commitlogs
--
NOTE: No off-list assistance is given without prior approval.
*Please keep mailing list traffic on the list unless*
*a signed and pre-paid contract is in effect with us.*
Loading...