Use
Properties {
condition: qbs.targetOS.contains("linux")
cpp.dynamicLibraries: [ "xcb-screensaver", "xcb" ] 
}
instead of this line, so build for mac/win won't be broken