Skip to content

Commit

Permalink
[py] Fix 6.5.2 only QLogCat quirks
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelSchneid3r committed Oct 2, 2023
1 parent 1dc55b9 commit 734971c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/src/pypluginloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ QString PyPluginLoader::load()
module_.attr("md_id") = metadata_.id;

// Attach logcat functions
#if QT_VERSION < 0x060300
#if QT_VERSION != 0x060502
py::setattr(module_,"debug", py::cpp_function([this](const QString &s){ qCDebug(logging_category_factory) << s; }));
py::setattr(module_,"info", py::cpp_function([this](const QString &s){ qCInfo(logging_category_factory) << s; }));
py::setattr(module_,"warning", py::cpp_function([this](const QString &s){ qCWarning(logging_category_factory) << s; }));
Expand Down

0 comments on commit 734971c

Please sign in to comment.