path: root/src/corelib
diff options
authorKent Hansen <>2011-11-25 14:53:39 +0100
committerQt by Nokia <>2011-11-29 15:33:01 +0100
commitd4349b0482f6f9fc668aa7fecc77a1c09341b92a (patch)
treea18cf1d02b261d90c4672d8ed17bd667ba31b611 /src/corelib
parent3aeeb53d737798923b73bc99d43c0e84cf28eebe (diff)
Add deprecated headers support to syncqt
When renaming classes, or when moving classes from one module to another, it's useful to have a simple way of supporting the old API/location for some time. To this end, syncqt shall now recognize a "deprecatedheaders" section in sync.profile. It looks like this: %deprecatedheaders = ( "QtDeclarative" => { "qquickcanvas.h" => "QtQuick2/qquickcanvas.h", "qquickitem.h" => "QtQuick2/qquickitem.h", "QQuickCanvas" => "QtQuick2/QQuickCanvas", "QQuickItem" => "QtQuick2/QQuickItem", } ); In the above example, syncqt would generate a header called qquickcanvas.h for the QtDeclarative module; when included, this header will issue a warning and include <QtQuick2/qquickcanvas.h>. And so on, for the other entries. Deprecated headers are installed along with the module's normal headers. Change-Id: Ie2518b42275c2b2ff44216f07d376ccf5be6dc45 Reviewed-by: Marius Storm-Olsen <>
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions