Behavior is the same as in https://qt.gitorious.org/qt/qtbase/blobs/stable/src/plugins/platforms/xcb/qxcbconnection.cpp#line1114, but I agree that QCA::exit would make more sense.