move xcb 1.5 compile check from qpa/xcb-syslibs to qpa/xcb

the test should be executed in every case. configure's use of pkg-config
implies that intention.

Change-Id: I722c88da5c2a0f2cc1f926d796093b78cd79bea8
Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
This commit is contained in:
Oswald Buddenhagen 2016-06-01 16:51:15 +02:00
parent 3726aed788
commit 2f68d08be0
2 changed files with 4 additions and 3 deletions

View File

@ -57,8 +57,5 @@ int main(int, char **)
xcb_connection_t *connection = xcb_connect("", &primaryScreen);
// This won't compile unless libxcb >= 1.5 which defines XCB_ATOM_PRIMARY.
int xcbAtomPrimary = XCB_ATOM_PRIMARY;
return 0;
}

View File

@ -43,5 +43,9 @@ int main(int, char **)
{
int primaryScreen = 0;
xcb_connection_t *t = xcb_connect("", &primaryScreen);
// This won't compile unless libxcb >= 1.5 which defines XCB_ATOM_PRIMARY.
int xcbAtomPrimary = XCB_ATOM_PRIMARY;
return 0;
}