Changeset 100652 in vbox
- Timestamp:
- Jul 19, 2023 2:27:22 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/main.cpp
r100069 r100652 397 397 break; 398 398 VBGHDISPLAYSERVERTYPE enmDisplayServerType = VBGHDisplayServerTypeDetect(); 399 /* Default to X11 if anything else was found: */ 399 /* Abort before instantiating QApplication in case no active display server can be found to 400 * prevent QApplication from aborting: */ 400 401 if (enmDisplayServerType == VBGHDISPLAYSERVERTYPE_NONE) 401 enmDisplayServerType = VBGHDISPLAYSERVERTYPE_X11; 402 { 403 iResultCode = 1; 404 Log(("We could not detect an active display server. Exiting.")); 405 RTStrmPrintf(g_pStdErr, "No active display server, X11 or Wayland, detected. Exiting.\n"); 406 break; 407 } 402 408 if (VBGHDisplayServerTypeIsXAvailable(enmDisplayServerType)) 403 409 /* Force using Qt platform plugin 'xcb', we have X11 specific code: */
Note:
See TracChangeset
for help on using the changeset viewer.