mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 22:51:37 +08:00
[qcoro] Update to 0.10.0 (#35532)
This commit is contained in:
parent
24d884e1b8
commit
9ce52f8c56
@ -1,19 +0,0 @@
|
||||
diff --git a/qcoro/websockets/qcorowebsocket.cpp b/qcoro/websockets/qcorowebsocket.cpp
|
||||
index be9c1f7..c686d14 100644
|
||||
--- a/qcoro/websockets/qcorowebsocket.cpp
|
||||
+++ b/qcoro/websockets/qcorowebsocket.cpp
|
||||
@@ -32,7 +32,13 @@ public:
|
||||
emitReady(true);
|
||||
}
|
||||
}))
|
||||
- , mError(connect(socket, qOverload<QAbstractSocket::SocketError>(&QWebSocket::error), this, [this](auto error) {
|
||||
+ , mError(connect(socket, qOverload<QAbstractSocket::SocketError>(
|
||||
+#if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)
|
||||
+ &QWebSocket::errorOccurred
|
||||
+#else
|
||||
+ &QWebSocket::error
|
||||
+#endif
|
||||
+ ), this, [this](auto error) {
|
||||
qWarning() << "QWebSocket failed to connect to a websocket server: " << error;
|
||||
emitReady(false);
|
||||
}))
|
@ -2,9 +2,8 @@ vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO danvratil/qcoro
|
||||
REF "v${VERSION}"
|
||||
SHA512 f708e1a82861c39434d6934172246c3280864e933b333b56c0471f1a629f9da65554d1508af4291ac2257ad8df2040655394ae5525d728710de5bd83cef8fbee
|
||||
SHA512 de2e55256d3c9d35fec3ef6dc78128801b70a5e5b8ff0f3a6f235dac17f349ea44207a7c9f35375215dbeea04cb67c3412d505d0a8a95f2b926775f804a02649
|
||||
HEAD_REF main
|
||||
PATCHES 0001-qt6-deprecated-qwebsocket-error.patch
|
||||
)
|
||||
|
||||
vcpkg_check_features(
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "qcoro",
|
||||
"version": "0.9.0",
|
||||
"version": "0.10.0",
|
||||
"description": "Coroutine support for Qt",
|
||||
"homepage": "https://www.github.com/danvratil/qcoro",
|
||||
"documentation": "https://qcoro.dvratil.cz",
|
||||
|
@ -6869,7 +6869,7 @@
|
||||
"port-version": 0
|
||||
},
|
||||
"qcoro": {
|
||||
"baseline": "0.9.0",
|
||||
"baseline": "0.10.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"qcustomplot": {
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "98bf3c0f6c546401e5976e2d474765d838050fd3",
|
||||
"version": "0.10.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "0b82c30bd542212b17946094149433dda747515f",
|
||||
"version": "0.9.0",
|
||||
|
Loading…
Reference in New Issue
Block a user