summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2011-10-06 11:21:39 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-07 08:32:51 +0200
commit2d691c84cb4acbddb1fb6c229bc44974d2e3ee08 (patch)
treeab8a58c8337e6cd18ed890127edc2eee46706741 /tools
parenteee8cb50dcb464955e3f758f96e0aca94e84cbb5 (diff)
Make qmlmin use QmlDevTools library for QML parsing
Needed to make it link in non-developer builds. Change-Id: I45f413df5e4c01760aa245463c809c5b502a96c2 Reviewed-on: http://codereview.qt-project.org/6130 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/qmlmin/main.cpp6
-rw-r--r--tools/qmlmin/qmlmin.pro4
2 files changed, 4 insertions, 6 deletions
diff --git a/tools/qmlmin/main.cpp b/tools/qmlmin/main.cpp
index 572e485834..ebfc5851dd 100644
--- a/tools/qmlmin/main.cpp
+++ b/tools/qmlmin/main.cpp
@@ -39,9 +39,9 @@
**
****************************************************************************/
-#include "qdeclarativejsengine_p.h"
-#include "qdeclarativejslexer_p.h"
-#include "qdeclarativejsparser_p.h"
+#include <private/qdeclarativejsengine_p.h>
+#include <private/qdeclarativejslexer_p.h>
+#include <private/qdeclarativejsparser_p.h>
#include <QtCore/QCoreApplication>
#include <QtCore/QStringList>
#include <QtCore/QFile>
diff --git a/tools/qmlmin/qmlmin.pro b/tools/qmlmin/qmlmin.pro
index 5b783a3439..67c7004c18 100644
--- a/tools/qmlmin/qmlmin.pro
+++ b/tools/qmlmin/qmlmin.pro
@@ -1,11 +1,9 @@
-QT = core
+QT = core qmldevtools-private
CONFIG += console
CONFIG -= app_bundle
DESTDIR = $$QT.declarative.bins
SOURCES += main.cpp
-include(../../src/declarative/qml/parser/parser.pri)
-
target.path = $$[QT_INSTALL_BINS]
INSTALLS += target