mirror of
http://code.qt.io/yocto/meta-qt6.git
synced 2026-01-01 13:58:07 +00:00
Revert "qtbase: fix mingw nativesdk build"
This reverts commit68bd9cee63. Proper fix has been merged to qtbase. Change-Id: I394bc594d2b4d9b90b98f530d65703b4352afa29 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> (cherry picked from commit85e55e5629) Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This commit is contained in:
parent
df191c5ccf
commit
c40d7810c6
|
|
@ -1,34 +0,0 @@
|
|||
From 965ea251c7640baa9f8706263dbb1f3465c29c75 Mon Sep 17 00:00:00 2001
|
||||
From: Laszlo Agocs <laszlo.agocs@qt.io>
|
||||
Date: Fri, 28 Jan 2022 11:29:16 +0100
|
||||
Subject: [PATCH] rhi: d3d11: Try uuidof instead of IID_* to help old MinGW
|
||||
|
||||
Fixes: QTBUG-100294
|
||||
Pick-to: 6.3
|
||||
Change-Id: Iee90355ecd48a753f9a7ec53e7f5758e3d12eddf
|
||||
---
|
||||
src/gui/rhi/qrhid3d11.cpp | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/gui/rhi/qrhid3d11.cpp b/src/gui/rhi/qrhid3d11.cpp
|
||||
index fc6fd59f4f..41f235396e 100644
|
||||
--- a/src/gui/rhi/qrhid3d11.cpp
|
||||
+++ b/src/gui/rhi/qrhid3d11.cpp
|
||||
@@ -217,7 +217,7 @@ bool QRhiD3D11::create(QRhi::Flags flags)
|
||||
// sufficient to get non-blocking behavior, try using ALLOW_TEARING
|
||||
// when available.
|
||||
IDXGIFactory5 *factory5 = nullptr;
|
||||
- if (SUCCEEDED(dxgiFactory->QueryInterface(IID_IDXGIFactory5, reinterpret_cast<void **>(&factory5)))) {
|
||||
+ if (SUCCEEDED(dxgiFactory->QueryInterface(__uuidof(IDXGIFactory5), reinterpret_cast<void **>(&factory5)))) {
|
||||
BOOL allowTearing = false;
|
||||
if (SUCCEEDED(factory5->CheckFeatureSupport(DXGI_FEATURE_PRESENT_ALLOW_TEARING, &allowTearing, sizeof(allowTearing))))
|
||||
supportsAllowTearing = allowTearing;
|
||||
@@ -4667,7 +4667,7 @@ bool QD3D11SwapChain::createOrResize()
|
||||
swapChain = sc1;
|
||||
if (m_format != SDR) {
|
||||
IDXGISwapChain3 *sc3 = nullptr;
|
||||
- if (SUCCEEDED(sc1->QueryInterface(IID_IDXGISwapChain3, reinterpret_cast<void **>(&sc3)))) {
|
||||
+ if (SUCCEEDED(sc1->QueryInterface(__uuidof(IDXGISwapChain3), reinterpret_cast<void **>(&sc3)))) {
|
||||
hr = sc3->SetColorSpace1(hdrColorSpace);
|
||||
if (FAILED(hr))
|
||||
qWarning("Failed to set color space on swapchain: %s", qPrintable(comErrorMessage(hr)));
|
||||
|
|
@ -18,7 +18,6 @@ SRC_URI += "\
|
|||
file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \
|
||||
file://0003-tests-disable-failing-tests.patch \
|
||||
file://0004-Do-not-use-QT_TOOLCHAIN_RELOCATABLE-paths-in-qt.tool.patch \
|
||||
file://0001-rhi-d3d11-Try-uuidof-instead-of-IID_-to-help-old-Min.patch \
|
||||
"
|
||||
|
||||
DEPENDS += "\
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user