diff --git a/src/plugins/qmljsinspector/qmljsclientproxy.cpp b/src/plugins/qmljsinspector/qmljsclientproxy.cpp index ae5c72996d9b7a18884bdd9c31bc6a09d5013afc..9fb3cfdf596adbdfd3ec39065b8a50a5926f7d2c 100644 --- a/src/plugins/qmljsinspector/qmljsclientproxy.cpp +++ b/src/plugins/qmljsinspector/qmljsclientproxy.cpp @@ -28,12 +28,10 @@ **************************************************************************/ #include "qmljsclientproxy.h" #include "qmljsdebuggerclient.h" +#include "qmljsprivateapi.h" #include <utils/qtcassert.h> -#include <private/qdeclarativedebug_p.h> -#include <private/qdeclarativedebugclient_p.h> - #include <QUrl> #include <QAbstractSocket> #include <QDebug> diff --git a/src/plugins/qmljsinspector/qmljsclientproxy.h b/src/plugins/qmljsinspector/qmljsclientproxy.h index 4f42c293202fc26a253c16f01d8e588d607d4883..b825fc8239e27da6910ab16556ac970b2a36bb79 100644 --- a/src/plugins/qmljsinspector/qmljsclientproxy.h +++ b/src/plugins/qmljsinspector/qmljsclientproxy.h @@ -30,9 +30,8 @@ #define QMLJSCLIENTPROXY_H #include "qmljsinspectorplugin.h" - -#include <private/qdeclarativedebug_p.h> -#include <QObject> +#include "qmljsprivateapi.h" +#include <QtCore/QObject> QT_FORWARD_DECLARE_CLASS(QUrl) QT_FORWARD_DECLARE_CLASS(QDeclarativeEngineDebug) diff --git a/src/plugins/qmljsinspector/qmljsdebuggerclient.h b/src/plugins/qmljsinspector/qmljsdebuggerclient.h index b77aa9f42631770c24fb22366cc04bb4246165a7..8bf8ac589b7e9007059ae1b1f92de87ffb95da6f 100644 --- a/src/plugins/qmljsinspector/qmljsdebuggerclient.h +++ b/src/plugins/qmljsinspector/qmljsdebuggerclient.h @@ -29,11 +29,11 @@ #ifndef QMLJSDEBUGGERCLIENT_H #define QMLJSDEBUGGERCLIENT_H +#include "qmljsprivateapi.h" #include <debugger/qml/qmlengine.h> #include <debugger/stackframe.h> #include <debugger/stackhandler.h> #include <debugger/debuggerrunner.h> -#include <private/qdeclarativedebugclient_p.h> // QML private API namespace QmlJSInspector { namespace Internal { diff --git a/src/plugins/qmljsinspector/qmljsinspector.pro b/src/plugins/qmljsinspector/qmljsinspector.pro index 67b65460fdbc28c16b07afa28166aa9a9e7e4f32..1237cf590b48216cc708e7428ec18bc7734ff18f 100644 --- a/src/plugins/qmljsinspector/qmljsinspector.pro +++ b/src/plugins/qmljsinspector/qmljsinspector.pro @@ -9,6 +9,7 @@ include(../../private_headers.pri) DEFINES += QMLJSINSPECTOR_LIBRARY HEADERS += \ +qmljsprivateapi.h \ qmljsdebuggerclient.h \ qmljsinspector_global.h \ qmljsinspectorconstants.h \ diff --git a/src/plugins/qmljsinspector/qmljsprivateapi.h b/src/plugins/qmljsinspector/qmljsprivateapi.h new file mode 100644 index 0000000000000000000000000000000000000000..1ee71d9022c4cee7882a3edbd8de0929ce29cf07 --- /dev/null +++ b/src/plugins/qmljsinspector/qmljsprivateapi.h @@ -0,0 +1,35 @@ +/************************************************************************** +** +** This file is part of Qt Creator +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +** +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** Commercial Usage +** +** Licensees holding valid Qt Commercial licenses may use this file in +** accordance with the Qt Commercial License Agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Nokia. +** +** GNU Lesser General Public License Usage +** +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** If you are unsure which license is appropriate for your use, please +** contact the sales department at http://qt.nokia.com/contact. +** +**************************************************************************/ +#ifndef QMLJSPRIVATEAPI_H +#define QMLJSPRIVATEAPI_H + +#include <private/qdeclarativedebug_p.h> +#include <private/qdeclarativedebugclient_p.h> + +#endif // QMLJSPRIVATEAPI_H