Commit a03ad5ae authored by hjk's avatar hjk
Browse files

debugger: start work on new stand-alone test for debugging helpers

parent c63c9095
TEMPLATE = app
SOURCES += ../../../../share/qtcreator/gdbmacros/gdbmacros.cpp
SOURCES += main.cpp
#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[]) ...@@ -419,7 +419,7 @@ void testQObject(int &argc, char *argv[])
t += "y"; t += "y";
t += "y"; t += "y";
/* #if 1
QObject ob(&app); QObject ob(&app);
ob.setObjectName("An Object"); ob.setObjectName("An Object");
QObject ob1; QObject ob1;
...@@ -434,7 +434,7 @@ void testQObject(int &argc, char *argv[]) ...@@ -434,7 +434,7 @@ void testQObject(int &argc, char *argv[])
obs.append(0); obs.append(0);
obs.append(&app); obs.append(&app);
ob1.setObjectName("A Subobject"); ob1.setObjectName("A Subobject");
*/ #endif
QString str = QString::fromUtf8("XXXXXXXXXXXXXXyyXXX ö"); QString str = QString::fromUtf8("XXXXXXXXXXXXXXyyXXX ö");
QLabel l(str); QLabel l(str);
l.show(); l.show();
......
...@@ -6,6 +6,7 @@ DESTDIR = .. ...@@ -6,6 +6,7 @@ DESTDIR = ..
# Input # Input
SOURCES += ../app.cpp SOURCES += ../app.cpp
#SOURCES += ../../../../../share/qtcreator/gdbmacros/gdbmacros.cpp
QT += network QT += network
message("this says <foo & bar>") message("this says <foo & bar>")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment