no-webengine.patch 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
  2. index a4d06844a..ba4fde3bd 100644
  3. --- a/src/CMakeLists.txt
  4. +++ b/src/CMakeLists.txt
  5. @@ -30,31 +30,31 @@ set_package_properties(Qt5Concurrent PROPERTIES
  6. TYPE REQUIRED
  7. )
  8. -find_package(Qt5WebEngineWidgets ${REQUIRED_QT_VERSION} CONFIG QUIET)
  9. -if(APPLE)
  10. - set_package_properties(Qt5WebEngineWidgets PROPERTIES
  11. - DESCRIPTION "Qt5 WebEngineWidgets component."
  12. - TYPE RECOMMENDED
  13. - )
  14. -else()
  15. - set_package_properties(Qt5WebEngineWidgets PROPERTIES
  16. - DESCRIPTION "Qt5 WebEngineWidgets component."
  17. - TYPE REQUIRED
  18. - )
  19. -endif()
  20. -
  21. -find_package(Qt5WebEngine ${REQUIRED_QT_VERSION} CONFIG QUIET)
  22. -if(APPLE)
  23. - set_package_properties(Qt5WebEngine PROPERTIES
  24. - DESCRIPTION "Qt5 WebEngine component."
  25. - TYPE RECOMMENDED
  26. - )
  27. -else()
  28. - set_package_properties(Qt5WebEngine PROPERTIES
  29. - DESCRIPTION "Qt5 WebEngine component."
  30. - TYPE REQUIRED
  31. - )
  32. -endif()
  33. +# find_package(Qt5WebEngineWidgets ${REQUIRED_QT_VERSION} CONFIG QUIET)
  34. +# if(APPLE)
  35. +# set_package_properties(Qt5WebEngineWidgets PROPERTIES
  36. +# DESCRIPTION "Qt5 WebEngineWidgets component."
  37. +# TYPE RECOMMENDED
  38. +# )
  39. +# else()
  40. +# set_package_properties(Qt5WebEngineWidgets PROPERTIES
  41. +# DESCRIPTION "Qt5 WebEngineWidgets component."
  42. +# TYPE REQUIRED
  43. +# )
  44. +# endif()
  45. +#
  46. +# find_package(Qt5WebEngine ${REQUIRED_QT_VERSION} CONFIG QUIET)
  47. +# if(APPLE)
  48. +# set_package_properties(Qt5WebEngine PROPERTIES
  49. +# DESCRIPTION "Qt5 WebEngine component."
  50. +# TYPE RECOMMENDED
  51. +# )
  52. +# else()
  53. +# set_package_properties(Qt5WebEngine PROPERTIES
  54. +# DESCRIPTION "Qt5 WebEngine component."
  55. +# TYPE REQUIRED
  56. +# )
  57. +# endif()
  58. if(Qt5WebEngine_FOUND AND Qt5WebEngineWidgets_FOUND)
  59. add_compile_definitions(WITH_WEBENGINE=1)