Skip to content

Commit 65068b8

Browse files
committed
NumPy 2 defines its own "slots". To avoid the collision, use Q_SLOTS instead
1 parent ea14e13 commit 65068b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator/shellheadergenerator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ void ShellHeaderGenerator::write(QTextStream& s, const AbstractMetaClass* meta_c
345345
}
346346
}
347347
}
348-
s << "public slots:" << endl;
348+
s << "public Q_SLOTS:" << endl;
349349
if (meta_class->generateShellClass() || !meta_class->isAbstract()) {
350350

351351
bool copyConstructorSeen = false;

0 commit comments

Comments
 (0)