mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
MOC compatible SIP_ABSTRACT version
New version supports the following notation class QgsOutClass : public QObject // SIP_ABSTRACT MOC does not like lines like the following one and silently refuses to build the meta object for such classes class QgsOutClass : public QObject SIP_ABSTRACT
This commit is contained in:
parent
295a578e2e
commit
69a28d823f
@ -210,6 +210,7 @@ sub remove_following_body_or_initializerlist {
|
||||
sub fix_annotations {
|
||||
my $line = $_[0];
|
||||
# printed annotations
|
||||
$line =~ s/\b\/\/\s*SIP_ABSTRACT\b/\/Abstract\//;
|
||||
$line =~ s/\bSIP_ABSTRACT\b/\/Abstract\//;
|
||||
$line =~ s/\bSIP_ALLOWNONE\b/\/AllowNone\//;
|
||||
$line =~ s/\bSIP_ARRAY\b/\/Array\//g;
|
||||
|
Loading…
x
Reference in New Issue
Block a user