Qbs-Example: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Category:Tools::qbs]]


=Hello, World!=
Here's the smallest qbs project you will ever see (source file omitted).
More (and more complex) examples can be found in the examples/ subdirectory of the qbs source tree.
<code>
import qbs
CppApplication {
    name: "HelloWorld-minimal"
    files: "main.cpp"
}
</code>

Revision as of 17:25, 26 February 2015


Hello, World!

Here's the smallest qbs project you will ever see (source file omitted). More (and more complex) examples can be found in the examples/ subdirectory of the qbs source tree.

 import qbs
 
 CppApplication {
     name: "HelloWorld-minimal"
     files: "main.cpp"
 }