mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
link QSerialPort for Qt6 builds
This commit is contained in:
parent
81909df0ae
commit
0b9c447793
@ -112,7 +112,7 @@ cmake \
|
||||
-DWITH_SERVER_LANDINGPAGE_WEBAPP=${WITH_QT5} \
|
||||
-DWITH_ORACLE=${WITH_QT5} \
|
||||
-DWITH_PDAL=ON \
|
||||
-DWITH_QT5SERIALPORT=${WITH_QT5} \
|
||||
-DWITH_QT5SERIALPORT=ON \
|
||||
-DWITH_QTWEBKIT=${WITH_QT5} \
|
||||
-DWITH_OAUTH2_PLUGIN=${WITH_QT5} \
|
||||
-DORACLE_INCLUDEDIR=/instantclient_19_9/sdk/include/ \
|
||||
|
@ -455,11 +455,11 @@ if(WITH_CORE)
|
||||
endif()
|
||||
|
||||
# Use Qt5SerialPort optionally for GPS
|
||||
set (WITH_QT5SERIALPORT TRUE CACHE BOOL "Determines whether Qt5SerialPort should be tried for GPS positioning")
|
||||
if (WITH_QT5SERIALPORT)
|
||||
set (WITH_QTSERIALPORT TRUE CACHE BOOL "Determines whether Qt5SerialPort should be tried for GPS positioning")
|
||||
if (WITH_QTSERIALPORT)
|
||||
find_package(${QT_VERSION_BASE} COMPONENTS SerialPort REQUIRED)
|
||||
# following variable is used in qgsconfig.h
|
||||
set (HAVE_QT5SERIALPORT TRUE)
|
||||
set (HAVE_QTSERIALPORT TRUE)
|
||||
endif()
|
||||
|
||||
find_package(${QT_VERSION_BASE} COMPONENTS Core Gui Widgets Network Xml Svg Concurrent Test Sql Positioning REQUIRED)
|
||||
|
Loading…
x
Reference in New Issue
Block a user