Skip to content

Commit 4e99a84

Browse files
committed
ProjSetup: Enable PROJ log output for Android
1 parent 66f1746 commit 4e99a84

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/core/georeferencing.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@ namespace
164164
proj_context_use_proj4_init_rules(PJ_DEFAULT_CTX, 1);
165165

166166
#if defined(Q_OS_ANDROID)
167+
proj_log_func(nullptr, nullptr, [](void* /*unused*/, int /*unused*/, const char *msg) {
168+
qDebug("%s", msg);
169+
});
167170
// Register file finder function needed by Proj.4
168171
proj_context_set_file_finder(nullptr, &projFileHelperAndroid, nullptr);
169172
auto proj_data = QFileInfo(projCacheDirectory().path());

0 commit comments

Comments
 (0)