forked from qt-creator/qt-creator
Debugger: Fix build break on Windows
Removed inclusion of parser.pri from qml.pri and added QML_PARSER_EXPORT to QmlJSGrammar. Task-number: QTCREATORBUG-6292 Change-Id: I6a1fb3e038a6c154c4c3b368d7c7e6eda9975698 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
committed by
Kai Koehne
parent
9abf0e6a9a
commit
baafc89dfc
@@ -12,6 +12,8 @@ done
|
||||
|
||||
# export QmlDirParser
|
||||
perl -p -0777 -i -e 's/QT_BEGIN_NAMESPACE\n\nclass QmlError;\nclass QmlDirParser/#include "qmljsglobal_p.h"\n\nQT_BEGIN_NAMESPACE\n\nclass QmlError;\nclass QML_PARSER_EXPORT QmlDirParser/' qmldirparser_p.h
|
||||
# export QmlJSGrammar
|
||||
perl -p -0777 -i -e 's/#include <QtCore\/qglobal.h>\n\nQT_BEGIN_NAMESPACE\n\nclass QmlJSGrammar\n/#include "qmljsglobal_p.h"\n#include <QtCore\/qglobal.h>\n\nQT_BEGIN_NAMESPACE\n\nclass QML_PARSER_EXPORT QmlJSGrammar\n/' qmljsgrammar_p.h
|
||||
# replace qmlglobal_p.h include with needed declaration
|
||||
perl -p -0777 -i -e 's/#include \<qmlglobal_p.h\>/bool Qml_isFileCaseCorrect(const QString &) { return true; }/' qmldirparser.cpp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user