Hi all,
I just tried to compile Qt Creator (master) from source and got a
compilation error in debuggerplugin.cpp because
QMessageBox::setTextInterationFlag is used in a Qt 5.0 block although it
was introduced in 5.1.
diff --git a/src/plugins/debugger/debuggerplugin.cpp
b/src/plugins/debugger/debuggerplugin.cpp
index 02024db..0f1a9f0 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -2641,7 +2641,7 @@ QMessageBox *showMessageBox(int icon, const
QString &title,
title, text, QMessageBox::StandardButtons(buttons),
ICore::mainWindow());
mb->setAttribute(Qt::WA_DeleteOnClose);
-#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
+#if (QT_VERSION >= QT_VERSION_CHECK(5, 1, 0))
mb->setTextInteractionFlags(Qt::TextSelectableByMouse);
#endif
mb->show();
I thought I just post it here because it may be easier for someone with
commits rights to just fix it :-)
Cheers,
André
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator