mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-29 01:14:35 +02:00
Trying to fix Qt4 builds
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user