diff options
author | Fredrik Orderud <fredrik.orderud@ge.com> | 2023-01-19 15:30:45 +0100 |
---|---|---|
committer | Fredrik Orderud <fredrik.orderud@ge.com> | 2023-01-23 14:51:17 +0100 |
commit | a1b49152e7a46da955515b8d38d86b947d78bd26 (patch) | |
tree | 7aa1fa7a13c4c4db98e3bffae84acf4151bf1178 /dependencies.yaml | |
parent | 0e15d0ad6bba4cb700b7cd6dc7532933e7981f6f (diff) |
Fix invalid QApplication construction
QApplication construction with argc=0 is incorrect according to the doc.
The construction pattern is furthermore causing problems in QtWebEngine,
which is expecting the executable name as first command-line arguments
as reported in QTBUG-110157.
Fix problem by using the Microsoft-specific __argc and __argv globals.
This ensures that the actual command-line arguments are used for
QApplication construction.
Pick-to: 6.5
Task-number: QTBUG-110158
Change-Id: Ib8e6ac7a1c24cfabfdafe8489fe8b8c4765753fd
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'dependencies.yaml')
0 files changed, 0 insertions, 0 deletions