Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix windows build
  • Loading branch information
jef-n committed Sep 30, 2017
1 parent 92af1da commit df71901
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions python/core/qgsdiagramrenderer.sip
Expand Up @@ -11,6 +11,7 @@




class QgsDiagramLayerSettings
{
%Docstring
Expand Down
4 changes: 2 additions & 2 deletions scripts/sipify.pl
Expand Up @@ -757,8 +757,8 @@ sub detect_comment_block{
if ( $LINE =~ m/^(\s*)Q_DECLARE_FLAGS\(\s*(.*?)\s*,\s*(.*?)\s*\)\s*$/ ){
my $ACTUAL_CLASS = $CLASSNAME[$#CLASSNAME];
dbg_info("Declare flags: $ACTUAL_CLASS");
$LINE = "$1typedef QFlags<$ACTUAL_CLASS::$3> $2;\n";
$QFLAG_HASH{"$ACTUAL_CLASS::$2"} = "$ACTUAL_CLASS::$3";
$LINE = "$1typedef QFlags<${ACTUAL_CLASS}::$3> $2;\n";
$QFLAG_HASH{"${ACTUAL_CLASS}::$2"} = "${ACTUAL_CLASS}::$3";
}
# catch Q_DECLARE_OPERATORS_FOR_FLAGS
if ( $LINE =~ m/^(\s*)Q_DECLARE_OPERATORS_FOR_FLAGS\(\s*(.*?)\s*\)\s*$/ ){
Expand Down
3 changes: 2 additions & 1 deletion src/core/qgsdiagramrenderer.h
Expand Up @@ -32,7 +32,8 @@
#include "qgspropertycollection.h"
#include "qgsdatadefinedsizelegend.h"

class QgsDiagram;
#include "diagram/qgsdiagram.h"

class QgsDiagramRenderer;
class QgsFeature;
class QgsRenderContext;
Expand Down

0 comments on commit df71901

Please sign in to comment.