aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmldevtools/qmldevtools.pro
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2011-09-23 10:08:30 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-07 08:32:51 +0200
commiteee8cb50dcb464955e3f758f96e0aca94e84cbb5 (patch)
tree7f3447ab669912d2fbb4ae1555f35b84082bed07 /src/qmldevtools/qmldevtools.pro
parentfcfea59e30272ecabacb63c7dd4484fb9f04bc21 (diff)
Say hello to QtQmlDevTools library
QtQmlDevTools is a private helper library. It provides QML/JS file parsing for tools that live outside of the qtdeclarative repository, such as lupdate. This allows us to remove qttools's dependency on the qtdeclarative sources. To use the library: QT += qmldevtools-private #include <private/qdeclarativejsparser_p.h> Change-Id: Ia43751b9be3d9fe05da03e65c6aca1cd9e3fdbbc Reviewed-on: http://codereview.qt-project.org/6116 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
Diffstat (limited to 'src/qmldevtools/qmldevtools.pro')
-rw-r--r--src/qmldevtools/qmldevtools.pro20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/qmldevtools/qmldevtools.pro b/src/qmldevtools/qmldevtools.pro
new file mode 100644
index 0000000000..3aac5e5a9c
--- /dev/null
+++ b/src/qmldevtools/qmldevtools.pro
@@ -0,0 +1,20 @@
+load(qt_module)
+TARGET = QtQmlDevTools
+QT = core
+TEMPLATE = lib
+DESTDIR = $$QMAKE_LIBDIR_QT
+
+CONFIG += module
+CONFIG += staticlib
+
+MODULE_PRI = ../../modules/qt_qmldevtools.pri
+
+DEFINES += QT_BUILD_QMLDEVTOOLS_LIB
+
+load(qt_module_config)
+
+HEADERS += qtqmldevtoolsversion.h
+
+unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore
+
+include($$QT.declarative.sources/qml/parser/parser.pri)