Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.
Qbs-Example: Difference between revisions
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"
}