Commit df34c7ba authored by JanKusanagi's avatar JanKusanagi

Report version of KWidgetsAddons

parent 869521bd
......@@ -29,9 +29,14 @@
#endif
#endif
#include "mainwindow.h"
#ifdef HAVE_KCHARSELECT
#if __has_include(<KF5/kwidgetsaddons_version.h>)
#include <KF5/kwidgetsaddons_version.h>
#endif
#endif
#include "mainwindow.h"
......@@ -95,8 +100,12 @@ int main(int argc, char *argv[])
#endif
#ifdef HAVE_KCHARSELECT
std::cout << QString("* Built with KCharSelect character selection support.\n")
.toStdString();
std::cout << "* Built with KCharSelect character selection support";
#ifdef KWIDGETSADDONS_VERSION_STRING
std::cout << ": v" << KWIDGETSADDONS_VERSION_STRING << "\n";
#else
std::cout << ".\n";
#endif
#endif
std::cout << "\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment