qt5base-lts/tests/auto/corelib
David Faure 574e5cf9c5 Add qunsetenv(), next to qputenv() and friends.
The existing tst_qgetputenv shows that qputenv with an empty value
doesn't lead to the same result on Windows and on Unix, and there was
no way to fully delete an env var on Unix (which is needed for some
env vars where not-set and empty are different, such as TZ,
see `man tzset`).
This is also why qglobal has qEnvironmentVariableIsSet() vs
qEnvironmentVariableIsEmpty(), on the getter side.

Qt4's ifdefs around unsetenv in qapplication_x11.cpp show that this is
needed within Qt too (although this particular startup notification code
has to be re-imported into Qt5 still).

Change-Id: I631c8cddbcf933d4b9008f11aefc59f5a3c7c866
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2013-02-07 01:22:40 +01:00
..
animation Merge remote-tracking branch 'origin/stable' into dev 2013-01-22 18:40:13 +01:00
codecs Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
global Add qunsetenv(), next to qputenv() and friends. 2013-02-07 01:22:40 +01:00
io Merge "Merge remote-tracking branch 'origin/stable' into dev" into refs/staging/dev 2013-01-29 11:33:35 +01:00
itemmodels Update roleNames in QAbstractProxyModel if sourceModel resets. 2013-01-30 15:17:05 +01:00
json Add toJson() formatting argument to QJsonDocument interface 2013-01-26 03:09:27 +01:00
kernel Add qDegreesToRadians and qRadiansToDegrees math functions 2013-02-05 14:40:14 +01:00
mimetypes Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
plugin Merge "Merge remote-tracking branch 'origin/stable' into dev" into refs/staging/dev 2013-01-23 22:12:54 +01:00
statemachine Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
thread Remove QT_{BEGIN,END}_HEADER macro usage 2013-01-29 01:06:04 +01:00
tools QRegularExpression: add method for extracting the capturing group names 2013-02-05 13:46:25 +01:00
xml Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00