mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 12:35:43 +08:00
Replace QDBusConnection::localMachineId with QSysInfo::machineUniqueId()
QSysInfo::machineUniqueId() was added in Qt 5.11 and is using DBus independent unique machine ids everywhere except on Linux. This prevents running into an assert in case DBus is not properly installed at a very early stage of the application without any chance to give the user a warning and handle it gracefully.
This commit is contained in:
committed by
Mat Sutcliffe
parent
f9a215a336
commit
94c2859e18
@@ -69,6 +69,8 @@ SOURCES += *.cpp \
|
||||
|
||||
win32 {
|
||||
LIBS *= -lShell32 -lDbghelp -lversion
|
||||
# Remove the one below once the Reg functions are removed again from CIdentifier
|
||||
LIBS *= -lAdvapi32
|
||||
}
|
||||
win32-g++ {
|
||||
LIBS *= -lpsapi
|
||||
|
||||
Reference in New Issue
Block a user