Skip to content

Commit

Permalink
QmlDebugging: Remove QQmlDebugClient
Browse files Browse the repository at this point in the history
Remove QQmlDebugClient and relevant classes from the
library and move to client code.

Change-Id: I6f526b3f0c92970dcad5e5abd8585bb9b406349e
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
  • Loading branch information
Aurindam Jana authored and Qt by Nokia committed Mar 9, 2012
1 parent eefbdbf commit 5c7b173
Show file tree
Hide file tree
Showing 30 changed files with 629 additions and 148 deletions.
4 changes: 0 additions & 4 deletions src/qml/debugger/debugger.pri
@@ -1,8 +1,6 @@
SOURCES += \
$$PWD/qpacketprotocol.cpp \
$$PWD/qqmldebugservice.cpp \
$$PWD/qqmldebugclient.cpp \
$$PWD/qqmlenginedebug.cpp \
$$PWD/qqmlprofilerservice.cpp \
$$PWD/qqmldebugserver.cpp \
$$PWD/qqmlinspectorservice.cpp \
Expand All @@ -15,8 +13,6 @@ HEADERS += \
$$PWD/qpacketprotocol_p.h \
$$PWD/qqmldebugservice_p.h \
$$PWD/qqmldebugservice_p_p.h \
$$PWD/qqmldebugclient_p.h \
$$PWD/qqmlenginedebug_p.h \
$$PWD/qqmlprofilerservice_p.h \
$$PWD/qqmldebugserver_p.h \
$$PWD/qqmldebugserverconnection_p.h \
Expand Down
2 changes: 1 addition & 1 deletion tests/auto/qml/debugger/debugger.pro
@@ -1,7 +1,7 @@
TEMPLATE = subdirs

PRIVATETESTS += \
qqmlenginedebug \
qqmlenginedebugservice \
qqmldebugclient \
qqmldebugservice \
qqmldebugjs \
Expand Down
Expand Up @@ -3,14 +3,11 @@ TARGET = tst_qdebugmessageservice
QT += network qml-private testlib
macx:CONFIG -= app_bundle

HEADERS += ../shared/debugutil_p.h

SOURCES += tst_qdebugmessageservice.cpp \
../shared/debugutil.cpp
SOURCES += tst_qdebugmessageservice.cpp

INCLUDEPATH += ../shared

include(../../../shared/util.pri)
include(../shared/debugutil.pri)

TESTDATA = data/*

Expand Down
Expand Up @@ -39,10 +39,10 @@
**
****************************************************************************/

#include <QtQml/private/qqmldebugclient_p.h>
#include "qqmldebugclient.h"

//QQmlDebugTest
#include "../shared/debugutil_p.h"
#include "debugutil_p.h"
#include "../../../shared/util.h"

#include <QtCore/QString>
Expand Down
7 changes: 4 additions & 3 deletions tests/auto/qml/debugger/qpacketprotocol/qpacketprotocol.pro
Expand Up @@ -2,9 +2,10 @@ CONFIG += testcase
TARGET = tst_qpacketprotocol
macx:CONFIG -= app_bundle

HEADERS += ../shared/debugutil_p.h
SOURCES += tst_qpacketprotocol.cpp \
../shared/debugutil.cpp
SOURCES += tst_qpacketprotocol.cpp

INCLUDEPATH += ../shared
include(../shared/debugutil.pri)

CONFIG += parallel_test
QT += qml-private network testlib
Expand Up @@ -48,7 +48,7 @@

#include <private/qpacketprotocol_p.h>

#include "../shared/debugutil_p.h"
#include "debugutil_p.h"

class tst_QPacketProtocol : public QObject
{
Expand Down
7 changes: 4 additions & 3 deletions tests/auto/qml/debugger/qqmldebugclient/qqmldebugclient.pro
Expand Up @@ -2,9 +2,10 @@ CONFIG += testcase
TARGET = tst_qqmldebugclient
macx:CONFIG -= app_bundle

HEADERS += ../shared/debugutil_p.h
SOURCES += tst_qqmldebugclient.cpp \
../shared/debugutil.cpp
SOURCES += tst_qqmldebugclient.cpp

INCLUDEPATH += ../shared
include(../shared/debugutil.pri)

CONFIG += declarative_debug

Expand Down
Expand Up @@ -47,7 +47,7 @@

#include <QtQml/qqmlengine.h>

#include "../shared/debugutil_p.h"
#include "debugutil_p.h"

#define PORT 13770
#define STR_PORT "13770"
Expand Down
8 changes: 3 additions & 5 deletions tests/auto/qml/debugger/qqmldebugjs/qqmldebugjs.pro
Expand Up @@ -3,13 +3,11 @@ TARGET = tst_qqmldebugjs
QT += qml-private testlib
macx:CONFIG -= app_bundle

HEADERS += ../shared/debugutil_p.h
SOURCES += tst_qqmldebugjs.cpp \
../shared/debugutil.cpp
SOURCES += tst_qqmldebugjs.cpp

INCLUDEPATH += ../shared

include (../../../shared/util.pri)
include(../../../shared/util.pri)
include(../shared/debugutil.pri)

TESTDATA = data/*

Expand Down
4 changes: 2 additions & 2 deletions tests/auto/qml/debugger/qqmldebugjs/tst_qqmldebugjs.cpp
Expand Up @@ -46,11 +46,11 @@
#include <QtCore/QDir>
#include <QtCore/QMutex>
#include <QtCore/QLibraryInfo>
#include <QtQml/private/qqmldebugclient_p.h>
#include <QtQml/QJSEngine>

//QQmlDebugTest
#include "../shared/debugutil_p.h"
#include "debugutil_p.h"
#include "qqmldebugclient.h"
#include "../../../shared/util.h"

const char *V8REQUEST = "v8request";
Expand Down
7 changes: 4 additions & 3 deletions tests/auto/qml/debugger/qqmldebugservice/qqmldebugservice.pro
Expand Up @@ -2,9 +2,10 @@ CONFIG += testcase
TARGET = tst_qqmldebugservice
macx:CONFIG -= app_bundle

HEADERS += ../shared/debugutil_p.h
SOURCES += tst_qqmldebugservice.cpp \
../shared/debugutil.cpp
SOURCES += tst_qqmldebugservice.cpp
INCLUDEPATH += ../shared
include(../../../shared/util.pri)
include(../shared/debugutil.pri)

CONFIG += parallel_test declarative_debug

Expand Down
Expand Up @@ -47,11 +47,11 @@

#include <QtQml/qqmlengine.h>

#include <private/qqmldebugclient_p.h>
#include <private/qqmldebugservice_p.h>

#include "../../../shared/util.h"
#include "../shared/debugutil_p.h"
#include "debugutil_p.h"
#include "qqmldebugclient.h"

#define PORT 13769
#define STR_PORT "13769"
Expand Down
@@ -1,10 +1,11 @@
CONFIG += testcase
TARGET = tst_qqmlenginedebug
TARGET = tst_qqmlenginedebugservice
macx:CONFIG -= app_bundle

HEADERS += ../shared/debugutil_p.h
SOURCES += tst_qqmlenginedebug.cpp \
../shared/debugutil.cpp
SOURCES += tst_qqmlenginedebugservice.cpp

INCLUDEPATH += ../shared
include(../shared/debugutil.pri)

CONFIG += parallel_test declarative_debug

Expand Down

0 comments on commit 5c7b173

Please sign in to comment.