Merge branch 'issue_1670_tests_fail_due_to_SSL_error' of https://github.com/ganwell/qutebrowser into ganwell-issue_1670_tests_fail_due_to_SSL_error
This commit is contained in:
commit
36bb5cf285
@ -309,13 +309,14 @@ def earlyinit(args):
|
|||||||
# Here we check if QtCore is available, and if not, print a message to the
|
# Here we check if QtCore is available, and if not, print a message to the
|
||||||
# console or via Tk.
|
# console or via Tk.
|
||||||
check_pyqt_core()
|
check_pyqt_core()
|
||||||
|
# Init logging as early as possible
|
||||||
|
init_log(args)
|
||||||
# Now the faulthandler is enabled we fix the Qt harfbuzzing library, before
|
# Now the faulthandler is enabled we fix the Qt harfbuzzing library, before
|
||||||
# importing QtWidgets.
|
# importing QtWidgets.
|
||||||
fix_harfbuzz(args)
|
fix_harfbuzz(args)
|
||||||
# Now we can be sure QtCore is available, so we can print dialogs on
|
# Now we can be sure QtCore is available, so we can print dialogs on
|
||||||
# errors, so people only using the GUI notice them as well.
|
# errors, so people only using the GUI notice them as well.
|
||||||
check_qt_version()
|
check_qt_version()
|
||||||
check_ssl_support()
|
|
||||||
remove_inputhook()
|
remove_inputhook()
|
||||||
check_libraries(args)
|
check_libraries(args)
|
||||||
init_log(args)
|
check_ssl_support()
|
||||||
|
@ -330,6 +330,10 @@ def qt_message_handler(msg_type, context, msg):
|
|||||||
"Image of format '' blocked because it is not considered safe. If you "
|
"Image of format '' blocked because it is not considered safe. If you "
|
||||||
"are sure it is safe to do so, you can white-list the format by "
|
"are sure it is safe to do so, you can white-list the format by "
|
||||||
"setting the environment variable QTWEBKIT_IMAGEFORMAT_WHITELIST=",
|
"setting the environment variable QTWEBKIT_IMAGEFORMAT_WHITELIST=",
|
||||||
|
# Installing Qt from the installer may cause it looking for SSL3 which
|
||||||
|
# may not be available on the system
|
||||||
|
"QSslSocket: cannot resolve SSLv3_client_method",
|
||||||
|
"QSslSocket: cannot resolve SSLv3_server_method",
|
||||||
]
|
]
|
||||||
if sys.platform == 'darwin':
|
if sys.platform == 'darwin':
|
||||||
suppressed_msgs += [
|
suppressed_msgs += [
|
||||||
|
Loading…
Reference in New Issue
Block a user