diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-01-22 16:53:16 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-01-23 09:45:59 +0100 |
commit | cebd6d59cb52bad59e4056691c8eb04690858897 (patch) | |
tree | 0a48a0cd3168ccc6fa4b9f2807728439e2957788 /tests/manual/diaglib/qwidgetdump.cpp | |
parent | 560c8ac09865caa93228da8c343a93dce6ba01d2 (diff) |
Diaglib: Fix compilation with Qt 5.3.
QDebug does not have noquote() in Qt 5.3.
Task-number: QTBUG-44021
Change-Id: If35b926d6b1e5bb9ad3534357630533dfcecd076
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Diffstat (limited to 'tests/manual/diaglib/qwidgetdump.cpp')
-rw-r--r-- | tests/manual/diaglib/qwidgetdump.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/diaglib/qwidgetdump.cpp b/tests/manual/diaglib/qwidgetdump.cpp index d4f985c7c8..894f51bce3 100644 --- a/tests/manual/diaglib/qwidgetdump.cpp +++ b/tests/manual/diaglib/qwidgetdump.cpp @@ -84,7 +84,7 @@ void dumpAllWidgets(FormatWindowOptions options) str << "### QWidgets:\n"; foreach (QWidget *tw, QApplication::topLevelWidgets()) dumpWidgetRecursion(str, tw, options); -#if QT_VERSION > 0x050000 +#if QT_VERSION >= 0x050400 qDebug().noquote() << d; #else qDebug("%s", qPrintable(d)); |