fixqt4headers: Remove QtQuick1 and add QtMultimedia
authorLars Knoll <lars.knoll@digia.com>
Wed, 28 Nov 2012 10:04:22 +0000 (11:04 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 28 Nov 2012 15:21:57 +0000 (16:21 +0100)
QtQuick1 is QtDeclarative again, so there's no header
file renaming needed. But Multimedia got renamed from
multimediakit and this needs to be included.

Change-Id: Ie787d6841f0525e1dc290f7ca8d9cae148308e32
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
bin/fixqt4headers.pl

index 92162da..bb719f7 100755 (executable)
@@ -145,13 +145,13 @@ findQtHeaders('QtConcurrent', $qtdir);
 findQtHeaders('QtWidgets', $qtdir);
 findQtHeaders('QtPrintSupport', $qtdir);
 
-if (-d $qtdir . '/include/QtQuick1') {
-    findQtHeaders('QtQuick1', $qtdir);
-} elsif (-d $qtdir . '/../qtdeclarative' ) {
+if (-d $qtdir . '/include/QtMultiMedia') {
+    findQtHeaders('QtMultiMedia', $qtdir);
+    findQtHeaders('QtMultiMediaWidgets', $qtdir);
+} elsif (-d $qtdir . '/../qtmultimedia' ) {
     # This is the case if QTDIR points to a source tree instead of an installed Qt
-    findQtHeaders('QtQuick1', $qtdir . '/../qtdeclarative');
-} else {
-    print "Warning - cannot find QtQuick1 headers\n";
+    findQtHeaders('QtMultiMedia', $qtdir . '/../qtmultimedia');
+    findQtHeaders('QtMultiMediaWidgets', $qtdir . '/../qtmultimedia');
 }
 
 # Support porting from "Qt 4.99" QtDeclarative to QtQuick (QQuickItem et al)