Update build information
This commit is contained in:
parent
d6e5347666
commit
fc9c030ebc
@ -39,10 +39,11 @@ CONFIG(withoutpython) {
|
||||
# but not all platforms host the qt serialbus package.
|
||||
# Let's check if the package exists, not the qt version
|
||||
packagesExist(Qt5SerialBus) {
|
||||
DEFINES += WITH_QTSERIALBUS
|
||||
message("Building with QtSerialBus support.")
|
||||
Qt += serialbus
|
||||
DEFINES += WITH_QTSERIALBUS
|
||||
} else {
|
||||
message("Qt5SerialBus library is not available. Modbus resource disabled.")
|
||||
message("Qt5SerialBus package not found. Building without QtSerialBus support.")
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user