diff options
author | Kimmo Ollila <kimmo.ollila@qt.io> | 2017-01-13 05:13:24 +0200 |
---|---|---|
committer | Kimmo Ollila <kimmo.ollila@theqtcompany.com> | 2017-01-18 13:04:38 +0000 |
commit | daf2aa0047772acb294f795d70aabdd5c58765bf (patch) | |
tree | f7167f02074aaa734f7620868ec698573c20579b /config.tests | |
parent | d3eec168623f91a1df3a3f0de306a61294838777 (diff) |
Add eglfs-viv support for INTEGRITY
Change-Id: I5ea23eeac930dcc628047e3322061d543bddb643
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Nikola Velinov <nvelinov@ghs.com>
Diffstat (limited to 'config.tests')
-rw-r--r-- | config.tests/qpa/eglfs-viv/eglfs-viv.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config.tests/qpa/eglfs-viv/eglfs-viv.cpp b/config.tests/qpa/eglfs-viv/eglfs-viv.cpp index e6e17919dc..1f5c5dbf50 100644 --- a/config.tests/qpa/eglfs-viv/eglfs-viv.cpp +++ b/config.tests/qpa/eglfs-viv/eglfs-viv.cpp @@ -42,8 +42,12 @@ int main(int, char **) { +#if defined(__INTEGRITY) + fbGetDisplay(); +#else // Do not rely on fbGetDisplay() since the signature has changed over time. // Stick to fbGetDisplayByIndex(). fbGetDisplayByIndex(0); +#endif return 0; } |