qt5base-lts/tests/auto/corelib/io
Jonathan Ketchker 55f0738f16 Add StateLocation & GenericStateLocation to StandardLocation
The latest XDG spec (0.8) defines XDG_STATE_HOME that does not exist
in QStandardPaths::StandardLocation.

Some Linux distributions clean XDG_CACHE_HOME on restart which makes
XDG_STATE_HOME useful as a path for saving application state.

This commit adds StateLocation and GenericStateLocation to serve as a
StandardLocation for XDG_STATE_HOME for all platforms.

This commit also updates docs and tests to fit the new changes.

[ChangeLog][QStandardPaths] Added StateLocation &
GenericStateLocation to StandardLocation

Change-Id: I470602466c37f085062cc64d15ea243711728fa5
Reviewed-by: David Faure <david.faure@kdab.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2023-09-07 01:17:13 +03:00
..
largefile CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qabstractfileengine tst_QAbstractFileEngine: compile with QT_NO_FOREACH 2023-08-19 16:28:33 +03:00
qbuffer CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qdataurl CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qdebug cmake: Enable Objective-C++ language for standalone test projects 2023-08-01 20:42:30 +02:00
qdir tst_QDir: compile with QT_NO_FOREACH 2023-08-19 16:28:53 +03:00
qdiriterator tst_QDirIterator: build with QT_NO_FOREACH 2023-08-19 16:29:03 +03:00
qfile tst_QFile: extend virtualFile() to test in unbuffered mode too 2023-08-25 15:54:15 -07:00
qfileinfo tst_QFileInfo: don't trigger libstdc++ std::filesystem bug 2023-09-01 13:05:45 -07:00
qfileselector tests/auto/*: port Q_FOREACH to ranged-for 2023-08-19 16:29:09 +03:00
qfilesystementry CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qfilesystemmetadata CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qfilesystemwatcher tests/auto/: port Q_FOREACH to ranged-for, local const containers 2023-08-19 16:29:25 +03:00
qiodevice CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qipaddress CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qlockfile Mark all of Qt as free of Q_FOREACH, except where it isn't 2023-08-19 05:19:42 +00:00
qloggingcategory CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qloggingregistry CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qnodebug CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qprocess QProcess/Unix: add a simple way to reset the UID and GID for the child 2023-07-08 15:03:23 -07:00
qprocess-noapplication CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qprocessenvironment CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qresourceengine CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qsavefile CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qsettings Main thread-proxy localStorage oprations in native WASM QSettings 2023-08-28 17:53:29 +02:00
qstandardpaths Add StateLocation & GenericStateLocation to StandardLocation 2023-09-07 01:17:13 +03:00
qstorageinfo tst_QStorageInfo: compile with QT_NO_FOREACH 2023-08-19 16:29:40 +03:00
qtemporarydir tst_QTemporaryDir/File: compile with QT_NO_FOREACH 2023-08-19 16:29:47 +03:00
qtemporaryfile tst_QTemporaryDir/File: compile with QT_NO_FOREACH 2023-08-19 16:29:47 +03:00
qurl CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qurlinternal CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qurlquery CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qurluts46 CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qzip CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
CMakeLists.txt Move QZipReader/Writer from QtGui to QtCore 2023-04-26 12:01:05 +02:00