Commit 3ba3f335 authored by Friedemann Kleint's avatar Friedemann Kleint Committed by Bill King

Fix Valgrind test compilation.

Change-Id: I13dfc18d1b283af610edba4f40515aef01001d92
Reviewed-on: http://codereview.qt.nokia.com/2781Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarBill King <bill.king@nokia.com>
parent 1f13482f
QT *= network
INCLUDEPATH *= $$PWD
HEADERS += \
$$PWD/xmlprotocol/frame.h \
$$PWD/xmlprotocol/parser.h \
$$PWD/xmlprotocol/error.h \
$$PWD/xmlprotocol/status.h \
$$PWD/xmlprotocol/suppression.h \
$$PWD/xmlprotocol/threadedparser.h \
$$PWD/xmlprotocol/announcethread.h \
$$PWD/xmlprotocol/stack.h \
$$PWD/xmlprotocol/errorlistmodel.h \
$$PWD/xmlprotocol/stackmodel.h \
$$PWD/xmlprotocol/modelhelpers.h \
$$PWD/callgrind/callgrindparser.h \
$$PWD/callgrind/callgrindparsedata.h \
$$PWD/callgrind/callgrindfunction.h \
$$PWD/callgrind/callgrindfunction_p.h \
$$PWD/callgrind/callgrindfunctioncycle.h \
$$PWD/callgrind/callgrindfunctioncall.h \
$$PWD/callgrind/callgrindcostitem.h \
$$PWD/callgrind/callgrinddatamodel.h \
$$PWD/callgrind/callgrindcallmodel.h \
$$PWD/callgrind/callgrindcontroller.h \
$$PWD/callgrind/callgrindcycledetection.h \
$$PWD/callgrind/callgrindproxymodel.h \
$$PWD/callgrind/callgrindstackbrowser.h \
$$PWD/callgrind/callgrindrunner.h \
$$PWD/memcheck/memcheckrunner.h \
$$PWD/valgrindrunner.h \
$$PWD/valgrindprocess.h
SOURCES += $$PWD/xmlprotocol/error.cpp \
$$PWD/xmlprotocol/frame.cpp \
$$PWD/xmlprotocol/parser.cpp \
$$PWD/xmlprotocol/status.cpp \
$$PWD/xmlprotocol/suppression.cpp \
$$PWD/xmlprotocol/threadedparser.cpp \
$$PWD/xmlprotocol/announcethread.cpp \
$$PWD/xmlprotocol/stack.cpp \
$$PWD/xmlprotocol/errorlistmodel.cpp \
$$PWD/xmlprotocol/stackmodel.cpp \
$$PWD/xmlprotocol/modelhelpers.cpp \
$$PWD/callgrind/callgrindparser.cpp \
$$PWD/callgrind/callgrindparsedata.cpp \
$$PWD/callgrind/callgrindfunction.cpp \
$$PWD/callgrind/callgrindfunctioncycle.cpp \
$$PWD/callgrind/callgrindfunctioncall.cpp \
$$PWD/callgrind/callgrindcostitem.cpp \
$$PWD/callgrind/callgrinddatamodel.cpp \
$$PWD/callgrind/callgrindcallmodel.cpp \
$$PWD/callgrind/callgrindcontroller.cpp \
$$PWD/callgrind/callgrindcycledetection.cpp \
$$PWD/callgrind/callgrindproxymodel.cpp \
$$PWD/callgrind/callgrindrunner.cpp \
$$PWD/callgrind/callgrindstackbrowser.cpp \
$$PWD/memcheck/memcheckrunner.cpp \
$$PWD/valgrindrunner.cpp \
$$PWD/valgrindprocess.cpp
TEMPLATE = subdirs
SUBDIRS += callgrindparsertests.pro modeltest.pro
SUBDIRS += callgrindparsertests.pro
# modeltest.pro not compiling due to missing widget handler.
include(../../auto/qttest.pri)
include(../../../src/libs/valgrind/valgrind.pri)
include($$IDE_SOURCE_TREE/src/plugins/valgrind/valgrind_test.pri)
include($$IDE_SOURCE_TREE/src/libs/utils/utils.pri)
TARGET = callgrindparsertests
......
......@@ -51,10 +51,9 @@
#include <QtGui/QDockWidget>
#include <QtGui/QToolButton>
#include <callgrind/callgrindcostview.h>
#include <callgrind/callgrindcostdelegate.h>
#include <callgrind/callgrindvisualisation.h>
#include <callgrind/callgrindwidgethandler.h>
#include <callgrindcostview.h>
#include <callgrindcostdelegate.h>
#include <callgrindvisualisation.h>
#include <valgrind/callgrind/callgrindparsedata.h>
#include <valgrind/callgrind/callgrindparser.h>
......
include(../../../qtcreator.pri)
include(../../auto/qttestrpath.pri)
include($$IDE_SOURCE_TREE/src/plugins/callgrind/callgrind.pri)
include($$IDE_SOURCE_TREE/src/plugins/valgrind/valgrind_test.pri)
include($$IDE_SOURCE_TREE/src/libs/languageutils/languageutils.pri)
TEMPLATE = app
......@@ -13,21 +13,21 @@ SRCDIR = $$IDE_SOURCE_TREE/src
SOURCES += \
modeltest.cpp \
$$SRCDIR/plugins/callgrind/callgrindcostdelegate.cpp \
$$SRCDIR/plugins/callgrind/callgrindhelper.cpp \
$$SRCDIR/plugins/callgrind/callgrindcostview.cpp \
$$SRCDIR/plugins/callgrind/callgrindnamedelegate.cpp \
$$SRCDIR/plugins/callgrind/callgrindwidgethandler.cpp \
$$SRCDIR/plugins/callgrind/callgrindvisualisation.cpp \
$$SRCDIR/plugins/valgrind/callgrindcostdelegate.cpp \
$$SRCDIR/plugins/valgrind/callgrindhelper.cpp \
$$SRCDIR/plugins/valgrind/callgrindcostview.cpp \
$$SRCDIR/plugins/valgrind/callgrindnamedelegate.cpp \
$$SRCDIR/plugins/valgrind/callgrindwidgethandler.cpp \
$$SRCDIR/plugins/valgrind/callgrindvisualisation.cpp \
HEADERS += \
modeltest.h \
$$SRCDIR/plugins/callgrind/callgrindcostdelegate.h \
$$SRCDIR/plugins/callgrind/callgrindcostview.h \
$$SRCDIR/plugins/callgrind/callgrindhelper.h \
$$SRCDIR/plugins/callgrind/callgrindnamedelegate.h \
$$SRCDIR/plugins/callgrind/callgrindwidgethandler.h \
$$SRCDIR/plugins/callgrind/callgrindvisualisation.h \
$$SRCDIR/plugins/valgrind/callgrindcostdelegate.h \
$$SRCDIR/plugins/valgrind/callgrindcostview.h \
$$SRCDIR/plugins/valgrind/callgrindhelper.h \
$$SRCDIR/plugins/valgrind/callgrindnamedelegate.h \
$$SRCDIR/plugins/valgrind/callgrindwidgethandler.h \
$$SRCDIR/plugins/valgrind/callgrindvisualisation.h \
LIBS += -L$$IDE_PLUGIN_PATH/Nokia
......
......@@ -2,7 +2,8 @@ include(../../../qtcreator.pri)
include(../../auto/qttestrpath.pri)
include($$IDE_SOURCE_TREE/src/libs/3rdparty/botan/botan.pri)
include($$IDE_SOURCE_TREE/src/libs/utils/utils.pri)
include($$IDE_SOURCE_TREE/src/libs/valgrind/valgrind.pri)
include($$IDE_SOURCE_TREE/src/plugins/valgrind/valgrind_test.pri)
TEMPLATE = app
TARGET = modeldemo
......
include(../../auto/qttest.pri)
include($$IDE_SOURCE_TREE/src/libs/3rdparty/botan/botan.pri)
include($$IDE_SOURCE_TREE/src/libs/utils/utils.pri)
include($$IDE_SOURCE_TREE/src/libs/valgrind/valgrind.pri)
include($$IDE_SOURCE_TREE/src/plugins/valgrind/valgrind_test.pri)
TARGET = parsertests
......
include(../../auto/qttest.pri)
include($$IDE_SOURCE_TREE/src/libs/utils/utils.pri)
include($$IDE_SOURCE_TREE/src/libs/3rdparty/botan/botan.pri)
include($$IDE_SOURCE_TREE/src/libs/valgrind/valgrind.pri)
include($$IDE_SOURCE_TREE/src/plugins/valgrind/valgrind_test.pri)
TARGET = testrunner
......
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