diff --git a/tests/auto/debugger/tst_gdb.cpp b/tests/auto/debugger/tst_gdb.cpp index 5c15165121d..dfa14e1285e 100644 --- a/tests/auto/debugger/tst_gdb.cpp +++ b/tests/auto/debugger/tst_gdb.cpp @@ -3616,6 +3616,7 @@ void breaker() {} int main(int argc, char *argv[]) { + char *x = argv[0]; #ifdef QT_GUI_LIB QApplication app(argc, argv); #else