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

From Qt Wiki
Jump to navigation Jump to search
No edit summary
(Indicate that Qbs is deprecated)
 
Line 1: Line 1:
[[Category:Tools::qbs]]
[[Category:Tools::qbs]]
{{WarningBox|text=On October 29th, 2018, The Qt Company announced that Qbs is [https://blog.qt.io/blog/2018/10/29/deprecation-of-qbs/ deprecated].}}


=Hello, World!=
=Hello, World!=

Latest revision as of 15:19, 30 October 2018


On October 29th, 2018, The Qt Company announced that Qbs is deprecated.

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"
 }