c74f055
qt-bugs@ issue : none
c74f055
Trolltech task ID : none
c74f055
applied: yes
c74f055
author: David Faure <faure@kde.org>
c74f055
c74f055
Needed to distinguish qt-copy from released versions of qt, at least while
c74f055
we backport API additions to qt-copy.
c74f055
c74f055
Index: src/corelib/global/qglobal.h
c74f055
===================================================================
c74f055
--- src/corelib/global/qglobal.h        (revision 536662)
c74f055
+++ src/corelib/global/qglobal.h        (working copy)
c74f055
@@ -38,6 +38,11 @@
c74f055
 #include <QtCore/qconfig.h>
c74f055
 #endif
c74f055
c74f055
+/* QT_KDE_QT_COPY is set in qt-copy so that we know when we can use features backported to qt-copy
c74f055
+   Keep in mind that it should also work with the right release of Qt, so use something like:
c74f055
+      #if defined(QT_KDE_QT_COPY) || QT_VERSION >= 0x040200 */
c74f055
+#define QT_KDE_QT_COPY
c74f055
+
c74f055
 /*
c74f055
    The operating system, must be one of: (Q_OS_x)
c74f055