2 #include <QApplication>
10 #include <QSplashScreen>
13 #if defined(Q_OS_UNIX) && !defined(Q_OS_MACX)
26 int main(
int argc,
char *argv[])
28 #if defined(Q_OS_UNIX) && !defined(Q_OS_MACX)
35 printf(
"App starts\n");
44 if (app->init(app, argc, argv)) {
45 if (app->get_GuiWanted()) {
59 printf(
"App finishes\n");
71 bool printIt = (nObjAlloc != nObjDeleted) || (nDataAlloc != nDataDeleted) || (allocated != 0);
77 printf(
"%d objects allocated\n", nObjAlloc);
78 printf(
"%d objects deleted\n", nObjDeleted);
79 printf(
"%d objects leaked\n", nObjAlloc - nObjDeleted);
81 printf(
"%d data objects allocated\n", nDataAlloc);
82 printf(
"%d data objects deleted\n", nDataDeleted);
83 printf(
"%d data objects leaked\n", nDataAlloc - nDataDeleted);
85 printf(
"%Ld bytes still allocated\n", allocated);
89 if (nObjAlloc != nObjDeleted) {
92 printf(
"%d : %s\n", i++, qPrintable(obj->objectName()));
qint64 qcepDebug(int cond)
static quint64 allocatedMemory()
static int deletedObjects()
int main(int argc, char *argv[])
static int deletedObjects()
static int allocatedObjects()
static QSet< QcepObject * > allocatedObjectsSet()
QSharedPointer< QcepDebugDictionary > g_DebugLevel
static int allocatedObjects()
QSharedPointer< QxrdApplication > QxrdApplicationPtr