From 3b521bdcf3885a5cbf387b5773fa084a67fafe9a Mon Sep 17 00:00:00 2001 From: Duke Date: Tue, 31 Jan 2023 12:20:34 -0500 Subject: [PATCH] update sdx build --- silentdragonx.pro | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/silentdragonx.pro b/silentdragonx.pro index c611772..991f1fc 100644 --- a/silentdragonx.pro +++ b/silentdragonx.pro @@ -138,10 +138,10 @@ TRANSLATIONS = res-drgx/silentdragon_be.ts \ include(singleapplication/singleapplication.pri) DEFINES += QAPPLICATION_CLASS=QApplication _FORTIFY_SOURCE=2 -QMAKE_INFO_PLIST = res/Info.plist +QMAKE_INFO_PLIST = res-drgx/Info.plist -win32: RC_ICONS = res/icon.ico -ICON = res/logo.icns +win32: RC_ICONS = res-drgx/icon.ico +ICON = res-drgx/logo.icns libsodium.target = $$PWD/res/libsodium.a libsodium.commands = res/libsodium/buildlibsodium.sh @@ -154,12 +154,12 @@ qnx: target.path = /tmp/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin !isEmpty(target.path): INSTALLS += target -win32:CONFIG(release, debug|release): LIBS += -L$$PWD/res/ -llibsodium -else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/res/ -llibsodiumd -else:unix: LIBS += -L$$PWD/res/ -lsodium +win32:CONFIG(release, debug|release): LIBS += -L$$PWD/res-drgx/ -llibsodium +else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/res-drgx/ -llibsodiumd +else:unix: LIBS += -L$$PWD/res-drgx/ -lsodium -INCLUDEPATH += $$PWD/res -DEPENDPATH += $$PWD/res +INCLUDEPATH += $$PWD/res-drgx +DEPENDPATH += $$PWD/res-drgx win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/res/liblibsodium.a else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/res/liblibsodium.a