Update kwrechner.pro
configured for static build
This commit is contained in:
@@ -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--")
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user