mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
fix windows build
This commit is contained in:
parent
92af1dacaf
commit
df71901a32
@ -11,6 +11,7 @@
|
||||
|
||||
|
||||
|
||||
|
||||
class QgsDiagramLayerSettings
|
||||
{
|
||||
%Docstring
|
||||
|
@ -757,8 +757,8 @@ while ($LINE_IDX < $LINE_COUNT){
|
||||
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*$/ ){
|
||||
|
@ -32,7 +32,8 @@
|
||||
#include "qgspropertycollection.h"
|
||||
#include "qgsdatadefinedsizelegend.h"
|
||||
|
||||
class QgsDiagram;
|
||||
#include "diagram/qgsdiagram.h"
|
||||
|
||||
class QgsDiagramRenderer;
|
||||
class QgsFeature;
|
||||
class QgsRenderContext;
|
||||
|
Loading…
x
Reference in New Issue
Block a user