Make qmlmin use QmlDevTools library for QML parsing
authorKent Hansen <kent.hansen@nokia.com>
Thu, 6 Oct 2011 09:21:39 +0000 (11:21 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 7 Oct 2011 06:32:51 +0000 (08:32 +0200)
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>
tools/qmlmin/main.cpp
tools/qmlmin/qmlmin.pro

index 572e485..ebfc585 100644 (file)
@@ -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>
index 5b783a3..67c7004 100644 (file)
@@ -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