fixqt4headers: Remove QtQuick1 and add QtMultimedia

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>
This commit is contained in:
Lars Knoll 2012-11-28 11:04:22 +01:00 committed by The Qt Project
parent 50a22d8418
commit 003860b5a7

View File

@ -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)