- 17 Mar, 2021 21 commits
-
-
Sona Kurazyan authored
This seems to cause errors when compiling with gcc-11. Although this is most likely a compiler bug, specifiying the template parameter type in this case isn't necessary. Fixes: QTBUG-91909 Fixes: QTBUG-90568 Pick-to: 6.0 6.1 5.15 Change-Id: Ib231257ccb2e16cc533f23ca5840d31e26a66d53 Reviewed-by:
Mårten Nordheim <marten.nordheim@qt.io>
-
Mårten Nordheim authored
When configuring a benchmark using the standalone-test script the 'benchmark' target is not available, causing a configure error. Pick-to: 6.1 6.0 Change-Id: I8e480c9e72b47783c0910428187f0092049e89db Reviewed-by:
Alexey Edelev <alexey.edelev@qt.io> Reviewed-by:
Alexandru Croitor <alexandru.croitor@qt.io>
-
Alexey Edelev authored
-
Volker Hilsheimer authored
-
Alexey Edelev authored
-
Alexey Edelev authored
The _qt_internal_test_expect_fail macro fails when the test fails during the configuration step. Rename this macro to _qt_internal_test_expect_build_fail and add the _qt_internal_test_expect_fail macro that expects inverted test result. Change-Id: I4635e99152f7a32f5c48202e84fec59800453d34 Reviewed-by:
Alexandru Croitor <alexandru.croitor@qt.io>
-
Volker Hilsheimer authored
Use QMetaType instead to silence compiler warnings. Pick-to: 6.1 Change-Id: Ic28b3406ddcd51935f42779e7708ea8a459d3a9e Reviewed-by:
Fabian Kosmale <fabian.kosmale@qt.io>
-
Fabian Kosmale authored
-
Robert Löhning authored
-
Alexey Edelev authored
Exporting QLibraryInfo internals allows to reuse settings in qmake/qtpath without having to keep its own instance. Also there is no need to check setting groups in QLibraryInfo except the 'Paths' group, since this logic belongs to qmake/qtpaths only. Change-Id: If762defba025ad7f7489f8a86ef5768a8628bd2f Reviewed-by:
Alexandru Croitor <alexandru.croitor@qt.io>
-
Jörg Bornemann authored
-
Kai Koehne authored
-
Fabian Kosmale authored
This makes the 5.15 and 6.x branches more comparable, as in 6.0 the preferred way is to use the non-static methods (which avoids an expensive lookup in 6.x). As a drive-by, Avoid memory leaks if the test fails. Pick-to: 6.0 6.1 5.15 Change-Id: I95b133342a4ea19dd23c235a408f38089706412b Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io>
-
Robert Löhning authored
comparison of integers of different signs: 'unsigned int' and 'qsizetype' (aka 'int') [-Wsign-compare] Pick-to: 6.1 Change-Id: Ia27f79ab4abca8b757b65ef5f1d30151842088fe Reviewed-by:
Eirik Aavitsland <eirik.aavitsland@qt.io>
-
Thiago Macieira authored
-
Jörg Bornemann authored
In shadow per-repo builds we never hit the code that is supposed to install cmake/Find*.cmake files. This caused problems when statically building a Qt repo like qtshadertools against qtimageformats which provides such Find*.cmake files. Fixes: QTBUG-91538 Change-Id: I1147daee817ac71303d93e8bf368b2769afb0bb4 Reviewed-by:
Craig Scott <craig.scott@qt.io> Reviewed-by:
Alexandru Croitor <alexandru.croitor@qt.io>
-
Jörg Bornemann authored
Setting a lib infix is not supported with framework builds due to the nature framework of include resolution: includes like <QtCore/qstring.h> won't work if the framework is named QtCoreInfix. The combination framework build and lib infix was agreed on to be out of scope in the comments of QTBUG-35604. Pick-to: 6.1 Change-Id: Ib7c6983f2f64ea1a7cfcd56657d31eeab3f55fe3 Reviewed-by:
Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by:
Tor Arne Vestbø <tor.arne.vestbo@qt.io>
-
Jörg Bornemann authored
QMake user projects could not be built on Windows or iOS if Qt was configured with QT_LIBINFIX set. The code that generates qt_lib_entrypoint_private.pri file did not take into account the lib infix. Pick-to: 6.1 6.0 Fixes: QTBUG-91511 Change-Id: Ibc40548a269238320f8f89a710d10e7f639246cb Reviewed-by:
Alexandru Croitor <alexandru.croitor@qt.io>
-
harfbuzz includes QtCore/qatomic.h. But the Qt headers are expected to be compiled with -Zc:__cplusplus. Change-Id: I28847844e9a00f2b7c84f0d5d7d3257eb22e2e8e Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> Reviewed-by:
Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com>
-
Thiago Macieira authored
Commit 21d39168 added the 64-bit version, so qsizetype now works cross-platform. The casts were added to make qtbase compile on commit df853fed . Change-Id: I26b8286f61534f88b649fffd166c409c5c232230 Reviewed-by:
Mårten Nordheim <marten.nordheim@qt.io>
-
Niclas Rosenvik authored
The change "Enable X11 on other platforms than just Linux" uses qt_set01 in a configure.cmake file but does not add it to the stubs list in QtProcessConfigureArgs.cmake thus breaking builds based on configure. Add a defstub with qt_set01 to fix this. Change-Id: Ia3e0ec61df5228f88f77f631968f6f96d567ec8e Reviewed-by:
Tor Arne Vestbø <tor.arne.vestbo@qt.io>
-
- 16 Mar, 2021 19 commits
-
-
Assam Boudjelthia authored
androiddeployqt relies on *-android-dependencies.xml files to know what dependencies like jar files and permissions a Qt module requires. CMake create those files under Qt prefix's lib dir but CMake was not accounting for module plugins. Fixes: QTBUG-90812 Pick-to: 6.1 6.0 Change-Id: Ib3b2e2bb237159b4851ac0f23dc75f8e56af3f7a Reviewed-by:
Alexandru Croitor <alexandru.croitor@qt.io>
-
Oliver Eftevaag authored
Adding a nullptr check before dereferencing in case q is null. Pick-to: 6.0 6.1 Change-Id: Ia440e2ed41cbaf06a5919930c2e1615bb3916ff3 Reviewed-by:
Volker Hilsheimer <volker.hilsheimer@qt.io>
-
Sona Kurazyan authored
-
Niclas Rosenvik authored
-
Morten Johan Sørvig authored
-
Topi Reinio authored
-
Sona Kurazyan authored
Pick-to: 6.1 6.0 Change-Id: I5f6930116da534dd1dea41c4724c42104de38877 Reviewed-by:
Paul Wicking <paul.wicking@qt.io>
-
Edward Welbourne authored
-
Niclas Rosenvik authored
Set CMake variable X11_SUPPORTED for all systems that have X11. Adjust _adjust_library_map() in util/cmake/helper.py to apply X11_SUPPORTED condition around X11 related packages instead of just LINUX. Adjust configure.cmake in src/gui based on this change. Why, because X11 is not just Linux. Change-Id: Ic3c04eaa55301d1237c7e74281eccd4f8e27e9ce Reviewed-by:
Alexandru Croitor <alexandru.croitor@qt.io>
-
Topi Reinio authored
- Document QIODeviceBase - Document QPointerEvent::points - Fix linking issues Task-number: QTBUG-90662 Change-Id: Ib123d5708953b22e01f95c82626b39a49fff95b2 Reviewed-by:
Nico Vertriest <nico.vertriest@qt.io>
-
Morten Johan Sørvig authored
(For the QT_USE_PHYSICAL_DPI use case) The physical DPI is nominally computed from the physical screen size, however when QT_USE_PHYSICAL_DPI is set that size has typically been overridden with a fake size by the user, such that the resulting DPI calculation will yield some specific integer DPI. Round this DPI value in order to arrive at a nice scale factor, e.g. 144/96 = 1.5 instead of 144.01/96 = 1.5001 Change-Id: I665394e98a818b3a8f46408f3193cac4411f458d Reviewed-by:
Tor Arne Vestbø <tor.arne.vestbo@qt.io>
-
Laszlo Agocs authored
-
Edward Welbourne authored
Follows up on a TODO comment that says QTextStream is less efficient. In any case, QFile has readLine() returning QByteArray, without conversion to QString, and the parsing is uncomplicated. Change-Id: I06e563df417692d3b6514a52a313a0ff55b0b52e Reviewed-by:
Øystein Heskestad <oystein.heskestad@qt.io> Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com>
-
Edward Welbourne authored
UIKeyboardTypeDecimalPad only provides digits and decimal point, no minus sign, but ImhFormattedNumbersOnly is documented to provide a minus sign as well. UIKeyboardTypeNumbersAndPunctuation includes punctuation, which should cover signs as well as decimal separator, so use that - same as for ImhPreferNumbers. A little more permissive than we want here, but that's better than more restrictive ! Fixes: QTBUG-91455 Pick-to: 6.1 6.0 5.15 Change-Id: I0418946014e0a66d503e61704154fd7798a0b785 Reviewed-by:
Tor Arne Vestbø <tor.arne.vestbo@qt.io>
-
Tasuku Suzuki authored
-
Eirik Aavitsland authored
-
Laszlo Agocs authored
Once the deployment target is bumped to 13.0, most guards can be removed. Pick-to: 6.1 Change-Id: I7566a4f2915ada9defa1a4bcee10f75021222b30 Reviewed-by:
Tor Arne Vestbø <tor.arne.vestbo@qt.io>
-
Tasuku Suzuki authored
Change-Id: I38b81ba63612bd90b0a70f6b0c468667581b3c11 Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io>
-
Eirik Aavitsland authored
Fix a potential issue reported by static analysis Change-Id: I41b8eaa3c0840eec054e880c4f3298ee32685b46 Reviewed-by:
Konstantin Ritt <ritt.ks@gmail.com>
-