Revert "Add workaround for projects using 'QT += declarative'"
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Fri, 20 Apr 2012 14:50:44 +0000 (16:50 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 23 Apr 2012 17:20:19 +0000 (19:20 +0200)
The workaround should no longer be necessary.
It causes compile errors for MinGW since the command lines
are too long.

This reverts commit 6225e3ba01ef918724a15dd1311ab5d8205be534.

Change-Id: I0288f4621f072b91dc94f25092ef124fa4c1b09e
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
mkspecs/features/qt.prf

index fb67251..c699413 100644 (file)
@@ -1,32 +1,5 @@
 CONFIG *= moc thread
 
-# Temporary fixes to avoid QDeclarative -> QQml breakage:
-
-# Projects depending on declarative will now get the full set of
-# -DOldSymbol=NewSymbol definitions added to their configuration
-# so that the old symbol names still compile.  All code previously
-# in the declarative library is now in the qml library.
-contains(QT, qmldevtools):!contains(QT, declarative) {
-    QT += declarative
-}
-contains(QT, qmldevtools-private):!contains(QT, declarative-private) {
-    QT += declarative-private
-}
-
-contains(QT, quick):!contains(QT, declarative) {
-    QT += declarative
-}
-contains(QT, quick-private):!contains(QT, declarative-private) {
-    QT += declarative-private
-}
-
-contains(QT, declarative):!contains(QT, qml) {
-    QT += qml
-}
-contains(QT, declarative-private):!contains(QT, qml-private) {
-    QT += qml-private
-}
-
 #handle defines
 win32 {
    qt_static:DEFINES += QT_NODLL