Trying to fix Qt4 builds

This commit is contained in:
Matthias Koefferlein
2023-05-13 19:41:37 +02:00
parent 6c7064fa23
commit 67db8dfc96
4 changed files with 12 additions and 4 deletions
+3 -1
View File
@@ -71,6 +71,8 @@ def add_native_impl_QObject_findChild()
#if QT_VERSION < 0x50000
#include <QRegExp>
QObject *find_child_impl (QObject *object, const QString &name)
{
return object->findChild<QObject *> (name);
@@ -79,7 +81,7 @@ def add_native_impl_QObject_findChild()
{
return object->findChildren<QObject *> (name);
}
QList<QObject *> find_children_impl2 (QObject *object, const QRegularExpression &re)
QList<QObject *> find_children_impl2 (QObject *object, const QRegExp &re)
{
return object->findChildren<QObject *> (re);
}