Use CONFIG nostrip on WSL due to illegal strips

This commit is contained in:
sgourdas 2024-03-28 09:41:50 +02:00 committed by Kelson
parent 9ea2199f31
commit 54a3f2596c

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