Translations:Development/Tutorials/Using KXmlGuiWindow/24/en: Difference between revisions

From KDE TechBase
(Importing a new version from external source)
 
(Importing a new version from external source)
 
Line 1: Line 1:
=== Compile and run ===
=== Compile and run ===
The best way to compile, link and run it is to [[Getting_Started/Build|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:
The best way to compile, link and run it is to [[Getting_Started/Build|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 care of all of that in one line:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
mkdir build && cd build && cmake .. && make && ./tutorial2
mkdir build && cd build && cmake .. && make && ./tutorial2
</syntaxhighlight>
</syntaxhighlight>

Latest revision as of 16:43, 24 August 2020

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Development/Tutorials/Using KXmlGuiWindow)
=== Compile and run ===
The best way to compile, link and run it is to [[Getting_Started/Build|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 care of all of that in one line:
<syntaxhighlight lang="bash">
mkdir build && cd build && cmake .. && make && ./tutorial2
</syntaxhighlight>

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 care of all of that in one line:

mkdir build && cd build && cmake .. && make && ./tutorial2