summaryrefslogtreecommitdiffstats
path: root/tests/manual
Commit message (Collapse)AuthorAgeFilesLines
* qdnslookup tool: add the ability to resolve hostnamesThiago Macieira29 hours1-0/+7
| | | | | | | | We always just take the first, which QHostInfo should have sorted in priority order. Change-Id: I455fe22ef4ad4b2f9b01fffd17c7bc6460f06b98 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
* Fix lance readme: tests/auto/other/lancelot is gone nowShawn Rutledge7 days1-2/+2
| | | | | | | | Amends e8f93e38debf4f46dbda4de198b9dd475df42d5c Pick-to: 6.2 6.5 6.7 Change-Id: Icca7562e4773ed6caa542a99c2d45a5b06968b7e Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
* rhi: multiview manual test: exercise passing through gl_ViewIndexLaszlo Agocs9 days6-1/+4
| | | | | Change-Id: Iee9a29250061ca57ea30e3e545d1a6de952c1852 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
* Add CMYK support to QColorSpaceAllan Sandfeld Jensen13 days1-4/+5
| | | | | | | | [ChangeLog][QtGui][QColorSpace] Support for CMYK color spaces has been added. Change-Id: I2c684dbeee8b97fc90ca4e2a892349a7fa465d06 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
* tests: update info for mouse move events in device_informationLiang Qi2024-04-101-0/+2
| | | | | | Pick-to: 6.7 6.5 Change-Id: I390aee8c17d971781e7e243cd7bf98e10212f648 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
* rhi: Add support for resolving depth-stencilLaszlo Agocs2024-04-033-0/+277
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add setDepthResolveTexture(). Should work similarly to the color attachments' resolveTexture, but for depth or depth-stencil. However, this is another fragmented feature. - D3D11/12: Not supported. AFAICS multisample resolve (ResolveSubresource) is just not supported for depth or depth-stencil formats. - Vulkan: Not supported with Vulkan 1.0. Supported with Vulkan 1.1 and the two extensions. (VK_KHR_depth_stencil_resolve which in turn requires VK_KHR_create_renderpass2 since the 1.0 structs are not extensible, so now need to use VkRenderPassCreateInfo2 and all the '2' structs) In Vulkan 1.2 the above are in core, without the KHR suffix, but we cannot just use that because our main target, the Quest 3 (Android) is Vulkan 1.1. So 1.2 and up is ignored for now and we always look for the 1.1 KHR extensions. The depth resolve filter is forced for SAMPLE_0. AVG seems to be supported on desktop (NVIDIA) at least, but that's not guaranteed, so would need physical device support checks. On the Quest 3 it does not seem to be supported. And in any case, other APIs such as Metal do not have an AVG filter mode at all, so just use SAMPLE_0 always. - OpenGL (not ES): Should work, both when the multisample data is a renderbuffer and a texture. Relies on glBlitFramebuffer with filter NEAREST. What it does internally, with regards to the depth/stencil resolve mode, is not under our control. - OpenGL ES: Should work when the multisample buffer is a texture. But it will not work when a multisample renderbuffer (setDepthStencilBuffer, not setDepthTexture) is used because the GLES-only multisample extensions (GL_EXT_multisampled_render_to_texture, GL_OVR_multiview_multisampled_render_to_texture, which we prefer over the explicit resolve-based approach) work with textures only. - Metal: Should work. Task-number: QTBUG-122292 Change-Id: Ifa7ca5e1be78227bd6bd7546dde3a62f7fdbc95e Reviewed-by: Andy Nichols <andy.nichols@qt.io>
* Add configure feature for MetalTor Arne Vestbø2024-03-1910-15/+15
| | | | | | | Simplifies maintenance of code paths that rely on Metal. Change-Id: I1d1f705fffc14dbafde346eeb555b43be6d5be54 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Correct license for examples filesLucie Gérard2024-03-0764-64/+64
| | | | | | | | | | | | | | Example takes precedent over build system file type. According to QUIP-18 [1], all examples file should be LicenseRef-Qt-Commercial OR BSD-3-Clause [1]: https://contribute.qt-project.org/quips/18 Pick-to: 6.7 Task-number: QTBUG-121787 Change-Id: Id348a89884bb309b96abb31077f14a51086b5d0c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* Correct license for tools filesLucie Gérard2024-03-053-3/+3
| | | | | | | | | | | | According to QUIP-18 [1], all tools file should be LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 [1]: https://contribute.qt-project.org/quips/18 Pick-to: 6.7 Task-number: QTBUG-121787 Change-Id: Icd5d5be2e04819617e68ff142924de1773bebbad Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* Correct license for test fileLucie Gérard2024-03-051-1/+1
| | | | | | | | | | | | | According to QUIP-18 [1], all test files should be LicenseRef-Qt-Commercial OR GPL-3.0-only [1]: https://contribute.qt-project.org/quips/18 Pick-to: 6.7 Task-number: QTBUG-121787 Change-Id: If06da73cecbbf718338d1b785b5eca36ac819ccb Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* Add QWidgetPrivate::rhi() helper methodTor Arne Vestbø2024-03-011-8/+1
| | | | | | | | For accessing the RHI managed by the widget compositing machinery. Pick-to: 6.7 6.6 6.5 Change-Id: Ia3c1227cc2d9cfebe95611cad3dbcd7aa6f6f8c7 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
* Remove QWindowPrivate::compositingTor Arne Vestbø2024-03-011-11/+0
| | | | | | | | | | | It was added for Android in a4f50269f82695fbd0dd344f87b4b355feff4333, for the case of QSurface::RasterGLSurface, but since 6.4 we no longer use QSurface::RasterGLSurface for composition. And the Android usage was removed in 2020ce5fd2478389c56f34742fdeee9cd24ca8a5. Pick-to: 6.7 6.6 6.5 Change-Id: I8dafe959c54e09b3a974253e15d184365141d559 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
* Doc: Further replace 'Qt Designer' with 'Qt Widgets Designer'Kai Köhne2024-02-292-3/+3
| | | | | | | | | | Use \QD macro wherever possible. Amends 8aceccc7eb075 Task-number: QTBUG-122253 Change-Id: I276dabd40fb81486f6380fd90cf9968990932a24 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Iconbrowser test: use the variable font on AndroidVolker Hilsheimer2024-02-211-2/+2
| | | | | | | | | It's the font with the highest priority in the engine, and allows us to test variants by setting a variable axis. Change-Id: I44bd3a63eef8d6cb999eaa372c29abbf445f401b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
* wasm: add local font loading manual testMorten Sørvig2024-02-205-0/+270
| | | | | | | | | This tests allows configuring font loading options from the test web page. Change-Id: I15d850addb38329423722d1763ace8836dca2484 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Iconbrowser: render theme icons as list with large iconsVolker Hilsheimer2024-02-151-1/+2
| | | | | | | | In icon mode, the name of the icon gets truncated. Pick-to: 6.7 Change-Id: I8e2081a68006907ae916c8e8fa1aeb6006acbc6d Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* Fix QDataStream::operator<<(const char *) to handle 64-bit lengthIvan Solovev2024-02-071-0/+50
| | | | | | | | | | | | | | | The operator was not converted to using a new streaming version, so it supported only 32-bit length. Fix it and add a manual test for serialization/deserialization of large c-style strings. Amends fd48ce0b73c74dafd5db27bc1f2752ef665df7ef Pick-to: 6.7 Change-Id: I83704edec021d400b992de810feba5da52d5ffe1 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* QDataStream: use SizeLimitExceeded status in write operationsIvan Solovev2024-02-071-10/+28
| | | | | | | | | | | | | | | | | | | | | | Set this status when the stream tries to write more data than the current serialization format supports. Update the methods that write containers to return early if they fail to write the container size, and do not try to serialize the elements. Convert the manual tst_manualqdatastream test into a data-driven test, allowing us to specify various stream versions. Adjust the test code to check that the SizeLimitExceeded status is set when the stream version is <= Qt_6_6. Amends fd48ce0b73c74dafd5db27bc1f2752ef665df7ef Found in 6.7 API review Pick-to: 6.7 Change-Id: If4c62ea53ac9bccd423f00f0f03afd6ba6bdc4f5 Reviewed-by: Marc Mutz <marc.mutz@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* wasm: Refractor Selenium manual test into auto testPiotr Wierciński2024-02-075-1315/+0
| | | | | | | | | | | | | | Using Selenium for WebAssembly testing enables us to test user interactions, which is very valuable. Turning this test into automated allows us to run it in CI pipeline. This will help with detecting regressions. Two of these tests are currently failing on CI machine and they have been temporarily disabled. Change-Id: I754dd05955e55eb031070f5328ef715b7826c2b5 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Remove extra semi-colonsTasuku Suzuki2024-02-062-3/+3
| | | | | Change-Id: I92fddb36cd136fd1bd627955f15d0559b9942d7e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Change license for tests filesLucie Gérard2024-02-04430-430/+430
| | | | | | | | | | | | According to QUIP-18 [1], all tests file should be LicenseRef-Qt-Commercial OR GPL-3.0-only [1]: https://contribute.qt-project.org/quips/18 Pick-to: 6.7 Task-number: QTBUG-121787 Change-Id: I9657df5d660820e56c96d511ea49d321c54682e8 Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
* QFileSystemModel: don't crash with setIconProvider(nullptr)Ahmad Samir2024-02-012-2/+16
| | | | | | | | | | | | | | | | | | | | The method takes a pointer, so the code shouldn't crash when passed a nullptr. QFileInfoGatherer::getInfo() still needs to generate a descriptive string for the file, so we refactor QAbstractFileIconProvider::type() to put the implementation into a reusable static function QAbstractFileIconProviderPrivate::getFileType(const QFileInfo &info). This unfortunately involves constructing a QMimeDatabase on the fly, but the docs say that is fine. Drive-by change: use nullptr instead of `0` for pointers. Pick-to: 6.5 6.6 6.7 Fixes: QTBUG-99178 Change-Id: Ia32ea0a26701d593e74fbecced7be8d9e0aa0f52 Reviewed-by: Ahmad Samir <a.samirh78@gmail.com> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* tst_manualqdatastream: fix gcc errorIvan Solovev2024-01-261-6/+1
| | | | | | | | | | | | | | | | | | GCC has a bug [1] that does not allow to specialize templates outside of a namespace. An attempt to build the test results in the following error: tst_manualqdatastream.cpp:18:15: error: explicit specialization in non-namespace scope ‘class tst_QDataStream’ Fix it by converting the template specializations into simple function overloads. [1]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85282 Pick-to: 6.7 Change-Id: I7803cce1687ca8ae992f1a57394346eb6fc90c8b Reviewed-by: Marc Mutz <marc.mutz@qt.io>
* tst_manualqdatastream.cpp: update the licenseIvan Solovev2024-01-261-1/+1
| | | | | | | | | | The file was added in fd48ce0b73c74dafd5db27bc1f2752ef665df7ef by a TQtC employee, so the header should mention The Qt Company Ltd. Pick-to: 6.7 Change-Id: Ib191d2d63656c42f783db87de489814d387dfbca Reviewed-by: Øystein Heskestad <oystein.heskestad@qt.io> Reviewed-by: Marc Mutz <marc.mutz@qt.io>
* Add the new Android bluetooth permissions to the manual test appJuha Vuolle2024-01-231-1/+5
| | | | | | | | | Otherwise the bluetooth permission requests fail on 12+ Android. Fixes: QTBUG-114941 Pick-to: 6.7 6.6 6.5 Change-Id: I545299e38a7b30df840863ac880ad5bdff5fbc5e Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* filetest: add moveToTrash() operationThiago Macieira2024-01-181-1/+16
| | | | | | Pick-to: 6.7 Change-Id: I76ffba14ece04f24b43efffd17ab43f3f2ecde59 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* QImageReader test: add test image to qrc fileChristian Ehrlicher2024-01-164-3/+18
| | | | | | | | | | Add the test image to the qrc to make sure the image is available no matter where the test is executed. Pick-to: 6.7 6.6 Fixes: QTBUG-120732 Change-Id: I24de59fd88fdc2a3317c91ac28cf81fd5511455f Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
* Add BuildInternals lookup to the settingseditor manual testAlexey Edelev2024-01-151-0/+6
| | | | | | Pick-to: 6.7 Change-Id: Iae39efccaac26bcd12b416c05af36a545dca59b6 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Compile with getOpenGileContent() API changesMorten Sørvig2024-01-081-1/+2
| | | | | | | | | | | getOpenGileContent() takes a parent now, and the compat API is behind a QT_WIDGETS_REMOVED_SINCE(6, 7) which the manual tests can't access. Pick-to: 6.7 Change-Id: I81784baed178bb8efd1a848d32c9ee4510971e26 Reviewed-by: Piotr Wierciński <piotr.wiercinski@qt.io> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* wasm: update manual test to handle dropped filesMorten Sørvig2024-01-081-15/+16
| | | | | | | | | | | | | Verify that the file is saved correctly to the local file system by loading it and printing the sha1 of its contents. Also add indents in order to improve legibility. The output lines should now be correctly nested. Pick-to: 6.7 Change-Id: I698c016253656aef29f04129da5f01a9dc35191e Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Android: set default style extraction to minimalAssam Boudjelthia2023-12-222-8/+0
| | | | | | | | | | | | | | The default value in the default manifest has been for few releases, set as minimal, and since Widgets Android style is not fully supported anymore, we can set this to default to minimal under the hood as well to avoid needing to always explicitly needing to set it to minimal. Pick-to: 6.7 Change-Id: Id0b2134c572694be1e190347ff75f51ade65f0c4 Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io> Reviewed-by: Rami Potinkara <rami.potinkara@qt.io> Reviewed-by: BogDan Vatra <bogdan@kdab.com>
* wasm: Don't suppress exceptions during main()Morten Sørvig2023-12-202-1/+39
| | | | | | | | | | | | | | | | | If there's e.g. an infinite loop during main() that would previously result in a blank page, but not error message. The expected case is that we would get a RangeError exception, but that exception never reaches the catch handlers in qtloader.js. Work around this by setting noInitialRun, followed by calling main manually. We then need to handle the case where the app.exec() workaround throws, which should not trigger an error. Pick-to: 6.7 Change-Id: Ia8431279308770981316cd168e4316341bfb2531 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
* Move the settingseditor example into tests/manualVolker Hilsheimer2023-12-1513-0/+1303
| | | | | | | | | | | | | | | | The example uses QTreeWidget when it should use a QTreeView with a dedicated item model, primarily shows how to use item views (and very little about QSettings), and is generally not useful to show how an application could or should use QSettings to store settings. Turn it into a manual test instead; it's useful for that as it supports ini and plist files, and settings in different scopes. Pick-to: 6.7 Fixes: QTBUG-119978 Change-Id: I7ce039f6391c41c679d126d90a251eee60327c39 Reviewed-by: Ed Cooke <ed.cooke@qt.io> Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
* Android: Add preliminary support for child windowsTinja Paavoseppä2023-12-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the manual test case for embedded windows to have native window on Android. There are still some sharp corners, for example: * The windows are implemented with SurfaceViews, which makes z-ordering with multiple of them a bit tricky. The Surfaces they instantiate are basically z-ordered to either be below everything, with a hole punched in the window, or on top of everything, with the Surfaces created later on top of the ones created earlier. Also, with the foreign views it looks like the native view is on top of the Surface, because it is created later. And since the child windows create their Surfaces before the parent, they would be behind the parent window, currently circumventing this with letting the parent be z-ordered behind everything, and the children on top of everything. A follow up commit addresses this by changing the native view class to TextureView when multiple windows are present. * Parent window always gets the touch events - fixed in a follow up commit * If a child window has a text edit, it does not receive focus when clicking on it Task-number: QTBUG-116187 Change-Id: I32188ec5e3d3fce9fd8e3a931e317d1e081f691c Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* QIcon: turn platform engines on by defaultVolker Hilsheimer2023-12-071-2/+0
| | | | | | | | | | | | | | | | | | | | | | They are used when an icon is constructed via QIcon::fromTheme, unless an application-defined theme provides the requested icon. Update the documentation. For now we don't provide a way to "opt out". This might change, depending on the feedback during the Qt 6.7 beta phase. [ChangeLog][QtGui][QIcon] Qt now has implementations of native icon engines for macOS, iOS, Windows 10, Windows 11, and Android. These engines provide access to the native icon libraries and fonts, mapping standard icons to the corresponding native icon asset. Icons from application-defined themes take precedence, but the last-resort fallback icon passed as the second parameter into the QIcon::fromTheme(QString, QIcon) overload is only used if the icon is not available from the native library. See the QIcon documentation for details. Change-Id: I618e5c137c40f8e6309c0e4d4219a5a2759a475d Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* tests/manual: fix compiler warnings about missing override keywordAhmad Samir2023-11-282-2/+2
| | | | | Change-Id: I878c430faf97328a3faf15692c252ba1e8e3482f Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* Manual iconbrowser test: Add a Quick test tabVolker Hilsheimer2023-11-253-0/+64
| | | | | | Task-number: QTBUG-102346 Change-Id: I80dc7a393f08510c26ac8802e24b17e760c21e56 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* Add initial implementation of an Android icon engineVolker Hilsheimer2023-11-232-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | Try to use the Downloadable Font APIs from AndroidX to download the Material Symbols font. This would ideally allow us to add the official icon variations dynamically to the device's font cache. This works for several fonts from Google Fonts, but not for the fonts we need. So, for the time being, add a path where we consult the resource system for an embedded font file as well. Then an application can add e.g. the font file for the desired icons variation, and Qt will use those glyphs to render icons. Do this in the manual test, using cmake's FetchContent feature to download the font from Googlei's github repository. The incomplete mapping is based on the standard Material icons documentation at https://fonts.google.com/icons. We could in theory use the `codepoints` file that comes with the font files to create the mapping, but then we'd end up with platform specific icon names. Task-number: QTBUG-102346 Change-Id: Ibff3fe6d310a388e6111d983815ef0ddffb684c8 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Add initial implementation of macOS and iOS icon theme implementationsVolker Hilsheimer2023-11-232-0/+563
| | | | | | | | | | | | | | | | | | | | | | | From macOS 13 on, AppKit provides an API to get a scalable system image from a symbolic icon name. We can map those icon names to the XDG-based icon names we support in Qt, and render the NSImage with palette-based coloring when needed, in an appropriate scale. On iOS, we can use the equivalent UIKit APIs. Coloring functionality is only available from iOS 15 on. Implement a QAppleIconEngine that does that in its scaledPixmap implementation. Use basic caching to store a single QPixmap version of the native vector image. We regenerate the pixmap whenever a different size, mode, or state is requested. Add a manual test for browsing all icons we can get from the various Qt APIs that: standard icons and pixmaps from QStyle, QPlatformTheme, and QIcon::fromTheme, in addition to showing all icon variations for a single QIcon. Task-number: QTBUG-102346 Change-Id: If5ab683ec18d140bd8700ac99b0edada980de9b4 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* Make contextinfo example a manual testLaszlo Agocs2023-11-177-0/+723
| | | | | | Change-Id: I9023016d50e82bba1fa73632cc1409b3d016f352 Reviewed-by: Kristoffer Skau <kristoffer.skau@qt.io> Reviewed-by: Christian Strømme <christian.stromme@qt.io>
* wasm tests: Fix and clean manual Selenium testPiotr Wierciński2023-11-081-45/+13
| | | | | | | | | | | Remove obsolete parent_window_limits_moves_of_children test of moving child window in parent. Child windows no longer have decorations, therefore they cannot be dragged by a title bar. Fix child_window_activation test, which now uses correct coordinates to probe for stacked windows. Change-Id: If5ddd8d4486673a961572de7c57df72c3cea9350 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
* wasm tests: Fix manual Selenium testsPiotr Wierciński2023-11-062-5/+12
| | | | | | | | | | Manual tests using Selenium for browser automation were not properly updated when we introduced changes to our DOM structure. Update the testing framework so elements in shadow root may be properly accessed. Change-Id: I45f7d63a833bc48a3b68016ef937e56425bdff87 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Modify the MDI manual test to allow multiple views of same documentShawn Rutledge2023-11-024-7/+31
| | | | | | | | | | | | | | - editing same document in different views is possible? yes - resizing one QTextEdit calls QTextDocument::setTextWidth(), which affects the width in the other view too. You can resize either one, but you can't have two views with different layouts, of course. Added a categorized log message in QTextDocument::setTextWidth() for a sanity check. Task-nunber: QTBUG-35688 Change-Id: I59c4d10143fda3a66b946237832274d67f9d9d45 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
* wasm: add QIODevices for accessing JS dataMorten Sørvig2023-10-253-0/+138
| | | | | | | | | | | | | | | | BlobIoDevice: Supports reading data from a JS Blob, which can be a File (on disk) or some other object which can provide data. The native access functions are async and using this class requires that asyncify is available. Uint8ArrayIODevice: Supports reading and writing to a Uint8Array / ArrayBuffer. Similar to the existing QByteArray::fromEcmaUint8Array() API, except that it supports incremental accesss. Change-Id: Ic5de3534ff75eb6c745287b73b15ccd92d74ac2c Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
* Add support for containers > 4 Gi elements in QDataStreamØystein Heskestad2023-10-234-0/+193
| | | | | | | | | | | | The format is changed from 6.7 to support more than UINT32_MAX - 1 elements. The format used to have a quint32 size. Now if the size is larger or equal to 0xfffffffe (2^32 -2) the old size is an extend value 0xfffffffe followed by one quint64 with the actual value. The 32 bit size with all bits set is still used as null value. Fixes: QTBUG-105034 Change-Id: I62188be170fe779022ad58ab84a54b1eaf46e5d9 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Replace MAKE_TAG macro with QFont::TagVolker Hilsheimer2023-10-201-2/+2
| | | | | | Task-number: QTBUG-117046 Change-Id: I26e0af634fed87199bb49d57e3aa3f4e3fea0e39 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
* Android: remove unneeded allowNativeHeapPointerTagging manifest flagAssam Boudjelthia2023-10-202-2/+0
| | | | | | | | | Amends b0907db9eae4b85fcab4fa997428c438d9443ee0. Pick-to: 6.5 6.6 Task-number: QTBUG-91150 Change-Id: Ic7886a9fc69781e4f21417075516106ccb6c7bf5 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Add missing static to constexpr in keyevents testTor Arne Vestbø2023-10-171-1/+1
| | | | | Change-Id: I9e83876aadca3254042eb48ed51287e403830cf0 Reviewed-by: Liang Qi <liang.qi@qt.io>
* tst_QStorageInfo: align the columns without newlinesThiago Macieira2023-10-151-7/+17
| | | | | | Change-Id: I9d43e5b91eb142d6945cfffd17874a50565a97d6 Reviewed-by: Ahmad Samir <a.samirh78@gmail.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Make tests/manual/qtabletevent/device_information build standaloneShawn Rutledge2023-10-101-12/+16
| | | | | | | | | | | | | | It's very hard to test on Android otherwise: Creator isn't cooperating well enough with Android Studio / SDK manager with where stuff is installed, qmake doesn't build an apk, and qt-cmake-standalone-test doesn't work wth Android either. Renamed the executable to tablet_device_info so it's a bit less confusing on device launcher UIs. Task-number: QTBUG-86297 Change-Id: I3bb7f816e43f8df4183be1c0866e228befa9e8d9 Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>