diff --git a/mkspecs/features/libraries.pri b/mkspecs/features/libraries.pri index 370ec4f41..2593bbc25 100644 --- a/mkspecs/features/libraries.pri +++ b/mkspecs/features/libraries.pri @@ -30,8 +30,8 @@ simconnect { DEFINES += SIMCONNECT_H_NOMANIFEST equals(WORD_SIZE,64) { - INCLUDEPATH *= $$EXTERNALSROOT/common/include/simconnect/P3D-v4.1 - LIBS *= -L$$EXTERNALS_LIB_DIR/P3D-v4.1 + INCLUDEPATH *= $$EXTERNALSROOT/common/include/simconnect/P3D-v4.2 + LIBS *= -L$$EXTERNALS_LIB_DIR/P3D-v4.2 LIBS *= -lAdvapi32 LIBS += -ldxguid -lole32 # ole32 only needed for P3D on WIN64 systems, LNK2019: unresolved external symbol __imp_CoTaskMemFree referenced in function diff --git a/src/plugins/simulator/p3d/p3d.pro b/src/plugins/simulator/p3d/p3d.pro index 6f9592741..f14e8b0fa 100644 --- a/src/plugins/simulator/p3d/p3d.pro +++ b/src/plugins/simulator/p3d/p3d.pro @@ -2,6 +2,9 @@ load(common_pre) load(common_pre) +# the P3D version is decided here +# client\mkspecs\features\libraries.pri + QT += core dbus widgets network TEMPLATE = lib