Fixed compile of lupdate.
authorRohan McGovern <rohan.mcgovern@nokia.com>
Mon, 19 Sep 2011 23:53:52 +0000 (09:53 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 21 Sep 2011 08:06:17 +0000 (10:06 +0200)
lupdate wants to use private QtDeclarative symbols.
Either the symbols need to be made public, or lupdate needs to compile
its own copy of the code.

This commit applies the latter approach.

Change-Id: I119c2d044fe2a8953867f7b6e2fc446dee65cce3
Reviewed-on: http://codereview.qt-project.org/5181
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
src/linguist/lupdate/lupdate.pro

index 6ad523e..02e315e 100644 (file)
@@ -18,8 +18,8 @@ build_all:!build_pass {
 include(../shared/formats.pri)
 include(../shared/proparser.pri)
 
-#include($$QT.declarative.sources/qml/parser/parser.pri)
-#INCLUDEPATH += $$QT.declarative.sources/qml $$QT.declarative.includes
+include($$QT.declarative.sources/qml/parser/parser.pri)
+INCLUDEPATH += $$QT.declarative.sources/qml $$QT.declarative.includes
 
 SOURCES += \
     main.cpp \