Skip to content

Add debug operators for KPluginMetaData

Alexander Lohnau requested to merge work/alex/qdbugkpluginmetadata into master

This will simplify logging and debugging

Example output:

QDEBUG : KPluginMetaDataTest::testMetaDataQDebugOperator() KPluginMetaData(pluginId:"jsonplugin_cmake_macro", fileName: "/home/user/kde/build/kcoreaddons/bin/namespace/jsonplugin_cmake_macro.so")
QDEBUG : KPluginMetaDataTest::testMetaDataQDebugOperator() QVector<KPluginMetaData> {KPluginMetaData(pluginId:"jsonplugin_cmake_macro", fileName: "/home/user/kde/build/kcoreaddons/bin/namespace/jsonplugin_cmake_macro.so"),}
QDEBUG : KPluginMetaDataTest::testMetaDataQDebugOperator() QVector<KPluginMetaData> {
        KPluginMetaData(pluginId:"jsonplugin_cmake_macro", fileName: "/home/user/kde/build/kcoreaddons/bin/namespace/jsonplugin_cmake_macro.so"),
        KPluginMetaData(pluginId:"jsonplugin_cmake_macro", fileName: "/home/user/kde/build/kcoreaddons/bin/namespace/jsonplugin_cmake_macro.so"),
        KPluginMetaData(pluginId:"jsonplugin_cmake_macro", fileName: "/home/user/kde/build/kcoreaddons/bin/namespace/jsonplugin_cmake_macro.so"),
}

Merge request reports

Loading