diff options
author | Dominik Holland <dominik.holland@pelagicore.com> | 2017-09-19 14:01:14 +0200 |
---|---|---|
committer | Robert Griebl <robert.griebl@pelagicore.com> | 2017-09-19 12:03:32 +0000 |
commit | 9d372b44458baeab4ee5d131477dfc4bbd858f6b (patch) | |
tree | 7d1018c73c4202dffe354a7fe57cc7af2b2c9967 /src/geniviextras/qdltregistration.cpp | |
parent | bedce58b5654eda72b291a1e3402628769890676 (diff) |
Build fix for DLT < 2.12
Also made the configure output more clear
Change-Id: Ic44b8ee26ec552415b8afef3b63389e90e21dfa4
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
Diffstat (limited to 'src/geniviextras/qdltregistration.cpp')
-rw-r--r-- | src/geniviextras/qdltregistration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geniviextras/qdltregistration.cpp b/src/geniviextras/qdltregistration.cpp index 2a6ee9f..5fb20c8 100644 --- a/src/geniviextras/qdltregistration.cpp +++ b/src/geniviextras/qdltregistration.cpp @@ -90,7 +90,7 @@ void QDltRegistrationPrivate::registerCategory(CategoryInfo &info) Q_ASSERT_X(m_dltAppRegistered, "registerCategory", "A DLT Application needs to be registered before registering a Logging Category"); DLT_REGISTER_CONTEXT_LL_TS(*info.m_context, info.m_ctxName, info.m_ctxDescription, category2dltLevel(info.m_category), DLT_TRACE_STATUS_DEFAULT); -#ifdef QT_FEATURE_dlt_2_12 +#if QT_CONFIG(dlt_2_12) //TODO move to lamda once c++11 is ok to be used DLT_REGISTER_LOG_LEVEL_CHANGED_CALLBACK(*info.m_context, &qtGeniviLogLevelChangedHandler); #endif |