1
0

Update kwrechner.pro

configured for static build
This commit is contained in:
Joel Baldauf
2021-01-12 13:21:59 +01:00
parent f465c3eff5
commit 3cf6700adc
+10
View File
@@ -22,3 +22,13 @@ FORMS += \
qnx: target.path = /tmp/$${TARGET}/bin qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target !isEmpty(target.path): INSTALLS += target
# Static Builds
QTPREFIX=$$[QT_INSTALL_PREFIX]
equals(QTPREFIX, "C:/Qt-Static/Qt-5.14.2"){
message("--STATIC BUILD--")
CONFIG += qt static
QMAKE_LFLAGS += -static-libgcc -static-libstdc++
} else {
message("--NON-STATIC BUILD--")
}