qt5base-lts/examples
Assam Boudjelthia 381612f794 Image Gestures Example: use QFileInfo for images file names
The example keeps around image file names only and append
them to the selected dir path, that works fine for file
scheme files, but for Android with content scheme files,
that doesn't work as good because usually the paths are
returned by a provider and managing them manually like
appending a file name to a directory (tree) path might not
work.

This patch retrieves QFileInfo objects and use the absolute
file paths to open any image.

Pick-to: 6.6 6.5 6.2
Fixes: QTBUG-116181
Change-Id: I9911a181d92ba0452500398cbe052b9583bd79a0
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
2023-08-31 22:11:51 +00:00
..
aggregate install a sane top-level examples.pro file 2012-12-11 13:37:57 +01:00
corelib Exclude some examples from Android build 2023-08-28 16:00:45 +03:00
dbus Exclude some examples from Android build 2023-08-28 16:00:45 +03:00
embedded Examples: Remove unnecessary Q_INIT_RESOURCE calls 2023-06-08 16:15:02 +00:00
gui Doc: Add \examplecategory to qtgui 2023-08-28 13:49:36 +02:00
network Exclude some examples from Android build 2023-08-28 16:00:45 +03:00
opengl Docs: Add link to OPenGL examples to OpenGL index 2023-06-30 18:46:55 +02:00
qmake examples: port qmake examples to new connection style 2022-12-21 22:52:17 +02:00
qtconcurrent Rework imagescaling example to avoid potential crashes 2023-04-26 19:27:30 +02:00
qtestlib Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
sql Doc: Add remaining SQL examples to Data Processing & I/O category 2023-07-13 16:19:05 +02:00
vulkan Doc: Add \examplecategory to qtgui 2023-08-28 13:49:36 +02:00
widgets Image Gestures Example: use QFileInfo for images file names 2023-08-31 22:11:51 +00:00
xml Add missing \l to DOM bookmarks example 2023-07-25 12:31:04 +02:00
CMakeLists.txt Move qpa examples to manual tests 2023-06-26 20:47:45 +02:00
examples.pro Move qpa examples to manual tests 2023-06-26 20:47:45 +02:00
README Remove more references to demos. 2011-07-08 15:36:26 +02:00

Qt is supplied with a number of example applications that have been
written to provide developers with examples of the Qt API in use,
highlight good programming practice, and showcase features found in each of
Qt's core technologies.


Documentation for examples can be found in the Examples section
of the Qt documentation.