Skip to content
Snippets Groups Projects
Commit e5ad7f5b authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Search for the QML parser in the standard QTDIR

parent 46d42919
No related merge requests found
...@@ -8,8 +8,18 @@ include(../../plugins/texteditor/texteditor.pri) ...@@ -8,8 +8,18 @@ include(../../plugins/texteditor/texteditor.pri)
include(../../shared/qscripthighlighter/qscripthighlighter.pri) include(../../shared/qscripthighlighter/qscripthighlighter.pri)
include(../../shared/indenter/indenter.pri) include(../../shared/indenter/indenter.pri)
include($$(QTDIR_DUI)/src/declarative/qml/parser/parser.pri) QT_BUILD_TREE=$$fromfile($$(QTDIR)/.qmake.cache,QT_BUILD_TREE)
INCLUDEPATH += $$(QTDIR_DUI)/src/declarative/qml # FIXME: remove me 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) include(rewriter/rewriter.pri)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment