Commit Graph

8 Commits

Author SHA1 Message Date
Ivan Solovev b5a4074cd7 NdefEditor: fix B2Qt cross-builds on Windows
The example was generating a qml module named NdefEditor and a binary
named ndefeditor. During the build, the build tools create a
subdirectory named after the qml module in the build dir. As a result,
on case-insensitive filesystems (i.e. on Windows) this was leading to a
linker error, because the linker failed to create a binary (since there
already was a directory with the same name).
The issue was only observed during cross-compilation, because native
binaries get the ".exe" suffix.

Fix it by renaming the qml module to NdefEditorModule.

Amends 115b4d947a.

Fixes: QTBUG-133788
Task-number: QTQAINFRA-6985
Pick-to: 6.9 6.9.0 6.8 6.8.3 6.5
Change-Id: I1187474b07fe7c676612e79064f56d6711984c72
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2025-03-18 09:48:30 +00:00
Lucie Gérard 5437416443 Correct license for examples files
According to QUIP-18 [1], all examples and snippets
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: I9a8fdb5308396e63785486291c4dc41cd59c1fe4
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2024-04-04 08:32:24 +01:00
Ievgenii Meshcheriakov 115b4d947a QtNfc: Rewrite NDEF Editor example using Qt Quick Components
This makes the example look more native on mobile platforms.
Leave only the functionality related to reading and writing
of text and URI NDEF records to simplify the code. Removed
functionality includes saving/reading messages to files,
and support for image NDEF records.

Pick-to: 6.5
Fixes: QTBUG-103949
Change-Id: Ie14e3009e2d0238b266eb9690795ca6b56c0010c
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2023-02-08 15:14:00 +01:00
Juha Vuolle d8a290411c Add NFCReaderUsageDescription key to NFC example apps
The key is needed for iOS applications accessing NFC hardware

Change-Id: Icbdd605504b2392934d7edc7f1daa192ffdef1c3
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
2022-06-02 08:48:31 +03:00
Ivan Solovev 5b9d9454d5 NdefEditor: update UI for better usability on mobile platforms
* Add QScroller to grab touch gesture. This allows to avoid aiming to
  the tiny verticall scroll bar, but use simple swipes instead.
* Handle input method visibility change to ensure that the focused
  widget is visible while the keyboard is displayed.
* Correctly scale the image for the MIME record, so that it does not
  cause the whole layout to shirink beyond the screen margins.
* Update the example docs.

Task-number: QTBUG-94033
Pick-to: 6.2
Change-Id: I7ce3fe1f6c573a3ad24da16c7a11508342a2de9d
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
2021-06-14 10:54:54 +02:00
Rainer Keller e0ef4fbc2e qtlite: Skip building examples when configured with no-feature-itemviews
Task-number: QTBUG-53141
Change-Id: Id256f00349d8bee8e4176005eea3bcba595899a2
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
2018-01-12 12:37:21 +00:00
Alex Blasche 6a07037765 Fix make install rules to all examples in QtConnectivity repo
This was highlighted during the testing of the Qt 5.2.0 package.

Change-Id: I94b27f02a6621bccb9f0ce0d0cc184a449014573
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
2013-11-28 15:09:08 +01:00
Jerome Pasion d8a179128c Qt Bluetooth: Modularized documentation
-moved documentation to src/bluetooth/doc
-added a qdocconf file for Qt Bluetooth
-fixed relative paths for snippets
-moved examples to examples/bluetooth

Change-Id: Id41bac50dca628400568d191f1c3ccfbaac790a1
Reviewed-by: Alex <ablasche@gmail.com>
2012-09-27 14:43:52 +02:00