summaryrefslogtreecommitdiffstats
path: root/examples/opengl/contextinfo/widget.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2016-04-05 11:26:20 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2016-04-23 06:12:24 +0000
commitab83912c7900805987f7efe38cee2c60baf5f315 (patch)
treee44b7aa9dd0be3c55416de8312e21c9aea680ae7 /examples/opengl/contextinfo/widget.cpp
parent759b3f49c52c69f0a3ea2df014afbd3259e2bb83 (diff)
Windows/QProcess::startDetached(): Fall back to ShellExecuteEx() for UAC prompt.
When running a process that requires elevated privileges (such as regedt32 or an installer), the Win32 API CreateProcess fails with error ERROR_ELEVATION_REQUIRED. Fall back to ShellExecuteEx() using the verb "runas" in that case, bringing up the UAC prompt. Task-number: QTBUG-7645 Change-Id: Iee82a86a30f78c5a49246d2c0d4566306f3afc71 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'examples/opengl/contextinfo/widget.cpp')
0 files changed, 0 insertions, 0 deletions