Skip to content

Commit

Permalink
Fix building core and pycore
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Nov 3, 2019
1 parent e32f4dc commit 260196f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 4 additions & 0 deletions python/core/auto_generated/gps/qgsgpsconnection.sip.in
Expand Up @@ -11,6 +11,10 @@



%ModuleHeaderCode
#include "qgsgpsconnection.h"
%End

struct QgsSatelliteInfo
{
int id;
Expand Down
3 changes: 0 additions & 3 deletions src/core/CMakeLists.txt
Expand Up @@ -1252,9 +1252,6 @@ ENDIF(NOT MSVC)
# install qgsconfig.h and plugin.h here so they can get into
# the OS X framework target

SET(QGIS_CORE_HDRS
)

IF (QT_MOBILITY_LOCATION_FOUND OR Qt5Positioning_FOUND)
SET(QGIS_CORE_HDRS ${QGIS_CORE_HDRS}
gps/qgsqtlocationconnection.h
Expand Down
6 changes: 6 additions & 0 deletions src/core/gps/qgsgpsconnection.h
Expand Up @@ -27,6 +27,12 @@

class QIODevice;

#ifdef SIP_RUN
% ModuleHeaderCode
#include "qgsgpsconnection.h"
% End
#endif

struct CORE_EXPORT QgsSatelliteInfo
{
int id;
Expand Down

0 comments on commit 260196f

Please sign in to comment.