Browse Source

Add libc++ flags on OS X

QT5 on OS X apparently does not add '-stdlib=libc++' to CXXFLAGS or
LFLAGS, so they must be added by us for compilation to succeed.
adaptive-webui-19844
David Christenson 10 years ago
parent
commit
87c272207f
No known key found for this signature in database
GPG Key ID: D49807DA9095FC64
  1. 2
      macxconf.pri

2
macxconf.pri

@ -10,6 +10,8 @@ exists($$OUT_PWD/../conf.pri) { @@ -10,6 +10,8 @@ exists($$OUT_PWD/../conf.pri) {
}
LIBS += -framework Carbon -framework IOKit
QMAKE_CXXFLAGS += -stdlib=libc++
QMAKE_LFLAGS += -stdlib=libc++
document_icon.path = Contents/Resources
document_icon.files = mac/qBitTorrentDocument.icns

Loading…
Cancel
Save