From 506c86b32474a361a80f01b41942f5df6b9fb4cc Mon Sep 17 00:00:00 2001 From: Roman Kuznetsov Date: Sat, 8 Jul 2017 23:19:54 +0300 Subject: Updated protobuf to 3.3.0 --- qt/build_style/build_common.cpp | 4 +--- qt/build_style/build_skins.cpp | 6 +++++- qt/mainwindow.cpp | 2 ++ 3 files changed, 8 insertions(+), 4 deletions(-) (limited to 'qt') diff --git a/qt/build_style/build_common.cpp b/qt/build_style/build_common.cpp index dcf1dbafff..67bee224b9 100644 --- a/qt/build_style/build_common.cpp +++ b/qt/build_style/build_common.cpp @@ -102,12 +102,10 @@ QString GetExternalPath(QString const & name, QString const & primaryPath, if (i >= 0) path = JoinFoldersToPath({appPath.left(i), name}); } - - ASSERT(QFileInfo::exists(path), (path.toStdString())); return path; } QString GetProtobufEggPath() { - return GetExternalPath("protobuf-2.6.1-py2.7.egg", "kothic", "../protobuf"); + return GetExternalPath("protobuf-3.3.0-py2.7.egg", "kothic", "../3party/protobuf"); } diff --git a/qt/build_style/build_skins.cpp b/qt/build_style/build_skins.cpp index 8f1fcad0be..82f713b572 100644 --- a/qt/build_style/build_skins.cpp +++ b/qt/build_style/build_skins.cpp @@ -52,7 +52,11 @@ inline bool SkinCoorrectColor(SkinType s) { return std::get<2>(g_skinInfo[s]); } QString GetSkinGeneratorPath() { - return GetExternalPath("skin_generator", "skin_generator.app/Contents/MacOS", ""); + QString path = GetExternalPath("skin_generator", "skin_generator.app/Contents/MacOS", ""); + if (path.isEmpty()) + path = GetExternalPath("skin_generator_tool", "skin_generator_tool.app/Contents/MacOS", ""); + ASSERT(QFileInfo::exists(path), (path.toStdString())); + return path; } class RAII diff --git a/qt/mainwindow.cpp b/qt/mainwindow.cpp index a43ea17100..16b69cf607 100644 --- a/qt/mainwindow.cpp +++ b/qt/mainwindow.cpp @@ -22,6 +22,8 @@ #include "build_style/build_style.h" #include "build_style/build_statistics.h" #include "build_style/run_tests.h" + +#include "drape/debug_rect_renderer.hpp" #endif // BUILD_DESIGNER #include -- cgit v1.2.3