Commit e5ad7f5b authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Search for the QML parser in the standard QTDIR

parent 46d42919
......@@ -8,8 +8,18 @@ include(../../plugins/texteditor/texteditor.pri)
include(../../shared/qscripthighlighter/qscripthighlighter.pri)
include(../../shared/indenter/indenter.pri)
include($$(QTDIR_DUI)/src/declarative/qml/parser/parser.pri)
INCLUDEPATH += $$(QTDIR_DUI)/src/declarative/qml # FIXME: remove me
QT_BUILD_TREE=$$fromfile($$(QTDIR)/.qmake.cache,QT_BUILD_TREE)
QT_SOURCE_TREE=$$fromfile($$(QTDIR)/.qmake.cache,QT_SOURCE_TREE)
exists($$QT_SOURCE_TREE/src/declarative/qml/parser) {
include($$QT_SOURCE_TREE/src/declarative/qml/parser/parser.pri)
INCLUDEPATH += $$QT_SOURCE_TREE/src/declarative/qml
} else {
isEmpty($$(QTDIR_DUI)):error(run with export QTDIR_DUI=<path to kinetic/qt>)
include($$(QTDIR_DUI)/src/declarative/qml/parser/parser.pri)
INCLUDEPATH += $$(QTDIR_DUI)/src/declarative/qml
}
include(rewriter/rewriter.pri)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment