mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-30 22:29:13 +08:00
Workaround for QTBUG-57695 affecting Visual Studio IDE.
This commit is contained in:
@@ -42,6 +42,17 @@ macx:staticlib:isEmpty(SOURCES) {
|
||||
QMAKE_MAC_SDK.$$basename(QMAKESPEC).$${QMAKE_MAC_SDK}.QMAKE_RANLIB = $$QMAKE_RANLIB
|
||||
}
|
||||
|
||||
################################
|
||||
# Work around QTBUG-57695
|
||||
################################
|
||||
|
||||
equals(QT_VERSION, 5.8.0):!isEmpty(OUT_PWD) {
|
||||
equals(TEMPLATE, vcapp)|equals(TEMPLATE, vclib) {
|
||||
write_file($$OUT_PWD/debug/moc_predefs.h.cbt))
|
||||
write_file($$OUT_PWD/release/moc_predefs.h.cbt))
|
||||
}
|
||||
}
|
||||
|
||||
################################
|
||||
# Black libs
|
||||
################################
|
||||
|
||||
Reference in New Issue
Block a user