Function qt_core::q_environment_variable_is_empty
source · pub unsafe fn q_environment_variable_is_empty(var_name: *const c_char) -> bool
Expand description
Returns whether the environment variable varName is empty.
Calls C++ function: bool qEnvironmentVariableIsEmpty(const char* varName)
.
Returns whether the environment variable varName is empty.
Equivalent to
qgetenv(varName).isEmpty()
except that it's potentially much faster, and can't throw exceptions.
This function was introduced in Qt 5.1.
See also qgetenv() and qEnvironmentVariableIsSet().