Fix building core and pycore

This commit is contained in:
Matthias Kuhn 2019-11-03 22:22:58 +01:00
parent e32f4dca3c
commit 260196f031
3 changed files with 10 additions and 3 deletions

View File

@ -11,6 +11,10 @@
%ModuleHeaderCode
#include "qgsgpsconnection.h"
%End
struct QgsSatelliteInfo
{
int id;

View File

@ -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

View File

@ -27,6 +27,12 @@
class QIODevice;
#ifdef SIP_RUN
% ModuleHeaderCode
#include "qgsgpsconnection.h"
% End
#endif
struct CORE_EXPORT QgsSatelliteInfo
{
int id;