doc: Explain QT_QPA_PLATFORM for gui tests

This commit is contained in:
MarcoFalke
2019-10-01 16:11:12 -04:00
parent 6e4f655391
commit faccf5f9c8
4 changed files with 7 additions and 7 deletions

View File

@@ -63,7 +63,7 @@ int main(int argc, char *argv[])
#if defined(WIN32)
_putenv_s("QT_QPA_PLATFORM", "minimal");
#else
setenv("QT_QPA_PLATFORM", "minimal", 0);
setenv("QT_QPA_PLATFORM", "minimal", /* overwrite */ 0);
#endif
// Don't remove this, it's needed to access