Skip to content

Instantly share code, notes, and snippets.

@zenoalbisser
Created November 2, 2011 10:37
Show Gist options
  • Save zenoalbisser/1333359 to your computer and use it in GitHub Desktop.
Save zenoalbisser/1333359 to your computer and use it in GitHub Desktop.
diff --git a/src/3rdparty/webkit/Source/WebKit.pri b/src/3rdparty/webkit/Source/WebKit.pri
index 5bd9577..9bf4a6e 100644
--- a/src/3rdparty/webkit/Source/WebKit.pri
+++ b/src/3rdparty/webkit/Source/WebKit.pri
@@ -7,9 +7,15 @@ contains(QT_CONFIG, qpa)|contains(QT_CONFIG, embedded): CONFIG += embedded
# QTDIR_build
CONFIG(QTDIR_build) {
CONFIG += standalone_package
- # Make sure we compile both debug and release on mac when inside Qt.
- # This line was extracted from qbase.pri instead of including the whole file
- win32|mac:!macx-xcode:CONFIG += debug_and_release
+ win32|mac:!macx-xcode {
+ # Make sure we compile both debug and release on mac when inside Qt.
+ # This line was extracted from qbase.pri instead of including the whole file
+ CONFIG(webkit-debug):CONFIG += debug_and_release
+ else {
+ CONFIG -= debug debug_and_release
+ CONFIG += release
+ }
+ }
} else {
!CONFIG(release, debug|release) {
OBJECTS_DIR = obj/debug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment