Qt: Fix build if USE_GDB_STUB is disabled