build(windows): GUI subsystem so no console opens beside the app
windows_subsystem was declared nowhere, so the app carried a console window on Windows. The file logger is unaffected; only the inherited stdio console goes. The offscreen smoke gate has not run against this yet. If smoke.log comes back empty the fix is AttachConsole(ATTACH_PARENT_PROCESS) behind cfg(windows), not reverting this; there is a note at the attribute saying so. cc
This commit is contained in:
1 file changed
+6
@@ -1,3 +1,9 @@
|
||||
// No console window beside the GUI on Windows (W4). The file logger
|
||||
// (`qbz_log::install`) is unaffected; only the inherited stdio console goes.
|
||||
// If the offscreen smoke ever comes back with an empty log because of this,
|
||||
// the fix is AttachConsole(ATTACH_PARENT_PROCESS), not reverting this.
|
||||
#![cfg_attr(windows, windows_subsystem = "windows")]
|
||||
|
||||
//! qbz-qt — Qt/QML frontend POC entry point.
|
||||
//!
|
||||
//! Phase 1: boot flow (splash -> silent session restore -> shell
|
||||
|
||||
Reference in new issue
Block a user