qt5base-lts/tests/auto/corelib/global
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
..
q_func_info Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qflags Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qgetputenv Add qunsetenv(), next to qputenv() and friends. 2013-02-07 01:22:40 +01:00
qglobal Merge remote-tracking branch 'origin/stable' into dev 2013-01-22 18:40:13 +01:00
qglobalstatic Add a new Q_GLOBAL_STATIC implementation 2013-01-22 17:15:58 +01:00
qlogging Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qnumeric Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qrand Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtendian Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
global.pro Enable endianness conversions on q(u)int8 2012-03-25 13:12:24 +02:00