Translations:Development/Tutorials/Using KXmlGuiWindow/24/en
Compile and run
The best way to compile, link and run it is to set up a correct build environment. But for a simple tutorial like this, it's enough to just create a build directory and build from there. This command takes cafe of all of that in one line:
mkdir build && cd build && cmake .. && make && ./tutorial2