diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2018-02-19 12:34:04 +0100 |
---|---|---|
committer | Johan Helsing <johan.helsing@qt.io> | 2018-02-20 09:22:51 +0000 |
commit | ddf6f57f212da5555d799d9f3ac9faff093891d0 (patch) | |
tree | 8c980ece3de6c309d3f8178e13c113d417a7399f /mkspecs | |
parent | 093d85393fbacf68028e3b5fd39329878757d603 (diff) |
xcb: Fix -geometry argument for platformName with arguments or fallbacks
-geometry, -title and -icon for xcb did not work if the platform string had
arguments or there were fallback platforms.
Only accept the arguments if xcb is the default platform. I.e. ignore the
arguments if xcb is a fallback.
This now works:
./application -platform "xcb:someArg=value" -title specialXcbTitle
./application -platform "xcb;wayland" -title specialXcbTitle
./application -platform "xcb:someArg=value;wayland" -title specialXcbTitle
But this does not:
./application -platform "wayland;xcb:someArg=value" -title specialXcbTitle
Change-Id: I4ee20b1ed722bc98417a5e75db7d8c98ffcdfcfe
Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions