Add example based on https://techbase.kde.org/Development/Tutorials/KWallet so that it can be kept up-to-date. The techbase tutoriel can be archived and not maintained anymore.
- Group Reviewers
- R311:87a84ac866c5: Move example from techbase to own repo
I'm not sure to understand: it *can* be compiled, whereas on the current status (in the wiki) it will never be ! Maybe the next step would be to add a trigger from the make test command?
Yes this needs to be compiled so it doesn't rot.
The solution is obviously not add_subdirectory since that wouldn't catch missing find_packages etc.
One way is to have cmake run cmake, like ki18n/autotests/CMakeLists.txt does to run cmake on the ki18n_install subdir.
And yes this needs a license, obviously. If the original author(s) can't be reached anymore, that means rewriting the example :(
CONFIG looks less negative than the old "NO_MODULE"
Urgh, better have a QVBoxLayout* local variable.
new-style connect would be better
Added Licence, made it compile within the whole project and fix issues raised by dfaure.
I think we shouldn't care about making the example self-standing. It's aimed at tutoring people to use the lib, not ECM nor CMake