-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #372 from jmlich/fix-sports-page-for-ubuntu-touch
Compile mapbox gl libraries
- Loading branch information
Showing
6 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 01f62a1a8..71db29e2f 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -86,7 +86,7 @@ target_link_libraries( | ||
|
||
cmake_policy(SET CMP0063 NEW) | ||
set(CMAKE_CXX_EXTENSIONS OFF) | ||
-set(CMAKE_CXX_STANDARD 17) | ||
+set(CMAKE_CXX_STANDARD 14) | ||
set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
set(CMAKE_CXX_VISIBILITY_PRESET hidden) | ||
set(CMAKE_C_EXTENSIONS OFF) | ||
diff --git a/platform/qt/src/mbgl/http_file_source.cpp b/platform/qt/src/mbgl/http_file_source.cpp | ||
index a2a13c5e1..a4ac0c58e 100644 | ||
--- a/platform/qt/src/mbgl/http_file_source.cpp | ||
+++ b/platform/qt/src/mbgl/http_file_source.cpp | ||
@@ -45,7 +45,8 @@ void HTTPFileSource::Impl::request(HTTPRequest* req) | ||
#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0) | ||
connect(data.first, &QNetworkReply::errorOccurred, this, &HTTPFileSource::Impl::onReplyFinished); | ||
#else | ||
- connect(data.first, &QNetworkReply::error, this, &HTTPFileSource::Impl::onReplyFinished); | ||
+ connect(data.first, SIGNAL(error()), this, SLOT(onReplyFinished())); | ||
+ //connect(data.first, &QNetworkReply::error, this, &HTTPFileSource::Impl::onReplyFinished); | ||
#endif | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.