summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/fixqt4headers.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/fixqt4headers.pl b/bin/fixqt4headers.pl
index 1905a6b21f..966681fad5 100755
--- a/bin/fixqt4headers.pl
+++ b/bin/fixqt4headers.pl
@@ -152,6 +152,14 @@ if (-d $qtdir . '/include/QtQuick1') {
print "Warning - cannot find QtQuick1 headers\n";
}
+# Support porting from "Qt 4.99" QtDeclarative to QtQuick (QQuickItem et al)
+if (-d $qtdir . '/include/QtQuick') {
+ findQtHeaders('QtQuick', $qtdir);
+} elsif (-d $qtdir . '/../qtdeclarative' ) {
+ # This is the case if QTDIR points to a source tree instead of an installed Qt
+ findQtHeaders('QtQuick', $qtdir . '/../qtdeclarative');
+}
+
# special case
$headerSubst{'QtGui'} = 'QtWidgets/QtWidgets';