Guest User

Untitled

a guest
Oct 19th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. diff --git i/Source/api.pri w/Source/api.pri
  2. index 3b05ed1..0bd8129 100644
  3. --- i/Source/api.pri
  4. +++ w/Source/api.pri
  5. @@ -20,8 +20,10 @@ haveQt(5) {
  6.  
  7. load(qt_module_config)
  8.  
  9. - # Make sure the module config doesn't override our preferred build config
  10. - debug_and_release:if(!debug|!release): CONFIG -= debug_and_release
  11. + # Loading qt_module_config will unconditionally add debug_and_release on mac
  12. + # and windows, which will generate debug and release makefiles, but we still
  13. + # only want to build one of them, if we ran build-webkit --release eg.
  14. + debug_and_release:if(!debug|!release): CONFIG -= build_all
  15.  
  16. # Allow doing a debug-only build of WebKit (not supported by Qt)
  17. macx:!debug_and_release:debug: TARGET = $$BASE_TARGET
Add Comment
Please, Sign In to add comment