summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/direct2d
Commit message (Collapse)AuthorAgeFilesLines
* Add QWindowsWindowClassDescription classPavel Dubsky2025-11-251-0/+1
| | | | | | | | | Replace loose parameter set with a small value type to clarify call sites and allow future extension (cursor/menu/extra bytes) without API churn. Change-Id: I84303ab62f22778338a5950557117db7cc2edb77 Reviewed-by: Volker Hilsheimer <[email protected]>
* Extract window class registration into dedicated classPavel Dubsky2025-11-201-0/+1
| | | | | | | | | | | Moved all logic related to window class registration and tracking out of QWindowsContext into a new QWindowsWindowClassRegistry class. This step preserves existing behavior and structure; no functional or stylistic changes were made. Further cleanups and refinements will follow in subsequent commits. Change-Id: Iba84797067226a3de0489bc466d9cd1b7e1a4d3c Reviewed-by: Volker Hilsheimer <[email protected]>
* Remove Qt::WindowType::Desktop in QWindowsDirect2dWindowAxel Spoerl2025-09-251-3/+0
| | | | | | | | | Qt::WindowType::Desktop is no longer a valid window type in Qt6. Remove its occurence in QWindowsDirect2dWindow. Task-number: QTBUG-140514 Change-Id: Ia7c47fc727ff9bd13661ee45ec025c89b02d2edb Reviewed-by: Wladimir Leuschner <[email protected]>
* CMake: Support clang building on Windows using MSVC ABICristian Adam2025-07-301-1/+3
| | | | | | | | | | | | | | This allows building QtBase using clang.exe / clang++.exe from the LLVM official build. The LLVM official build uses the MSVC ABI. clang.exe / clang++.exe are using the GNU command line interface, but this affects only the frontend. Task-number: QTBUG-138750 Change-Id: Ic60ab3ae85c844e7fa5c08155bcf895824b30099 Reviewed-by: Alexandru Croitor <[email protected]>
* Fix errors due to disabled exceptions with cpp_winrt supportMarius Kittler2025-04-151-0/+1
| | | | | | | | | | | | The winrt headers use exceptions so code using them must be compiled with exceptions enabled. Otherwise one runs into compile errors with mingw-w64 12.0.0 and GCC 14.2.0. Change-Id: I216f65b260062ff2020f8a288ddda78c3e9fc3c9 Reviewed-by: Alexey Edelev <[email protected]> Reviewed-by: Mårten Nordheim <[email protected]> Reviewed-by: Volker Hilsheimer <[email protected]> Reviewed-by: Oliver Wolff <[email protected]>
* Add missing comparison operators for Microsoft::WRL::ComPtr on MINGWJøger Hansegård2025-03-065-16/+8
| | | | | | | | | | | | | | | | MINGW's implementation of Microsoft::WRL::ComPtr lacks comparison operators, and calling operator==() on them will implicitly convert them to bool before comparing the resulting bool values. Two non-zero ComPtr instances will therefore always compare equal, even if they point to different interfaces. This patch adds ComPtr comparison operators if they are missing, and replaces existing includes to wrl.h or wrl/client.h with QtCore/private/qcomptr_p.h Pick-to: 6.9 6.8 Change-Id: I8123d9d874ae53ebfd6d381b69097e75527848b6 Reviewed-by: Mårten Nordheim <[email protected]>
* WindowsQPA: Draw custom titlebar with QPainterWladimir Leuschner2024-12-171-1/+0
| | | | | | | | | | | - Draw custom titlebars that are requested by setting the Qt::ExpandedClientAreaHint with QPainter instead of GdiPlus. - Draw the application icon, in case it was set, for the custom titlebar - Add DPI awareness to the custom titlebar Pick-to: 6.9 Change-Id: I276e7d8948e5a436f1835d96b59756b7237f63d2 Reviewed-by: Tor Arne Vestbø <[email protected]>
* Windows: Implement Qt::ExpandedClientAreaHint/NoTitleBarBackgroundHintWladimir Leuschner2024-11-271-0/+2
| | | | | | | | | | | | | | Windows with the Qt::ExpandedClientAreaHint set extends the client area to include the native titlebar area, while keeping the functionality of systemmenu, resizing and aero snap. Also this flag indicates, that Qt is drawing a title bar as an overlay over the extended client area. Additionally setting Qt::NoTitleBarBackgroundHint will make the titlebar background transparent, so that the widgets below are visible and interactible. Task-number: QTBUG-127634 Change-Id: Ib267d199f42a4ee90e7a51fe60a41295b82031d6 Reviewed-by: Tor Arne Vestbø <[email protected]>
* Fix non-portable link to uiautomationcoreChristian Heimlich2024-11-261-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | 548351 changed QWindowsIntegrationPlugin and QWindowsDirect2DIntegrationPlugin so that their CMake targets link directly to UIAutomationCore.lib/.a instead of loading UIAutomationCore.dll dynamically at runtime; however, it did this by first locating the library via `find_library()` and then using the absolute path to the DLL import library found. If Qt was built statically, this would cause that absolute path to be added to the INTERFACE_LINK_LIBRARIES of their export targets, breaking the build if moved to another machine where the location of that lib differed. Instead, simply list uiautomationcore as a library link by name only, which shifts responsibility of locating the .lib/.a when consumers build to the linker, as is done for all other Windows system libraries. This ensures that the library is found correctly regardless of which system Qt was built on. Currently this only applies to MSVC due to limitations with uiautomationcore.a when using MINGW, where the lib is still dynamically loaded. Pick-to: 6.8 6.8.1 Change-Id: I20011a51935af4093de83fff75efe2141da0655b Reviewed-by: Zhao Yuhang <[email protected]> Reviewed-by: Joerg Bornemann <[email protected]>
* Windows: Remove legacy mouse handlingOliver Wolff2024-06-121-1/+0
| | | | | | | | | | | | | | Pointer handling API was added in Windows 8. As we no longer support Windows 7, we can make mouse handling code easier to read/maintain be removing the legacy implementation. [ChangeLog][Windows] Legacy mouse handling has been removed. It is no longer possible to enforce legacy mouse handling by passing "-nowmpointer". Pick-to: 6.8 Change-Id: I58387471999a371fd20c644abbcf855e192d220b Reviewed-by: Tor Arne Vestbø <[email protected]>
* Add QPaintDevice metric query to get precise fractional DPR valueEirik Aavitsland2024-05-301-1/+3
| | | | | | | | | | | | | | | | | | | | | For compatibility reasons, QPaintDevice needs to query subclasses for device metrics as int values. To report fractional DPR values, they have been multiplied with a large constant and divided back afterwards. However, the loss of accuracy introduced by this, though tiny, could still lead to rounding errors and painting artefacts when the values where multiplied up for large coordinates. Avoid this issue by adding a metric query that transports the full floating point value encoded as two ints. [ChangeLog][QtGui] Added new QPaintDevice metrics for querying fractional device pixel ratios with high precision. Custom paintdevice classes that support fractional DPRs are recommended to implement support for these queries in metric(). Others can ignore them. Fixes: QTBUG-124342 Change-Id: Ia6fa46e68e9fe981bdcbafb41daf080b4d1fb6d7 Reviewed-by: Tor Arne Vestbø <[email protected]>
* Remove QWindowsComBasePavel Dubsky2024-04-191-1/+0
| | | | | | | QWindowsComBase is now replaced with QComObject Change-Id: Ieb54b357fc4d658b751a35f0ba06df777617aafc Reviewed-by: Oliver Wolff <[email protected]>
* Clean up windows accessibility backendMiguel Costa2024-03-271-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | What was done: * Removed headers in src/gui/accessible/windows/apisupport: as of v13.1.0, MinGW supports most of the definitions in these headers. Including uiautomation.h should be enough. * Removed the QWindowsUiaWrapper class: it's not meant to be extended or itself instantiated, is an "ultra-thin" layer (it even preserves the "all-caps" Win types of function args), and is in effect only a MinGW-bound "kludge". Instead of this class, use the UI Automation API directly, with the assumption that it's available and fully functional, as specified in the MS docs. Any gaps between this assumption and what is delivered by MinGW are bridged with specific (and explicit) temporary "kludges". * Implemented said specific "kludges" in qwindowsuiautomation. For Windows builds, the header just includes uiautomation.h, and the .cpp is empty. For MinGW, the header contains definitions still missing from uiautomation.h, and the .cpp implements functions of the UI Automation core library through imports from the uiautomationcore DLL. * Windows plugins (and tst_qaccessibility): use the UI Automation API definitions directly, instead of the "ultra-thin" wrapper. * Windows plugin builds: use uiautomationcore library, if found. What's intended: * Unburden Gui of the Windows UI Automation COM interfaces and other definitions that are copied in the uia*.h headers. * Make the Windows plugins independent of MinGW shortcomings. * Remove the QWindowsUiaWrapper class that essentially only hides these shortcomings and the "kludge" code needed to overcome them. * As MinGW adds further support to the UI Automation API over time, make it noticeable which workarounds are no longer needed. The current approach of hiding "kludges" in a wrapper class will also hide the fact that they're no longer needed, if/when that time comes. Change-Id: I0070636817d5de81d0b106e9179e2d0442362e2a Reviewed-by: Wladimir Leuschner <[email protected]> Reviewed-by: Oliver Wolff <[email protected]>
* Add initial implementation of a Windows icon engineVolker Hilsheimer2023-11-231-0/+1
| | | | | | | | | | | | | | | | Implement an icon engine for Windows that renders glyphs from the Segoe Fluent Icons font on Windows 11 and the Segoe MDL2 Assets fonts on Windows 10. These fonts are installed on the respective Windows versions by default, and otherwise freely avialable for deployment. Icons from that font will mostly be based on single code points, but as the font is specifically designed to allow combining glyphs by layering, the implementation supports multiple code points as well, and can also use a surrogate pair as well to render e.g. an emoji. Task-number: QTBUG-102346 Change-Id: Ib47a267c3a1878d8f0e00dd954496fc338bb0110 Reviewed-by: Tor Arne Vestbø <[email protected]>
* Windows: implement retrieval for missing QScreen metadataL. E. Segovia2023-05-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit implements the manufacturer, model, and serialNumber properties of QScreen for the Windows operating system. These were not available previously because the Display Devices API allows piecemeal access to the EDID fields, and the GDI API only returns the i-th device name, e.g. "\\.\DISPLAY1". Accessing the EDID of a given screen is possible by, given a WindowsScreenData instance storing the device path, pivoting from SetupDiOpenDeviceInterfaceW and then extracting the corresponding blob from the Registry through a key handle retrieved with SetupDiOpenDevRegKey. This blob can be parsed just like in Linux with the QEdidParser class. The resulting metadata is applied to the WindowsScreenData instance. Additionally, this commit implements support for clone groups by making getPathInfo return a list of the matching DISPLAYCONFIG_PATH_INFO instances, and then concatenating the monitorFriendlyDeviceName and the EDID manufacturer, model and serialNumber properties. This commit makes the Windows and Direct2D QPA plugins dependent on setupapi, and extends the QEdidParser class availability condition to include these platforms. Pick-to: 6.5 Change-Id: I56886b035a3d15e6f90aad5d797aeda21f99ff74 Reviewed-by: Oliver Wolff <[email protected]>
* Use NO_PCH_SOURCES to exclude filesAmir Masoud Abdol2023-04-031-3/+2
| | | | | | | | | | | | | We should be able to just use NO_PCH_SOURCES under MINGW condition and get the same result. P.S. The problem with `qwindowspointerhandler.cpp`, most likely caused due to symbol collision with `qwindowsmousehandler.cpp`. We've encountered it again when we were building with unity. Pick-to: 6.5 Change-Id: I20a5091d5d1a329228b5ddb4694f5fd61d803554 Reviewed-by: Joerg Bornemann <[email protected]>
* Clean up NO_UNITY_BUILD instructionAmir Masoud Abdol2023-04-031-1/+0
| | | | | | | | | | We can now use NO_UNITY_BUILD_SOURCES instead, and we only need to exclude one of the file to avoid the exclusion. Task-number: QTBUG-109394 Pick-to: 6.5 Change-Id: I33642eece77e362f8a1de7400c14a30da7889239 Reviewed-by: Alexandru Croitor <[email protected]>
* Direct2d QPA plugin: Add exclusions for Unity buildsFriedemann Kleint2023-02-211-0/+3
| | | | | | | | | | Similar to the Windows QPA plugin. Pick-to: 6.5 Task-number: QTBUG-109394 Change-Id: I8e094e4ec49574441d3fd73e7ac2cc6fe3b5fd5f Reviewed-by: Amir Masoud Abdol <[email protected]> Reviewed-by: Joerg Bornemann <[email protected]>
* src: Remove remains of qmake conversion from CMakeLists.txt filesFriedemann Kleint2023-02-101-12/+2
| | | | | | Pick-to: 6.5 Change-Id: Id644d322a602038403bb7f46c532744575fbf6d3 Reviewed-by: Alexey Edelev <[email protected]>
* Rename QWindowsMimeConverter to QWindowsMimeRegistry, rename filesVolker Hilsheimer2022-11-031-1/+1
| | | | | | | | | | | | The class registers converters and provides access to the converter able to handle specific formats. But it is not a converter itself. The converter would then be the implementation of the virtual interface, e.g. QWindowsMime subclasses. Task-number: QTBUG-93632 Change-Id: I150ef28e9bcead4291d72e0b0aa660be3fcd4a8a Reviewed-by: Tor Arne Vestbø <[email protected]>
* Port from qAsConst() to std::as_const()Marc Mutz2022-10-111-1/+1
| | | | | | | | | | | | | | | | We've been requiring C++17 since Qt 6.0, and our qAsConst use finally starts to bother us (QTBUG-99313), so time to port away from it now. Since qAsConst has exactly the same semantics as std::as_const (down to rvalue treatment, constexpr'ness and noexcept'ness), there's really nothing more to it than a global search-and-replace, with manual unstaging of the actual definition and documentation in dist/, src/corelib/doc/ and src/corelib/global/. Task-number: QTBUG-99313 Change-Id: I4c7114444a325ad4e62d0fcbfd347d2bbfb21541 Reviewed-by: Ivan Solovev <[email protected]>
* Change the license of all CMakeLists.txt and *.cmake files to BSDLucie Gérard2022-08-231-1/+1
| | | | | | | Task-number: QTBUG-105718 Change-Id: I5d3ef70a31235868b9be6cb479b7621bf2a8ba39 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Jörg Bornemann <[email protected]>
* Add license headers to cmake filesLucie Gérard2022-08-031-0/+3
| | | | | | | | | | | | CMakeLists.txt and .cmake files of significant size (more than 2 lines according to our check in tst_license.pl) now have the copyright and license header. Existing copyright statements remain intact Task-number: QTBUG-88621 Change-Id: I3b98cdc55ead806ec81ce09af9271f9b95af97fa Reviewed-by: Jörg Bornemann <[email protected]>
* Use SPDX license identifiersLucie Gérard2022-05-1622-836/+44
| | | | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Files that have to be modified by hand are modified. License files are organized under LICENSES directory. Task-number: QTBUG-67283 Change-Id: Id880c92784c40f3bbde861c0d93f58151c18b9f1 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Lars Knoll <[email protected]> Reviewed-by: Jörg Bornemann <[email protected]>
* Plugins: replace remaining uses of QLatin1String with QLatin1StringViewSona Kurazyan2022-05-041-1/+1
| | | | | | | Task-number: QTBUG-98434 Change-Id: If64c294033c114ae46dfc327c40da7f3c7a598f5 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Marc Mutz <[email protected]>
* Plugins: use _L1 for for creating Latin-1 string literalsSona Kurazyan2022-05-041-1/+3
| | | | | | | | | As a drive-by, fix qsizetype -> int narrowing conversion warnings for the touched lines. Task-number: QTBUG-98434 Change-Id: I7fadd3cf27ad099028d70f05956303e3af62c0f5 Reviewed-by: Marc Mutz <[email protected]>
* Always include qt_windows header firstVolker Hilsheimer2022-02-222-0/+2
| | | | | | | | | | qt_windows takes care of setting NOMINMAX, which prevents native headers from defining `min` and `max` as macros, breaking the build. So include that header always as the first header. Pick-to: 6.3 Change-Id: I82cd8b21d263102000e6e66f135465bc2c126db4 Reviewed-by: Friedemann Kleint <[email protected]>
* Replace QString::utf16() with data() in memcpy() and QByteArray ctorØystein Heskestad2022-01-071-1/+1
| | | | | | | | | | | QString::utf16() needlessly detaches fromRawData() to ensure a terminating NUL. Use data() where we don't require said NUL, taking care not to call the mutable data() overload, which would detach, too. Task-number: QTBUG-98763 Change-Id: I7075a8f18ab1f82ebbcf8cfab1643e8ab7f38d51 Reviewed-by: Marc Mutz <[email protected]>
* Windows QPA: Further cleanup of pre-Win10 codeYuhang Zhao2021-11-241-0/+4
| | | | | | | | | | | | | | | | | Mostly a removal of dynamically loaded Win32 APIs. Since Qt 6's minimum supported platform is Win10 1809 (10.0.17763, code name RS5), all these functions will be available and no need to resolve them at run-time. Things not remove: WinTab functions in "qwindowstabletsupport.cpp". Not my familiar area, so not touch it. Pick-to: 6.2 Task-number: QTBUG-84432 Change-Id: I7ad6c3bc8376f6c0e3ac90f34e22f7628efeb694 Reviewed-by: André de la Rocha <[email protected]> Reviewed-by: Oliver Wolff <[email protected]>
* CMake: Rename qt6_add_plugin TYPE option to PLUGIN_TYPEAlexandru Croitor2021-08-061-1/+1
| | | | | | | | | | | | | The intention is to remove TYPE as a keyword completely before 6.2.0 release, but in case if that's not possible due to the large amount of repositories and examples, just print a deprecation warning for now and handle both TYPE and PLUGIN_TYPE. Task-number: QTBUG-95170 Pick-to: 6.2 Change-Id: If0c18345483b9254b0fc21120229fcc2a2fbfbf5 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Joerg Bornemann <[email protected]>
* CMake: Use QtBase_SOURCE_DIR instead of QT_SOURCE_TREEJoerg Bornemann2021-07-121-1/+1
| | | | | | | | | | | | | ...where applicable to use a known CMake-provided variable in favor of our own cooked up one. This affects four plugins that are not supposed to be built out of tree, meaning QtBase_SOURCE_DIR is available (and identical to QT_SOURCE_TREE). Task-number: QTBUG-88090 Change-Id: I27f012e6c5fd99c3239a1dd65c0811c819dbcfe9 Reviewed-by: Alexandru Croitor <[email protected]>
* Silence warning C4996 (use of deprecated GetDesktopDpi)Kai Köhne2021-05-272-0/+6
| | | | | | | | | | | | | | Silences warnings warning C4996: 'ID2D1Factory::GetDesktopDpi': Deprecated. Use DisplayInformation::LogicalDpi for Windows Store Apps or GetDpiForWindow for desktop apps. Using GetDpiForWindow sounds like the right approach, but it's not obvious where to get the window handle from here. Task-number: QTBUG-94043 Pick-to: 6.1 Change-Id: I2fc005e0c970c8338184f4500b876774ec9d976b Reviewed-by: Friedemann Kleint <[email protected]>
* Fix BASE argument of qt_add_resourcesJoerg Bornemann2021-05-181-87/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The BASE argument of qt_add_resources now denotes the root point of the alias of the file. Before, BASE was merely prepended to every file that got passed to qt_add_resources. Old behavior: qt_add_resources(app "images" PREFIX "/" BASE "../shared" FILES "images/button.png") Alias is "../shared/images/button.png", and pro2cmake generated QT_RESOURCE_ALIAS assignments to fix this. New behavior: qt_add_resources(app "images" PREFIX "/" BASE "../shared" FILES "../shared/images/button.png") The alias is "images/button.png". No extra QT_RESOURCE_ALIAS assignment is needed. The new behavior is in effect for user projects and for Qt repositories that define QT_USE_FIXED_QT_ADD_RESOURCE_BASE. Qt repositories will be ported one by one to this new behavior. Then the old code path can be removed. Pick-to: 6.1 Task-number: QTBUG-86726 Change-Id: Ib895edd4df8e97b54badadd9a1c34408beff131f Reviewed-by: Alexandru Croitor <[email protected]>
* cmake: Don't give plugins PUBLIC usage requirementsCraig Scott2021-02-241-12/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | The pro2cmake.py conversion script faithfully reproduced the .pro files for the plugins, which specified the libraries as public. But in CMake, the implications of this are that public usage requirements should then be propagated to consumers. We don't expect any consumers, since a plugin is created as a MODULE library in CMake, so for Windows we don't even have an import library to link with. The only exception to this is for static builds where plugins are created as STATIC libraries instead, but only in certain controlled situations do we then link to plugins. Even then, usage requirements are not expected to propagate to the consumers, so these relationships should always be specified as private. This change warns on any PUBLIC usage requirements specified for a plugin. This check is disabled by default to avoid spamming CI builds for repos that haven't been fixed yet. The check can be enabled by a CMake cache option, which is intended for developers to use locally when fixing this issue in other repos (all plugins in qtbase should not trigger this warning as a result of changes in this commit). Task-number: QTBUG-90819 Pick-to: 6.1 Change-Id: I09f2c8da77db1193ad3370f85d367dfc6ab7b9a6 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Joerg Bornemann <[email protected]>
* Fix mingw compiler warningsMårten Nordheim2021-02-111-1/+1
| | | | | | | | Mark overridden functions with override. Remove unused static function. Change-Id: I06bd52c66ac7b970dfced0e553eac9c4a4d44d79 Reviewed-by: Friedemann Kleint <[email protected]>
* Remove .prev_CMakeLists.txt filesJoerg Bornemann2021-01-121-278/+0
| | | | | | | | | | Those serve no purpose anymore, now that the .pro files are gone. Task-number: QTBUG-88742 Change-Id: I39943327b8c9871785b58e9973e4e7602371793e Reviewed-by: Cristian Adam <[email protected]> Reviewed-by: Edward Welbourne <[email protected]> Reviewed-by: Kai Koehne <[email protected]>
* Remove the qmake project filesJoerg Bornemann2021-01-071-42/+0
| | | | | | | | | | | | | | | | Remove the qmake project files for most of Qt. Leave the qmake project files for examples, because we still test those in the CI to ensure qmake does not regress. Also leave the qmake project files for utils and other minor parts that lack CMake project files. Task-number: QTBUG-88742 Change-Id: I6cdf059e6204816f617f9624f3ea9822703f73cc Reviewed-by: Edward Welbourne <[email protected]> Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Kai Koehne <[email protected]>
* Remove Qt4Compatible paintingAllan Sandfeld Jensen2020-11-121-1/+1
| | | | | Change-Id: Ie54206ca9b509875568f2158e229fca9cb1860a2 Reviewed-by: Lars Knoll <[email protected]>
* CMake: Regenerate qtbase projectsAlexandru Croitor2020-10-301-0/+278
| | | | | | | | | | In preparation for some further regeneration. Also modify pro2cmake to add forgotten mapping for the Qt::EglFsKmsGbmSupportPrivate module. Change-Id: I92425c566c2b275b40eec8c652496290754ac385 Reviewed-by: Joerg Bornemann <[email protected]>
* MinGW: Fix static direct2d plugin build using PCHCristian Adam2020-10-171-0/+6
| | | | | | | | | | | | | Ammends 27499d25fb6d5b12ee6f97f5a6bedcde53b2dcee The value used to create the PCHs for _WIN32_WINNT is 0x601, and qwindowspointerhandler.cpp requires for MinGW 0x603. Since the precompile header value cannot be undefined while compiling the source file, it's better not to use the PCH for this particular source file. Change-Id: I2dc10fa11f0a796c2d21d8880e32e911359f1602 Reviewed-by: Alexandru Croitor <[email protected]>
* CMake Build: Add direct2d CMake buildCristian Adam2020-09-301-0/+277
| | | | | | | | | Also fixed Direct 2D feature detection test for MinGW. Task-number: QTBUG-83932 Change-Id: I8c89aaa953d34de40fdf7b51e0859c791aeb38ef Reviewed-by: Alexandru Croitor <[email protected]> Reviewed-by: Qt CI Bot <[email protected]>
* Remove last remaining bits of QtPlatformHeadersTor Arne Vestbø2020-08-041-1/+1
| | | | | | Task-number: QTBUG-84220 Change-Id: I951e04bfe9358a99951d1d61ff47b675584b7f81 Reviewed-by: Oliver Wolff <[email protected]>
* Fix namespaced buildGiuseppe D'Angelo2020-07-151-2/+0
| | | | | | | | | No need of redeclare the function (wrongly, w/o the namespace), we have the declaration already from qpaintdevice.h. Change-Id: Iab37c1ac8f059b7d93de7f6c8f0a2eeef2314f35 Reviewed-by: Friedemann Kleint <[email protected]> Reviewed-by: Thiago Macieira <[email protected]>
* Use QList instead of QVector in pluginsJarek Kobus2020-07-061-6/+6
| | | | | | Task-number: QTBUG-84469 Change-Id: Ic86f4a3000592a1c9ae62e4a83f4fe39832a6b24 Reviewed-by: Friedemann Kleint <[email protected]>
* Make QtPlatformHeaders a private moduleTor Arne Vestbø2020-07-061-1/+1
| | | | | | | | | | | The APIs will be reintroduced as part of the new platform interface API where appropriate. Clients that still depend on the platform headers can include it via QT += platformheaders-private. Change-Id: Ifbd836d833d19f3cf48cd4f933d7fe754c06d2d9 Reviewed-by: Tor Arne Vestbø <[email protected]>
* Windows font databases: Enable DirectWrite for cmakeFriedemann Kleint2020-06-151-1/+1
| | | | | | | | | | | | | | | | - Remove the DirectWrite1,2 features. Windows 10 should have them, only MinGW is missing directwrite3. The feature directwrite now implies DirectWrite2. - Remove the custom defines. - Port over the configure tests from configure.json and add missing ones for DirectWrite(2), DirectWrite3 and Direct2D and Direct2D 1.1, fix the conditions and report them in the summary. Task-number: QTBUG-83255 Fixes: QTBUG-83931 Change-Id: I1fc68997adc715bd5c6d7ec457f58c46e1f81c6a Reviewed-by: Alexandru Croitor <[email protected]>
* Move windows font databases into QtGuiFriedemann Kleint2020-06-112-4/+2
| | | | | | | | | | Requires adapting a few config checks since cmake currently does not detect directwrite. Task-number: QTBUG-83255 Task-number: QTBUG-83931 Change-Id: I521f1924f701260b41dccbcecf87b19f08df5ccc Reviewed-by: Alexandru Croitor <[email protected]>
* Move the Windows Event Dispatcher into QtGuiFriedemann Kleint2020-06-091-1/+0
| | | | | | Task-number: QTBUG-83255 Change-Id: Ida86f27d7f52b9be48fbea909979320866ff8dae Reviewed-by: Oliver Wolff <[email protected]>
* Move QAbstractFileIconEngine into QtGuiTor Arne Vestbø2020-06-031-1/+1
| | | | | | Task-number: QTBUG-83255 Change-Id: Iab502c51600b96f315113b08fa473ed28a5457fc Reviewed-by: Volker Hilsheimer <[email protected]>
* Move QtAccessibilitySupport into QtGuiTor Arne Vestbø2020-06-021-2/+0
| | | | | | Task-number: QTBUG-83255 Change-Id: Ibc1b38e77c3c90030a832c41f4de65c6c38bc91d Reviewed-by: Tor Arne Vestbø <[email protected]>