Skip to content
Snippets Groups Projects
Commit cdf5a10d authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Friedemann Kleint
Browse files

Locator: Compile with QT_NO_CAST_FROM_ASCII


Change-Id: Ib20a50bf6989ff4b8c5fe4073dac0d22ed1d6f55
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
parent 7fa69afa
No related branches found
No related tags found
No related merge requests found
TEMPLATE = lib TEMPLATE = lib
TARGET = Locator TARGET = Locator
DEFINES += LOCATOR_LIBRARY DEFINES += LOCATOR_LIBRARY QT_NO_CAST_FROM_ASCII
include(../../qtcreatorplugin.pri) include(../../qtcreatorplugin.pri)
include(locator_dependencies.pri) include(locator_dependencies.pri)
HEADERS += locatorplugin.h \ HEADERS += locatorplugin.h \
......
...@@ -16,6 +16,7 @@ QtcPlugin { ...@@ -16,6 +16,7 @@ QtcPlugin {
"codeassist" "codeassist"
]) ])
cpp.defines: base.concat(["QT_NO_CAST_FROM_ASCII"])
files: [ files: [
"basefilefilter.cpp", "basefilefilter.cpp",
"basefilefilter.h", "basefilefilter.h",
......
...@@ -48,7 +48,7 @@ using namespace Locator::Internal; ...@@ -48,7 +48,7 @@ using namespace Locator::Internal;
SettingsPage::SettingsPage(LocatorPlugin *plugin) SettingsPage::SettingsPage(LocatorPlugin *plugin)
: m_plugin(plugin), m_page(0) : m_plugin(plugin), m_page(0)
{ {
setId(Constants::FILTER_OPTIONS_PAGE); setId(QLatin1String(Constants::FILTER_OPTIONS_PAGE));
setDisplayName(QCoreApplication::translate("Locator", Locator::Constants::FILTER_OPTIONS_PAGE)); setDisplayName(QCoreApplication::translate("Locator", Locator::Constants::FILTER_OPTIONS_PAGE));
setCategory(QLatin1String(Core::Constants::SETTINGS_CATEGORY_CORE)); setCategory(QLatin1String(Core::Constants::SETTINGS_CATEGORY_CORE));
setDisplayCategory(QCoreApplication::translate("Core", Core::Constants::SETTINGS_TR_CATEGORY_CORE)); setDisplayCategory(QCoreApplication::translate("Core", Core::Constants::SETTINGS_TR_CATEGORY_CORE));
......
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