mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
Stupid solution to sip build errors
This commit is contained in:
parent
c5caecdab1
commit
9a6aad8de5
@ -967,7 +967,7 @@ if (WITH_CORE AND WITH_BINDINGS AND NOT WITH_QT6)
|
|||||||
include(SIPMacros)
|
include(SIPMacros)
|
||||||
|
|
||||||
set(SIP_INCLUDES ${PYQT_SIP_DIR} ${CMAKE_SOURCE_DIR}/python)
|
set(SIP_INCLUDES ${PYQT_SIP_DIR} ${CMAKE_SOURCE_DIR}/python)
|
||||||
set(SIP_CONCAT_PARTS 17)
|
set(SIP_CONCAT_PARTS 19)
|
||||||
|
|
||||||
if (NOT BINDINGS_GLOBAL_INSTALL)
|
if (NOT BINDINGS_GLOBAL_INSTALL)
|
||||||
set(Python_SITEARCH ${QGIS_DATA_DIR}/python)
|
set(Python_SITEARCH ${QGIS_DATA_DIR}/python)
|
||||||
|
@ -10,6 +10,10 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%ModuleHeaderCode
|
||||||
|
#include "qgsplotcanvasitem.h"
|
||||||
|
%End
|
||||||
|
|
||||||
class QgsPlotCanvasItem : QGraphicsItem
|
class QgsPlotCanvasItem : QGraphicsItem
|
||||||
{
|
{
|
||||||
%Docstring(signature="appended")
|
%Docstring(signature="appended")
|
||||||
|
@ -11,6 +11,11 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%ModuleHeaderCode
|
||||||
|
#include "qgsplottool.h"
|
||||||
|
%End
|
||||||
|
|
||||||
|
|
||||||
class QgsPlotTool : QObject
|
class QgsPlotTool : QObject
|
||||||
{
|
{
|
||||||
%Docstring(signature="appended")
|
%Docstring(signature="appended")
|
||||||
|
@ -24,6 +24,12 @@
|
|||||||
|
|
||||||
class QgsPlotCanvas;
|
class QgsPlotCanvas;
|
||||||
|
|
||||||
|
#ifdef SIP_RUN
|
||||||
|
% ModuleHeaderCode
|
||||||
|
#include "qgsplotcanvasitem.h"
|
||||||
|
% End
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \ingroup gui
|
* \ingroup gui
|
||||||
* \brief An abstract class for items that can be placed on a QgsPlotCanvas.
|
* \brief An abstract class for items that can be placed on a QgsPlotCanvas.
|
||||||
|
@ -34,6 +34,13 @@ class QGestureEvent;
|
|||||||
class QHelpEvent;
|
class QHelpEvent;
|
||||||
class QMenu;
|
class QMenu;
|
||||||
|
|
||||||
|
#ifdef SIP_RUN
|
||||||
|
% ModuleHeaderCode
|
||||||
|
#include "qgsplottool.h"
|
||||||
|
% End
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \ingroup gui
|
* \ingroup gui
|
||||||
* \brief Abstract base class for all interactive plot tools.
|
* \brief Abstract base class for all interactive plot tools.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user