diff options
-rw-r--r-- | src/declarative/qml/rewriter/rewriter.pri | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/declarative/qml/rewriter/rewriter.pri b/src/declarative/qml/rewriter/rewriter.pri index 987e26d..de3c298 100644 --- a/src/declarative/qml/rewriter/rewriter.pri +++ b/src/declarative/qml/rewriter/rewriter.pri @@ -1,4 +1,9 @@ INCLUDEPATH += $$PWD -HEADERS += $$PWD/rewriter_p.h $$PWD/textwriter_p.h -SOURCES += $$PWD/rewriter.cpp $$PWD/textwriter.cpp +HEADERS += $$PWD/textwriter_p.h +SOURCES += $$PWD/textwriter.cpp + +!no_ast_rewriter { + HEADERS += $$PWD/rewriter_p.h + SOURCES += $$PWD/rewriter.cpp +} |