diff --git a/tests/manual/gdbdebugger/helper/helper.pro b/tests/manual/gdbdebugger/helper/helper.pro new file mode 100644 index 0000000000000000000000000000000000000000..57e1272b6554d893ea234b43daf6f75b05c5d696 --- /dev/null +++ b/tests/manual/gdbdebugger/helper/helper.pro @@ -0,0 +1,5 @@ + +TEMPLATE = app + +SOURCES += ../../../../share/qtcreator/gdbmacros/gdbmacros.cpp +SOURCES += main.cpp diff --git a/tests/manual/gdbdebugger/helper/main.cpp b/tests/manual/gdbdebugger/helper/main.cpp new file mode 100644 index 0000000000000000000000000000000000000000..2c00c1278032ac64f67acaef3fe74297719ee043 --- /dev/null +++ b/tests/manual/gdbdebugger/helper/main.cpp @@ -0,0 +1,19 @@ + +#include <QApplication> + +extern "C" +void qDumpObjectData440( + int protocolVersion, + int token, + void *data, + bool dumpChildren, + int extraInt0, + int extraInt1, + int extraInt2, + int extraInt3); + +int main(int argc, char *argv[]) +{ + QApplication app(argc, argv); + return 0; +} diff --git a/tests/manual/gdbdebugger/simple/app.cpp b/tests/manual/gdbdebugger/simple/app.cpp index 3cdc0518db6c994bef9a3f29dfd268bc2ccc9e2a..427cbf452fee6153b115b781928db7b21a6d356d 100644 --- a/tests/manual/gdbdebugger/simple/app.cpp +++ b/tests/manual/gdbdebugger/simple/app.cpp @@ -419,7 +419,7 @@ void testQObject(int &argc, char *argv[]) t += "y"; t += "y"; -/* +#if 1 QObject ob(&app); ob.setObjectName("An Object"); QObject ob1; @@ -434,7 +434,7 @@ void testQObject(int &argc, char *argv[]) obs.append(0); obs.append(&app); ob1.setObjectName("A Subobject"); -*/ +#endif QString str = QString::fromUtf8("XXXXXXXXXXXXXXyyXXX ö"); QLabel l(str); l.show(); diff --git a/tests/manual/gdbdebugger/simple/app/app.pro b/tests/manual/gdbdebugger/simple/app/app.pro index 2210857b6a2cf2a7adaafea0b08f739034cac8df..4de736cad4f9a702f020552f0b6bb8f338186047 100644 --- a/tests/manual/gdbdebugger/simple/app/app.pro +++ b/tests/manual/gdbdebugger/simple/app/app.pro @@ -6,6 +6,7 @@ DESTDIR = .. # Input SOURCES += ../app.cpp +#SOURCES += ../../../../../share/qtcreator/gdbmacros/gdbmacros.cpp QT += network message("this says <foo & bar>")