Commit 7bc5f7f5 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Erik Verbruggen

CppEditor: Compile with QT_NO_CAST_FROM_ASCII

Change-Id: I7889694f69ad7e6e5039c616bef9f78bab9f7845
Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
parent 346a2557
TEMPLATE = lib TEMPLATE = lib
TARGET = CppEditor TARGET = CppEditor
DEFINES += CPPEDITOR_LIBRARY DEFINES += CPPEDITOR_LIBRARY QT_NO_CAST_FROM_ASCII
include(../../qtcreatorplugin.pri) include(../../qtcreatorplugin.pri)
include(cppeditor_dependencies.pri) include(cppeditor_dependencies.pri)
HEADERS += cppplugin.h \ HEADERS += cppplugin.h \
......
...@@ -14,6 +14,7 @@ QtcPlugin { ...@@ -14,6 +14,7 @@ QtcPlugin {
Depends { name: "cpp" } Depends { name: "cpp" }
cpp.includePaths: base.concat("../../libs/3rdparty") cpp.includePaths: base.concat("../../libs/3rdparty")
cpp.defines: base.concat(["QT_NO_CAST_FROM_ASCII"])
files: [ files: [
"CppEditor.mimetypes.xml", "CppEditor.mimetypes.xml",
......
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