Qt Installer Framework log file path configuration
19.5K reputation · 02 Jul 2025, 16:31 UTC
Qt Installer Framework Logging
The Qt Installer Framework generates an execution log named installer.log, which is automatically stored in the system's temporary directory. This behavior is critical for diagnosing installation failures in production environments where the temporary directory may be volatile or inaccessible for centralized auditing.
Log Path Constraints
Current framework behavior dictates a fixed location for this log file. In enterprise deployment scenarios, administrators often require the ability to redirect these logs to a specific directory or a network share to ensure persistence and ease of collection across multiple client machines.
There is currently no documented command-line argument or configuration property within the installer metadata to override this default path without modifying the framework source code.
- Target: Qt Installer Framework
- Current behavior: Hardcoded temporary directory path
- Requirement: Centralized or custom log destination
Is there a mechanism to redefine the installer.log destination via configuration files or environment variables? If not, what is the recommended approach for capturing these logs without altering the framework source?