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:
parent
3726aed788
commit
2f68d08be0
@ -57,8 +57,5 @@ int main(int, char **)
|
|||||||
|
|
||||||
xcb_connection_t *connection = xcb_connect("", &primaryScreen);
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -43,5 +43,9 @@ int main(int, char **)
|
|||||||
{
|
{
|
||||||
int primaryScreen = 0;
|
int primaryScreen = 0;
|
||||||
xcb_connection_t *t = xcb_connect("", &primaryScreen);
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user