Merge pull request #1071 from sgourdas/feature/nostrip

Added nostrip to CONFIG to avoid illegal binary strips on WSL
This commit is contained in:
Kelson 2024-04-07 20:34:41 +02:00 committed by GitHub
commit 7e2012d00d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,6 +8,9 @@ QT += core gui network
QT += webenginewidgets
QT += printsupport
# Avoid stripping incompatible files, due to false identification as executables, on WSL
DETECT_WSL = $$system(test -f /proc/sys/fs/binfmt_misc/WSLInterop && echo true || echo false)
equals(DETECT_WSL , "true"): CONFIG += nostrip
CONFIG += link_pkgconfig
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets