The Q_OS_UNIX macro is inappropriate because many UNIX-like platforms may lack backtrace support in the libc. E.g.: Darwin / Mac OS X, Musl libc, OpenBSD, OpenIndiana.