| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
[ChangeLog][Third-Party Code] Add attribution for
Android getRotationMatrix and getOrientation code, copied from Android
sources under Apache-2.0. This code is only used on Android, as part of
the Android Sensor plugin.
Pick-to: 6.2 6.5 6.7
Task-number: QTBUG-110806
Change-Id: I4074e72b7ba8a8b77406d5bf07667560ec64abb5
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
According to QUIP-18 [1], all example and snippet files 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: Id774a0d7afd03c06bc8598fe929c7021d9b2fb7e
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
According to QUIP-18 [1], all tool files should be
LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
[1]: https://contribute.qt-project.org/quips/18
Task-number: QTBUG-121787
Change-Id: Iac56dce5ddef4685563dd092d23cfe7497d3ae24
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Explicitly specify the underlying type of the Feature enum, so that
QML does not need to guess it.
- Use Q_REVISION macro on a new Q_INVOKABLE method.
Amends f5eae761742c9099b9a8226c11559e61fc63de15
Found during 6.7 QML API review
Pick-to: 6.7
Change-Id: I8fb3d8627a2908a828c98c4b6931a391e339978d
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-117983
Change-Id: I4f46c8b8d3d188296e45ec8c468dc3e33b823848
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
| |
Task-number: QTBUG-117983
Change-Id: I8360b44a9074fa8ad0cb99a95ff032a1e1f77c39
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Checking if a specific feature is supported by the backend is now
available from QML.
[ChangeLog][QmlSensor] Add QmlSensor::isFeatureSupported().
Fixes: QTBUG-97273
Change-Id: I0ec71fa51c792afc4b6b6191b85910095d2b87a2
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
|
|
|
|
|
|
|
|
| |
Task-number: QTBUG-117209
Pick-to: 6.6
Change-Id: I07b6b2ec95c7f497f3cdebfae2c007dc4e6783a9
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
Reviewed-by: Dennis Oberst <dennis.oberst@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
The implicit include through QJniObject is gone in qtbase, adapt to
that.
Change-Id: I3eec44c79b31d2c98ff7f52737e2353a8c85ccd3
Reviewed-by: Zoltan Gera <zoltan.gera@qt.io>
Reviewed-by: Petri Virkkunen <petri.virkkunen@qt.io>
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
That we have two macros to declare a C++ type to represent a Java class
is confusing. The TYPE macro as of now allows us to declare array types,
but with QJniArray we won't need that anymore, and can just use Class[]
as the type instead. Changing that will be a follow-up commit; for now,
get rid of TYPE-usages to declare regular classes.
Change-Id: I46956bfe1feb658f908a039eb1fb6f6bfde79799
Reviewed-by: Zoltan Gera <zoltan.gera@qt.io>
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
By adding it to the default build flags via .cmake.conf.
This amends commit 2c723b6af7ac6c359916dcd240b1f57057871321.
Task-number: QTBUG-116296
Change-Id: Ic485c2f4596f77f59928df960050421d2d08748f
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This disables the 3-arg QObject::connect() overload:
QObject::connect(sender, signal, functor)
For details see:
https://lists.qt-project.org/pipermail/development/2023-July/044141.html
Change-Id: I9e068cacae63f4a5594d712c4fbff25e380da55c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The autogenerated list of overviews was adding the \group command which
included all the groups instead of overviews.
The idea here is to categorize the overviews later on once we have
the list of all overviews.
Task-number: QTBUG-114762
Pick-to: 6.5 6.6
Change-Id: Iab8b6c00f38f0741e200756a178b901f1d195c4f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-115044
Pick-to: 6.5 6.6
Change-Id: Ib32136b1946c9f6cd9278599515d751eec4e1c79
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The most common limit for the maximum number of allowed documentation
warnings is zero. As all Qt module docs include() a common configuration
from qtbase, it's better to control the base warninglimit from a central
location in qtbase/doc/global.
This allows for a temporary increase of the limit across all modules as
needed - for example, when updating the QDoc binary that the CI
provisions to a version that introduces new types of documentation
warnings.
Task-number: QTBUG-113326
Change-Id: I9a55264f38c56a3f95971dc43392128b9c95b413
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
|
|
|
|
| |
qt_configure_add_report is an internal macro that is supposed to be
used implicitly. Use the qt_configure_add_report_entry instead.
Pick-to: 6.6 6.5 6.2
Change-Id: I32b427533e19a2dddf10de446a66908e93f0d187
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QDoc provides a "\raw" command that allows a user to inject
format-specific code that complements the code that QDoc generates.
The "\raw" command expect the user to provide a "format" argument to
ensure that the provided code is generated only for the format that is
written for.
Due to a bug in QDoc DocBook generation, the DocBook documentation was
generating, sometimes incorrectly, "\raw" commands intended for the HTML
format.
The Qt Sensors documentation uses the "\raw HTML" commands to
provide some custom-colored table.
Due to the aforementioned bug, QDoc was generating some equivalent code
for DocBook, albeit no user-provided DocBook equivalent existed.
As the bug is now being fixed, the DocBook documentation for Sensors
will lose the custom-colored table in its output.
To preserve the custom-colored table when generating the DocBook
documentation, an equivalent "\raw DocBook" command is now provided.
Change-Id: I249dec021719d1f7823e813b67e4de5ce93b49a6
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
|
|
|
|
|
|
|
|
| |
Documentation for creating your own sensors
Task-number: QTBUG-111251
Change-Id: Ia747995cff99ba34a41ede4125a433fd7952b628
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The dummy plugin appears to have adverse effects on performance on
linux. It causes constant CPU usage in for example KDE's background
daemon, without having any use. The condition should be fixed to only
build when dummy was explicitly enabed.
Pick-to: 6.5 6.2
Fixes: QTBUG-113435
Change-Id: If10750fb08b1537b0108f09f23cff6af10c33c31
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
`dbusPath()` is defined in several places, and it seems to me that it
can be implemented as a private static data member. When resolved, we
can remove these files from the exclusion list.
Pick-to: 6.5
Task-number: QTBUG-109394
Change-Id: I1f4290fb8495ce1f1c941a46240b60c8fed4bbe4
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was colliding with a similarly named typedef in
`winrtrotationsensor.cpp` and it seems to me that the name should have
been GyrometerReadingHandler in the first place.
This was causing issue for unity build.
Pick-to: 6.5
Task-number: QTBUG-109394
Change-Id: I721740caaf994ccf5514cbdc93371a3443378270
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
This was previously illustrated by the sensor_explorer example, which
is now a manual test.
Task-number: QTBUG-110939
Pick-to: 6.5
Change-Id: Id5dceb8bdb5833ebb69818146d163200a93a52e0
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The example is useful as a sensor testing tool, but less necessary
as an example. The primary demonstrative element of the example was
how to iterate the available sensors, which is covered in a
documentation snippet (followup commit).
This commit also renames the pre-existing widget-based sensor_explorer
manual test to avoid name conflicts, as well as removes the qdoc and qmake
support from the now-a-manual-test application.
Task-number: QTBUG-110939
Pick-to: 6.5
Change-Id: I422f62f852d0a7e40a76f555ec8aa98404164f7a
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The primary purpose of the grue example is to demonstrate how to create
new sensors. However, while a nice implementation, it doesn't achieve
this purpose particularly well, and is all in all an overly complex
construct given the straightforward purpose (for instance causing build
and deployment challenges).
Instead it should be replaced with a tutorial-like step-by-step guide
on how to add new sensors. The item to track this: QTBUG-111251
Task-number: QTBUG-110939
Pick-to: 6.5
Change-Id: If353fd019483ad3d608f16d90820c09e676f1df1
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-106533
Change-Id: I1fa3e75b5be433184c9259935ffb843f21676e48
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
|
|
|
|
|
|
|
|
| |
The table is written as raw HTML, which allows for this kind of
mistake.
Change-Id: I011009fb6eb3a03b979e9a2cb2db98e5e8ba297f
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Deliberately omitted:
- QML interfacing code
- public APIs
- sensorfw, whose code is disabled/not practical to compile,
and whose future is uncertain
Fixes: QTBUG-107069
Change-Id: I84f0adf2f099da616ba6ff496fb84675bc845797
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
As the preferred method. Potentially may be deprecated similar
to QString/QByteArray
Fixes: QTBUG-107068
Change-Id: I0cfc9d7f8e2e450849f1d22c5b98aa353748ecf6
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Support for sensor gestures in their then-current form was removed
in Qt 6 (QTBUG-95747). This commit removes the disabled code. This is
to avoid distraction when keeping the repository up-to-date with rest of
Qt.
The gestures may be reintroduced in some shape or form in the future
(QTBUG-97066). For those reference purposes the old code can be found
in the git history.
Fixes: QTBUG-107065
Change-Id: If2c50171f84d483dde55600422d138d550124bdc
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-105718
Change-Id: I8e1e210b85a5c02947a259edec14a915fa64cfc5
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
| |
Pick-to: 6.4
Fixes: QTBUG-105848
Change-Id: I7240192d3fbb5b881f52ab4b6cf34f924c164f8e
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Qt 6.4 introduced the new facilities to reduce the plain strings
with Android methods/signatures.
Fixes: QTBUG-104185
Change-Id: I28a2d588fdaff2ef6d2e0f55663d741ea6a0c4e5
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: If432c07e9205f97f3c256ca2a8e682478d9dd82c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Replace the current license disclaimer in files by
a SPDX-License-Identifier.
License files are organized under LICENSES directory.
Pick-to: 6.4
Task-number: QTBUG-67283
Change-Id: I114588b3215fecda3a9127931f17a33bd4ef1edb
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove explicit include statement for offline docs; qt-module-defaults
include will pull it in when necessary.
* Replace obsolete selectors with up-to-date ones.
* Add dependency to qtcmake to make linking to CMake manual work.
Pick-to: 6.2 6.3 6.4
Change-Id: I67d15e7ac56dbea0fe0993f4dec36ebdcfe87836
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Using REQUIRED as a prefix instead of suffix works better with
OPTIONAL_COMPONENTS, and is also the order in the CMake manual.
Task-number: QTBUG-98867
Pick-to: 6.3
Change-Id: Id2f92da5ca8319d6e8b6d1b30010199a77c16990
Reviewed-by: Rui Oliveira
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
The extra ".lib" can introduce trouble with static linking as the
lib can become of the form <>.lib.lib in the Makefile
Task-number: QTBUG-102994
Pick-to: 6.2 6.3
Change-Id: I3b1b9490fdca35dfb1e98a396c8a2f573ff5dece
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
| |
Fixes: QTBUG-101931
Change-Id: I2e65f7c50e4b10110c2c1f1776b6e283a2eba04f
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
- Use new global .qdocinc snippets
- Change tables to lists
- Rearrange sections to align with defined template structure
Task-number: QTBUG-100369
Pick-to: 6.3
Change-Id: I5118af7fb82378af3cf9d5db1cb8e651f01a08d1
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
See script in qtbase/util/includeprivate for the rules.
Since these files are being touched anyway, I also ran the
updatecopyright.pl script too.
Change-Id: Ib056b47dde3341ef9a52ffff13ef677e471674b6
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Geomagnetic mode uses the iOS API that results in similar
values on Android and iOS, therefore this should be the
default magnetometer behavior.
[ChangeLog][QMagnetometer] The default magnetometer behavior is changed
to be geomagnetic mode.
Task-number: QTBUG-98978
Pick-to: 6.3
Change-Id: I672c4f3b52c187da8c644e7f20f45dcd740b04b0
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Reviewed-by: Juha Vuolle <juha.vuolle@insta.fi>
|
|
|
|
|
|
|
|
|
|
|
| |
Using startDeviceMotionUpdatesUsingReferenceFrame
instead of startDeviceMotionUpdates that doesn't work
at the moment.
Task-number: QTBUG-98423
Pick-to: 6.2
Change-Id: If680c2246e9f880a0360273f043fd3716a764626
Reviewed-by: Juha Vuolle <juha.vuolle@insta.fi>
|
|
|
|
|
|
|
|
|
| |
It's not longer transitively included by qobject.h
Fixes: QTBUG-98737
Pick-to: 6.2
Change-Id: Ib6eb90926b0c504de20b279d15c06b5adda7e1d5
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
The command-pair was recently deprecated.
The replacement code should produce an output that is equal to the
previous one.
Task-number: QTBUG-98499
Change-Id: I9e0d696b409cbb319afc3fc3b088eadf3815e443
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
|
|
|
|
| |
There was one more after 44a99bb1ba89f959ad98abf6a7399381675358fd.
error: conversion from ‘QList<QPluginParsedMetaData>’ to non-scalar type ‘QList<QJsonObject>’ requested
Change-Id: I89446ea06b5742efb194fffd16b9ffde07d33f04
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-70877
Pick-to: 6.2
Change-Id: Ibff63b412a1cc5a8234d3c7600ec70a717acab7d
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
|
|
|
|
|
| |
Change-Id: Iec8e3b84939776d1f8753d7ba2389add115a1110
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
|
|
|
|
|
|
|
| |
Drop \instantiates entry for QML types that
use a private C++ implementation.
Change-Id: I9e5cc3365fa28351537118e9062341922896bcb6
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Replace the hardcoded cpp exports with a generated one where it's
applicable.
Task-number: QTBUG-90492
Change-Id: I32a7f4aacbba1de145ba295df14d38fa39514eab
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
| |
QFactoryLoader now no longer converts its internal metadata to JSON, so
we may as well not do it here either. All of this is internal API, so we
can change.
Change-Id: I3eb1bd30e0124f89a052fffd16a6f2d82ad568af
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|