diff --git a/share/qtcreator/gdbmacros/gdbmacros.cpp b/share/qtcreator/gdbmacros/gdbmacros.cpp index 5c3c79e6ae3..e6799d88aeb 100644 --- a/share/qtcreator/gdbmacros/gdbmacros.cpp +++ b/share/qtcreator/gdbmacros/gdbmacros.cpp @@ -2329,7 +2329,9 @@ static const char *qConnectionType(uint type) case Qt::QueuedConnection: output = "queued"; break; case Qt::BlockingQueuedConnection: output = "blockingqueued"; break; case 3: output = "autocompat"; break; +#if QT_VERSION >= 0x040600 case Qt::UniqueConnection: output = "unique"; break; +#endif }; return output; };