mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
* discussed here: https://swift-project.slack.com/archives/G7GD2UP9C/p1528793410000485 * This problem was obviously related to commit Ref T270, Ref T275 FSX/P3D moved the common parts of the .pro files into .pri files and included those
16 lines
638 B
Plaintext
16 lines
638 B
Plaintext
equals(WORD_SIZE,64) {
|
|
INCLUDEPATH *= $$EXTERNALSROOT/common/include/simconnect/P3D-v4.1
|
|
LIBS *= -L$$EXTERNALS_LIB_DIR/P3D-v4.1
|
|
LIBS *= -lAdvapi32
|
|
LIBS += -ldxguid -lole32
|
|
# ole32 only needed for P3D on WIN64 systems, LNK2019: unresolved external symbol __imp_CoTaskMemFree referenced in function
|
|
# ldxguid are DirectX guid numbers
|
|
CONFIG(debug, debug|release): LIBS *= -lSimConnectDebug
|
|
else: LIBS *= -lSimConnect
|
|
}
|
|
equals(WORD_SIZE,32) {
|
|
INCLUDEPATH *= $$EXTERNALSROOT/common/include/simconnect/FSX-XPack
|
|
LIBS *= -L$$EXTERNALS_LIB_DIR/FSX-XPack
|
|
LIBS *= -lSimConnect
|
|
}
|