summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@qt.io>2017-08-01 18:40:10 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2017-08-02 16:37:40 +0000
commit90588d57d71e1eedf6becd3ebf505f3bd67b592b (patch)
treecbb29a84ad7df282c0aaaafa044f636440321524
parent92ff8a25005f21c36398ab72e6b00a92183338be (diff)
configure: remove redundant parts of xcb_xkb test
testing the non-xkb xcb parts is unnecessary, as we already did that separately. Change-Id: I452cc746315117a0169f0e0c764fe7e0229437e9 Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
-rw-r--r--config.tests/qpa/xcb-xkb/xcb-xkb.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/config.tests/qpa/xcb-xkb/xcb-xkb.cpp b/config.tests/qpa/xcb-xkb/xcb-xkb.cpp
index 9685649633..f7ec9a7d43 100644
--- a/config.tests/qpa/xcb-xkb/xcb-xkb.cpp
+++ b/config.tests/qpa/xcb-xkb/xcb-xkb.cpp
@@ -37,8 +37,6 @@
**
****************************************************************************/
-#include <xcb/xcb.h>
-
// This is needed to make Qt compile together with XKB. xkb.h is using a variable
// which is called 'explicit', this is a reserved keyword in c++ */
#define explicit dont_use_cxx_explicit
@@ -47,15 +45,8 @@
int main(int, char **)
{
- int primaryScreen = 0;
-
- xcb_connection_t *connection = xcb_connect("", &primaryScreen);
-
// This takes more arguments in xcb-xkb < 1.10.
xcb_xkb_get_kbd_by_name_unchecked(NULL, 0, 0, 0, 0);
- // This won't compile unless libxcb >= 1.5 which defines XCB_ATOM_PRIMARY.
- int xcbAtomPrimary = XCB_ATOM_PRIMARY;
-
return 0;
}