mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
detect gold linker
This commit is contained in:
parent
d40248bb06
commit
334a3ae0a5
@ -5,7 +5,10 @@ equals(QT_MAJOR_VERSION, 5):lessThan(QT_MINOR_VERSION, 12): error("requires Qt 5
|
|||||||
QT += core gui widgets webenginewidgets webchannel network svg printsupport
|
QT += core gui widgets webenginewidgets webchannel network svg printsupport
|
||||||
|
|
||||||
CONFIG -= qtquickcompiler
|
CONFIG -= qtquickcompiler
|
||||||
unix:!macx:CONFIG += use_gold_linker
|
|
||||||
|
unix:!mac:exists(/usr/bin/ld.gold) {
|
||||||
|
CONFIG += use_gold_linker
|
||||||
|
}
|
||||||
|
|
||||||
# Enable message log in release build
|
# Enable message log in release build
|
||||||
DEFINES += QT_MESSAGELOGCONTEXT
|
DEFINES += QT_MESSAGELOGCONTEXT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user