diff options
author | Andreas Holzammer <andreas.holzammer.qnx@kdab.com> | 2012-08-09 13:02:44 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-14 10:07:14 +0200 |
commit | 0b0e28997d5c0ec6fbffa839b0ceb57b55104f9c (patch) | |
tree | ba87e9d3871390671d76e13409af62a13f5a8ac4 /src/corelib/global/qnamespace.h | |
parent | 82f460b0d325bb3b1a37ff5bc5f08fffe2a9ece1 (diff) |
(QNX) Make it possible to set physical screen size
It can happen that the system is reporting a screen
width or height of zero, if the system does not know the
size instead of returning an error. You can either
set a define QQNX_PHYSICAL_SCREEN_WIDTH/QQNX_PHYSICAL_SCREEN_HEIGHT
or set it as environment variable QQNX_PHYSICAL_SCREEN_SIZE.
The preference order is:
1) Take detected size
2) Take size from env var
3) Take defined size if any define is set
Change-Id: I493a2c8988a225224587a6c323efeb9e9b7b5a54
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/corelib/global/qnamespace.h')
0 files changed, 0 insertions, 0 deletions