- 03 Dec, 2019 - 1 commit
-
-
Antti Kokko authored
+ 32610be5 Bump version + 9eac844b Temporarily skip tst_QSslSocket::resume + decae3b7 SSL: Update an about-to-expire certificate + 497e0d65 Blacklist QHostInfo::reverseLookup:google-public-dns-a.google.com + ea16c860 Optimize and fix handling of QtMessageHandlers + 4cc6e141 QSimpleTextCodec: fix load memory order of atomic pointer + 51bcc7e0 QFreeList: fix memory order on block deletion + da38f0d6 QMutexPool: fix memory order of atomic operations + ced53c48 QNetworkAccessManager: defer call to _q_networkSessionStateChanged + f1f73cc5 Fix compilation with C++20 + e4df651d iOS Accessibility: implement accessibilityElements and check indexing + 8c5a6957 Update bundled libpng to version 1.6.37 + f184f878 Avoid hanging on painting dashed lines with non-finite coordinates + 88b1dd29 iOS: Disable C++17 + 8f9120d4 Blacklist tst_QDnsLookup::lookup in ci + 2ed7831f DBus: fix deadlock when destroying QDBusServer + 2bf6a94c Clean up time-zone matching logic in tst_QLocale::macDefaultLocale() Change-Id: Iab7461643f9c49c10ce5a2086656943284de7d02 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by:
Eirik Aavitsland <eirik.aavitsland@qt.io> Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io>
-
- 25 Nov, 2019 - 1 commit
-
-
Edward Welbourne authored
The test was computing GMT with a suffix added to it for the offset; but when the offset is zero there's no need for it. Cleaned up the logic so that it only checks for a "padded to two digits with zero" if the number is single-digit (and use string arithmetic in preference to wantonly complex .arg()ing; and use simpler names). Since we don't try to check anything unless GMT does appear in the string (because the actual zone ID was used, instead of GMT with an offset), the case of zero offset has nothing more to check than that GMT was present, the precondition for checking anything. Fixes: QTBUG-79965 Task-number: QTBUG-70322 Change-Id: I0b8abe7e63d9d72fa9cf32f188b47a78a849044b Reviewed-by:
Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 017ac02e ) Reviewed-by:
Heikki Halmet <heikki.halmet@qt.io> Reviewed-by:
Frederik Gladhorn <frederik.gladhorn@qt.io>
-
- 23 Aug, 2019 - 2 commits
-
-
Mårten Nordheim authored
Observed infrequently in the QDBus tests, it would deadlock when destroying QDBusServer at the same time as qDBusNewConnection was being executed as they were locking the same locks, but in opposite order. QDBusServer locks d->lock, then QDBusConnectionManager::instance()->mutex. While qDBusNewConnection locks QDBusConnectionManager::instance()->mutex, then serverConnection->lock (and serverConnection here is QDBusServer's d-pointer). QOrderedMutexLocker cannot be used in this situation because it operates on QMutex*, which d->lock (QReadWriteLock) is not. Change the code to lock QDBusConnectionManager's mutex before d->lock and then unlock the QMutexLocker where it would previously destruct. If QDBusConnectionManager has already been destroyed then we pass a nullptr to the QMutexLocker which is fine and will not do anything. Fixes: QTBUG-74635 Change-Id: I7f02d7759da67377996ef042c81b0969ccb8aadb Reviewed-by:
Marc Mutz <marc.mutz@kdab.com> Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io> (cherry picked from commit 6d3a4546)
-
Mårten Nordheim authored
It is incredibly flaky in CI (all/multiple platforms), but stable on local machines. This is not a cherry-pick because it would have to cherry-pick multiple patches. Change-Id: Ic1c3887a3c04bbfaa92421fff347161c9bf2ad96 Reviewed-by:
Volker Hilsheimer <volker.hilsheimer@qt.io>
-
- 07 Aug, 2019 - 1 commit
-
-
Tor Arne Vestbø authored
The standard library on some of the deployment targets (iOS 8 to 10) does not have aligned new and delete operators. Allowing C++17 would make us think we could use those, and the build would fail with the aligned-allocation-unavailable diagnostic. Fixes: QTBUG-77197 Change-Id: I86dc1dc97929b0c9359b4d7cc8dbca85672111dc Reviewed-by:
Simon Hausmann <simon.hausmann@qt.io>
-
- 02 Aug, 2019 - 1 commit
-
-
Eirik Aavitsland authored
The dash stroker did not check for inf/nan coordinates. Fixes: QTBUG-47887 Change-Id: I1e696cd15cc37d8fcb6a464cac3da33c3a8b95c2 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 8f8267f0)
-
- 31 Jul, 2019 - 1 commit
-
-
Eirik Aavitsland authored
The remaining diff to clean 1.6.37 is archived in the qtpatches.diff file. [ChangeLog][Third-Party Code] libpng was updated to version 1.6.37 Squashed cherry pick of: 0d7c049e dc2aead8 5d8b0146 2e800576 Change-Id: I589bff09beec1977be8c6ca2a60aadf05f337f38 Reviewed-by:
Liang Qi <liang.qi@qt.io>
-
- 30 Jul, 2019 - 1 commit
-
-
Frederik Gladhorn authored
Backported from 5.12 since several users seem to struggle with this issue. Fixes: QTBUG-70683 Change-Id: I122c67a5cee22363de5c8e45dc1c83e7760162fb (cherry picked from commit 8e528d8b ) Reviewed-by:
Tor Arne Vestbø <tor.arne.vestbo@qt.io>
-
- 09 Jul, 2019 - 1 commit
-
-
Marc Mutz authored
Implicit capture of 'this' in [=] is deprecated in C++20. Fix by using explicit captures. Change-Id: I1633446f4670202b0d1aca938d8c27dbc0c1411e Reviewed-by:
Mårten Nordheim <marten.nordheim@qt.io> (cherry picked from commit f5745609)
-
- 08 Jul, 2019 - 1 commit
-
-
Ulf Hermann authored
Also, call it only if the state really changes. If we stay disconnected the whole time, there is no point in trying to create the session over and over. Change-Id: Ic3a92dd0575bed1a23ae36a944cc51b9741fb64a Fixes: QTBUG-49760 Reviewed-by:
Jesus Fernandez <Jesus.Fernandez@qt.io> Reviewed-by:
Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by:
Timur Pocheptsov <timur.pocheptsov@qt.io> (cherry picked from commit c89d0f9d ) Reviewed-by:
Rolf Eike Beer <eb@emlix.com> Reviewed-by:
Ulf Hermann <ulf.hermann@qt.io>
-
- 30 Jun, 2019 - 2 commits
-
-
Marc Mutz authored
The array of QAtomicPointer<QMutex> can be initialized using relaxed stores of nullptr, since nullptr is the whole data. But once we store an actual QMutex pointer in the array, we need to publish the indirect data thus created. We did this, with testAndSetRelease(); what was missing was a corresponding acquire fence on load, without which there is no happens-before relationship between the writes performed by the QMutex ctor and the reads performed by a subsequent mutex.lock(), say, on the same data. Fix by adding acquire fences to all loads. That includes the dtor, since mutexes may have been created in different threads, and never been imported into this_thread before the dtor is running. As a drive-by, return a new'ed QMutex that was successfully installed directly to the caller, without again going through a load-acquire. Change-Id: Ia25d205b1127c8c4de0979cef997d1a88123c5c3 Reviewed-by:
David Faure <david.faure@kdab.com> Reviewed-by:
Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 65b8f59e)
-
Marc Mutz authored
Blocks are likely to have been created in a differnt thread from the one performing their deletion, so we need an acquire fence. The rest of the atomics use in the class looks ok, but nevertheless warrants a deeper analysis. Change-Id: I1571ded3a06695b0d58b5bf1d80d6283ac21f959 Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 6fa34930)
-
- 24 Jun, 2019 - 2 commits
-
-
Marc Mutz authored
The pointer value is not the only data we're interested in, but instead points to indirect data, so we need a release fence on store (present) and a corresponding acquire fence on load (was missing). Change-Id: I51f8251c0c7f4056192880430f2be5e0836dbed6 Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 6f848290)
-
Marc Mutz authored
A function may almost always have static storage duration, but that does not necessarily mean that we can store and load pointers to them without memory ordering. Play it safe and use store-release and load-acquire for them (which combines to ordered for the fetchAndSet call in qInstall*Handler(), as we don't know what the caller will do with the returned function pointer). Also change the initial value of the atomic pointer to nullptr. Nullptr already signified the default handler in qInstall*Handler(), so the API doesn't change. But by using nullptr to mean default, we place these variables in the BSS segment instead of TEXT, save dynamic init, or at least a relocation, and we dodge the smelly comparison of function pointers, using comparison against nullptr instead. Also, as a drive-by, put the call to ungrabMessageHandler() in a scope-guard. Both the message handler, as well as the Qt code calling it (toLocal8Bit()!), may throw, and that would stop all further logging. In Qt 5.9, we can't use qScopeGuard(), yet, so use a local struct calling ungrabMessageHandler() in its dtor. The code still has one problem: When a logging action is underway, and another thread exchanges the message handler, we might still execute code in the old handler. This is probably not a problem in practice, since no-one will use a dynamically-compiled function for logging (right? :), but should probably be documented or fixed. This patch does not address this issue, though. Change-Id: I21aa907288b9c8c6646787b4001002d145b114a5 Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit cd401b74)
-
- 25 Jun, 2019 - 1 commit
-
-
Mårten Nordheim authored
Back in April the entry for 8.8.8.8 changed, and this was planned to be blacklisted. Google, however, changed it back and the blacklist patches were dropped. At some point they changed it again and the blacklist will still be needed. The issue was fixed separately in >=5.12. Change-Id: I5dbc234a216ae639d463a48a6278c31120f18612 Reviewed-by:
Timur Pocheptsov <timur.pocheptsov@qt.io>
-
- 24 Jun, 2019 - 2 commits
-
-
Mårten Nordheim authored
Change-Id: I9e29baf529b74ae33fa0ee7250e5af6b1873e86f Reviewed-by:
Timur Pocheptsov <timur.pocheptsov@qt.io> (cherry picked from commit 42f3b18e)
-
Mårten Nordheim authored
Will be reverted once ready Change-Id: Id03df7dea1dd65579ec83606fddf2a73a45a0d64 Reviewed-by:
Timur Pocheptsov <timur.pocheptsov@qt.io> (cherry picked from commit a489e11b)
-
- 23 May, 2019 - 1 commit
-
-
Frederik Gladhorn authored
Change-Id: I9c224d41b735a301a145cf6a53cfbeaa294f2b59
-
- 25 Apr, 2019 - 1 commit
-
-
Qt Forward Merge Bot authored
Change-Id: I9819f2ba81134765947a3fa0557b0dde4c885836
-
- 09 Apr, 2019 - 1 commit
-
-
Antti Kokko authored
+ 976b43a7 Fix font weights on macOS 10.14 + fdb3f3a7 Bump version + ec298193 OpenSSL: force the "1.0.0" soname when loading OpenSSL 1.0 + 1288c5b0 Windows: Disable shader disk cache for Intel HD Graphics 620 + e73bd4a5 [cocoa] Disable offline renderers for dual AMD FirePro GPU + 928e77fa Fix deleting of QSharedPointer internals in case QPointer loses the race + 7547f57e Silence a GCC 8 warning in qxcbnativeinterface + ec554de6 Fix cast-function-type gcc 8 warning + b731a275 Windows: Don't output a warning when sHGetKnownFolderPath fails + 56c92b1e qmake: make sure 'move' commands to DESTDIR are valid on mingw + b11c5a6e macOS: restore hidden popup windows + b110a8ed Silence a GCC 8 warning in qoutlinemapper + 5f72767f Silence a GCC 8 warning in evdevtablet + 8b9a771e ibase: Silence warning about incompatible function types + a49d339f Silence a GCC 8 warning in qpainter + 7b42fbeb tst_QNetworkReply: Blacklist getFromHttp:success-external + b2cd2596 macOS: Unbreak build after b11c5a6e + b11ae750 Active Qt Servers: Fix midl warning about unknown option + 730dea58 OpenSSL: also try the "1.0.2" soname + b2aa8dbb Offscreen QPA: use a CoreText font database on macOS + 357bc636 uic: Generate version check macros around newly introduced palette color role + 94aa7dab Bump copyright year to 2019 + 159f7e9c Upgrade PCRE2 to 10.32 Change-Id: I3f3fcb3992da8fd273be9a3fd18a3e430c196282 Reviewed-by:
Frederik Gladhorn <frederik.gladhorn@qt.io> Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io> Reviewed-by:
Lars Knoll <lars.knoll@qt.io>
-
- 22 Jan, 2019 - 1 commit
-
-
Giuseppe D'Angelo authored
Squashed cherry pick of: e39a9de3 a7bcd16c 3bac18da 44eeeb8e [ChangeLog][Third-Party Code] PCRE2 was updated to version 10.32. Change-Id: Id3bf7df0003f626cd1135d0508a5a489ff02f1e5 Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com> Reviewed-by:
Lars Knoll <lars.knoll@qt.io>
-
- 25 Dec, 2018 - 1 commit
-
-
Kai Koehne authored
Task-number: QTBUG-72635 Change-Id: Idc9bd97fe873b332d7ff72cb44a00334a472404f Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by:
Alex Blasche <alexander.blasche@qt.io> Reviewed-by:
Paul Wicking <paul.wicking@qt.io> (cherry picked from commit 5fd48d78)
-
- 17 Dec, 2018 - 1 commit
-
-
Friedemann Kleint authored
Change ebd3a13b introduced a new QPaletter::PlaceholderText color role which causes the uic-generated code not to compile when using Qt Designer embedded in Qt Creator with older (5.9 LTS) kits. Generate a version check macro to fix this. Change-Id: I6d9f7edb0c6047c2f64ef3357b29f91655c52aac Fixes: QTBUG-72555 Reviewed-by:
Lars Knoll <lars.knoll@qt.io> Reviewed-by:
Christian Ehrlicher <ch.ehrlicher@gmx.de> Reviewed-by:
André Hartmann <aha_1980@gmx.de> (cherry picked from commit 3c3a2eb3)
-
- 13 Dec, 2018 - 1 commit
-
-
R.J.V. Bertin authored
Without this applications using the Offscreen QPA don't have access to any fonts on macOS and thus cannot render text correctly. Task-number: QTBUG-72335 Change-Id: I8e58c066365d0231d0993ad3b480d957a32f7f7b Reviewed-by:
Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 6b52c183)
-
- 10 Dec, 2018 - 1 commit
-
-
Giuseppe D'Angelo authored
Turns out that also Debian patches OpenSSL 1.0, changing its soname to "1.0.2". Therefore, try also to load that one. Amends ec298193. Task-number: QTBUG-68156 Change-Id: I37cc060e90422779a6c29a324ab900f0fb99cfa7 (cherry picked from commit 2a494875 ) Reviewed-by:
Timur Pocheptsov <timur.pocheptsov@qt.io>
-
- 08 Dec, 2018 - 1 commit
-
-
Friedemann Kleint authored
Remove the option from msvc-desktop.conf, which duplicates the /nologo option in idcidl.prf. Fixes: QTBUG-72046 Change-Id: I906097e0611f4578c307616b3f9ebecdfc4d8812 Reviewed-by:
Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 4447db44 ) Reviewed-by:
Akihito Izawa <akihito.izawa@qt.io>
-
- 07 Dec, 2018 - 1 commit
-
-
Tor Arne Vestbø authored
Fixes: QTBUG-71898 Change-Id: Ia32e05f901838949bf7cbf75d873e954a3da1178 Reviewed-by:
Eirik Aavitsland <eirik.aavitsland@qt.io>
-
- 27 Nov, 2018 - 1 commit
-
-
Liang Qi authored
Task-number: QTBUG-71953 Change-Id: Ibf45a8184cb0a78b1d36b4110974be4508b299fb Reviewed-by:
Timur Pocheptsov <timur.pocheptsov@qt.io> (cherry picked from commit 46076f73 ) Reviewed-by:
Liang Qi <liang.qi@qt.io>
-
- 19 Nov, 2018 - 4 commits
-
-
Ville Voutilainen authored
qtbase/src/gui/painting/qpainter.cpp:5625:68: error: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct QFixed’; use assignment or value-initialization instead [-Werror=class-memaccess] memset(advances.data(), 0, advances.size() * sizeof(QFixed)); Change-Id: I563b1b0c5dfaf381a9521bc9a4dc3197f0f38d11 Reviewed-by:
Simon Hausmann <simon.hausmann@qt.io> (cherry picked from commit 71cdc950 ) Reviewed-by:
Ville Voutilainen <ville.voutilainen@qt.io>
-
Andy Shaw authored
This correctly silents the warning about incompatible function types, it amends the previous fix - 6108d8f5 Task-number: QTBUG-68330 Change-Id: I9eda42817740f491b16ac19c553f35fb1c7aa755 Reviewed-by:
Jesus Fernandez <Jesus.Fernandez@qt.io> Reviewed-by:
Ville Voutilainen <ville.voutilainen@qt.io> (cherry picked from commit cd02eb5b ) Reviewed-by:
Andy Shaw <andy.shaw@qt.io>
-
Ville Voutilainen authored
qtbase/src/platformsupport/input/evdevtablet/qevdevtablethandler.cpp:85:36: error: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct QEvdevTabletData::<unnamed>’; use assignment or value-initialization instead [-Werror=class-memaccess] memset(&state, 0, sizeof(state)); Change-Id: I3b18ffa7fdf9c7aa1bd4977f12858fd1f176c020 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 7eac2e73)
-
Ville Voutilainen authored
qtbase/src/gui/painting/qoutlinemapper.cpp: In member function ‘QT_FT_Outline* QOutlineMapper::convertPath(const QVectorPath&)’: qtbase/src/gui/painting/qoutlinemapper.cpp:182:76: error: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘class QPointF’ from an array of ‘const qreal’ {aka ‘const double’} [-Werror=class-memaccess] memcpy(m_elements.data(), path.points(), count* sizeof(QPointF)); Change-Id: Ieca99f0262c57e58adbcf48ac923ae11bd428b00 Reviewed-by:
Simon Hausmann <simon.hausmann@qt.io> (cherry picked from commit ea1137ff ) Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by:
Ville Voutilainen <ville.voutilainen@qt.io>
-
- 15 Nov, 2018 - 1 commit
-
-
Rafael Roquetto authored
We need to explicitly unhide popup windows that were previously explicitly hidden by applicationWillHide, so that their visibility will be effectively restored when the application is unhidden (otherwise the windows are gone forever even though their internal visibility is set to true). Change-Id: I4dbd209b07f769cc815851b40c41db0739ca2dc9 Task-number: QTBUG-71014 Reviewed-by:
Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io> Reviewed-by:
Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit d02fed67 ) Reviewed-by:
Shawn Rutledge <shawn.rutledge@qt.io>
-
- 14 Nov, 2018 - 1 commit
-
-
Oswald Buddenhagen authored
the code ensures that the path ends with a path separator, which is unhealthy under mingw when the command ends with that path, because it's interpreted as a line continuation. the easiest fix is just duplicating the name of the moved file to the destination side. the cleaner fix would have been cleaning up the path separator mess, but that's a more invasive change and doesn't seem worth it. Task-number: QTBUG-69255 Change-Id: I338f8997b84ed7049b5665872dd25f90b9d4d16a Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit da4dcc08)
-
- 12 Nov, 2018 - 1 commit
-
-
Andy Shaw authored
In the rare case where the known locations for the standard paths are not known (such as when an application is used without a user logged in), it will output a warning to indicate this. In the case of the GenericConfigLocation, this can mean that it will hang due to the fact that QLoggingCategory is looking for that location too before it can output anything. Therefore, the warning output is removed so that if this part fails it doesn't cause it to hang as a result. Change-Id: I4f189361899bd1f868292f30c09fbe50982d2288 Reviewed-by:
Kai Koehne <kai.koehne@qt.io> (cherry picked from commit bebae373)
-
- 08 Nov, 2018 - 1 commit
-
-
Allan Sandfeld Jensen authored
Gcc 8 now warns against casting functions taking references to functions taking pointers: warning: cast between incompatible function types from ‘QVariant (*)(const int&, const int&, double)’ to ‘QVariant (*)(const void*, const void*, double)’ [-Werror=cast-function-type] Suppressed by casting over void(*)(). Change-Id: I48bee53253b8e87110e8a49efa761fc2add89c5a Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 0ffc3980 ) Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- 07 Nov, 2018 - 1 commit
-
-
Ville Voutilainen authored
qtbase/src/plugins/platforms/xcb/qxcbnativeinterface.cpp:309:65: error: cast between incompatible function types from ‘void (*)(const char*)’ to ‘QPlatformNativeInterface::NativeResourceForIntegrationFunction’ {aka ‘void* (*)()’} [-Werror=cast-function-type] return NativeResourceForIntegrationFunction(setStartupId); Change-Id: I83409b3a6cc67ccb4c9e91e592e6a01bb6ce45ea Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 1b72d3e6 ) Reviewed-by:
Ville Voutilainen <ville.voutilainen@qt.io>
-
- 03 Nov, 2018 - 1 commit
-
-
Thiago Macieira authored
QPointer uses QWeakPointer / QSharedPointer internals in QObject and has the code to make sure two threads won't stomp on each other if both try to create a QPointer for the same QObject at the same time. The threading code was fine, but had a mistake in the clean up code for the loser thread: the QtSharedPointer::ExternalRefCountData destructor has a Q_ASSERT for the state of the reference counts. So we need to set the state correctly before calling the destructor. But we don't want to do it in case the Q_ASSERT compiled to nothing. So we use a hack that violates the Second Rule of Q_ASSERTs: don't do something with side-effects. This way, we can insert code that will only be compiled if Q_ASSERTs do something, without having to duplicate the preprocessor conditions from qglobal.h. Fixes: QTBUG-71412 Change-Id: I1bd327aeaf73421a8ec5fffd1560fdfc8b73b70c Reviewed-by:
Romain Pokrzywka <romain.pokrzywka@gmail.com> Reviewed-by:
Jędrzej Nowacki <jedrzej.nowacki@qt.io> (cherry picked from commit 3b8075de)
-
- 30 Oct, 2018 - 1 commit
-
-
Michael Brüning authored
The AMD FirePro dual gpus on the MacPro have a problem with offline renderers in Chromium. Therefore, Chromium and thus Qt WebEngine disable this option via the pixel format attributes. The Qt Cocoa plugin on the other hand enables it in the recent versions, causing context creation in Qt WebEngine to fail when run on a MacPro with dual AMD FirePro gpus due to incompatible context options. This patch uses the environment variable QT_MAC_PRO_WEBENGINE_WORKAROUND which is set by Qt WebEngine upon application startup if the application is running on a late 2013 Mac Pro. [ChangeLog] Offline renderers will be disabled when the application is using Qt WebEngine and running on one of the late 2013 MacPro models. Backport from Qt 5.11 Task-number: QTBUG-70062 Change-Id: I0b0831efb6f4073ebd37672040aaed6370853fc0 Reviewed-by:
Andy Shaw <andy.shaw@qt.io>
-
- 23 Oct, 2018 - 1 commit
-
-
Liang Qi authored
Conflicts: config.tests/openssl/openssl.cpp src/plugins/platforms/windows/qwindowsintegration.cpp Change-Id: I93ad86751693f4f64981f1c3723bac2061c05379
-