forked from qt-creator/qt-creator
debugger: start work on new stand-alone test for debugging helpers
This commit is contained in:
5
tests/manual/gdbdebugger/helper/helper.pro
Normal file
5
tests/manual/gdbdebugger/helper/helper.pro
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
TEMPLATE = app
|
||||
|
||||
SOURCES += ../../../../share/qtcreator/gdbmacros/gdbmacros.cpp
|
||||
SOURCES += main.cpp
|
19
tests/manual/gdbdebugger/helper/main.cpp
Normal file
19
tests/manual/gdbdebugger/helper/main.cpp
Normal file
@@ -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;
|
||||
}
|
@@ -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();
|
||||
|
@@ -6,6 +6,7 @@ DESTDIR = ..
|
||||
|
||||
# Input
|
||||
SOURCES += ../app.cpp
|
||||
#SOURCES += ../../../../../share/qtcreator/gdbmacros/gdbmacros.cpp
|
||||
QT += network
|
||||
|
||||
message("this says <foo & bar>")
|
||||
|
Reference in New Issue
Block a user