Description: Don't make the std:: symbols in webkit public. Solution based on the work of Mike Hommey in the gtk webkit package. Author: Sune Vuorela --- a/src/3rdparty/webkit/WebKit.pri +++ b/src/3rdparty/webkit/WebKit.pri @@ -45,6 +45,7 @@ CONFIG(release, debug|release) { BASE_DIR = $$PWD INCLUDEPATH += $$PWD/WebKit/qt/Api +QMAKE_LFLAGS += -Wl,--version-script,$$BASE_DIR/symbols.filter CONFIG -= warn_on *-g++*:QMAKE_CXXFLAGS += -Wreturn-type -fno-strict-aliasing --- /dev/null +++ b/src/3rdparty/webkit/symbols.filter @@ -0,0 +1,5 @@ +{ +local: +_ZSt*; +_ZNSt*; +};