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:
parent
50a22d8418
commit
003860b5a7
@ -145,13 +145,13 @@ findQtHeaders('QtConcurrent', $qtdir);
|
|||||||
findQtHeaders('QtWidgets', $qtdir);
|
findQtHeaders('QtWidgets', $qtdir);
|
||||||
findQtHeaders('QtPrintSupport', $qtdir);
|
findQtHeaders('QtPrintSupport', $qtdir);
|
||||||
|
|
||||||
if (-d $qtdir . '/include/QtQuick1') {
|
if (-d $qtdir . '/include/QtMultiMedia') {
|
||||||
findQtHeaders('QtQuick1', $qtdir);
|
findQtHeaders('QtMultiMedia', $qtdir);
|
||||||
} elsif (-d $qtdir . '/../qtdeclarative' ) {
|
findQtHeaders('QtMultiMediaWidgets', $qtdir);
|
||||||
|
} elsif (-d $qtdir . '/../qtmultimedia' ) {
|
||||||
# This is the case if QTDIR points to a source tree instead of an installed Qt
|
# This is the case if QTDIR points to a source tree instead of an installed Qt
|
||||||
findQtHeaders('QtQuick1', $qtdir . '/../qtdeclarative');
|
findQtHeaders('QtMultiMedia', $qtdir . '/../qtmultimedia');
|
||||||
} else {
|
findQtHeaders('QtMultiMediaWidgets', $qtdir . '/../qtmultimedia');
|
||||||
print "Warning - cannot find QtQuick1 headers\n";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Support porting from "Qt 4.99" QtDeclarative to QtQuick (QQuickItem et al)
|
# Support porting from "Qt 4.99" QtDeclarative to QtQuick (QQuickItem et al)
|
||||||
|
Loading…
Reference in New Issue
Block a user