• 5835阅读
  • 3回复

[转载]qbs reached mile stone 0.3 [复制链接]

上一主题 下一主题
离线fanformylove
 
只看楼主 倒序阅读 楼主  发表于: 2013-04-16
source: http://blog.qt.digia.com/blog/2013/04/16/qbs-reached-mile-stone-0-3



qbs reached mile stone 0.3

<div qt-metadata-icons"="">Published April 16, 2013 | By <a fn="" n"="" href="http://blog.qt.digia.com/blog/author/jbornema/" title="View all posts by Jörg Bornemann">Jörg Bornemann
Qbs, our alternative build tool, has reached a new mile stone. Since the last one in December, qbs has had the following improvements:
The whole codebase has seen a major overhaul. Experiments from theprototype phase have been removed. The API for the Qt Creator plugin hasbeen stabilized. The test suite has been extended to cover mostfeatures. On our internal test farm – the same that is used for QtCreator – qbs is tested on Linux, OS X and Windows every time thetesting infrastructure detects a new change in the repository.
Support for installing your built products has been added. To install your project to ~/foo/bar useqbs install --install-root ~/foo/bar
The project loading phase got faster. On my machine, the times togenerate the makefiles respectively create the build graph for QtCreator 2.7 look like this:

LinuxWindows
qmake -r26.284 s99.581 s
qbs resolve13.813 s5.510 s

The running time of incremental null builds, that is determining thatnothing of your project has changed, look currently like this for QtCreator 2.7 (same machine with Windows/Linux dual boot):

LinuxWindows
(n)make3.228s45.199 s
jomn/a25.098 s
qbs1.884s1.630 s

The performance gain stems from the fact that qbs only has to checkthe timestamps of the project’s source files. It already knows thetimestamps of generated files from the previous build.
On Windows this approach gains us much more than on Linux because retrieving the file timestamps is so unbelievably slow.
Support for detecting changes of project settings has been improved. Changing properties like cpp.defines will now get noticed and result in a rebuild of the affected products.
Last but not least, Qt Creator 2.7 comes with an experimental Qbsproject manager plugin. It provides support for loading and building qbsprojects.
离线zybook
只看该作者 1楼 发表于: 2013-04-16
啥意思?
喜欢Qt的朋友多交流
离线XChinux

只看该作者 2楼 发表于: 2013-04-17
和qmake是一类东西,语法采用qml/javascript样式 .
二笔 openSUSE Vim N9 BB10 XChinux@163.com 网易博客 腾讯微博
承接C++/Qt、Qt UI界面、PHP及预算报销系统开发业务
离线rpdhunter

只看该作者 3楼 发表于: 2013-04-17
是不是意味着不改源代码就可以使用qbs代替qmake?qt creator对它支持又如何呢?
快速回复
限100 字节
 
上一个 下一个