chx4

幸福是什么?自我欣赏和东游西荡!

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年8月9日

摘要: The tip of today does not represents a general output for the application state in real time, since QDebug only works in debug compilatos. General usage Some times we prefer to analyse the our application debug messages in a separated file. It is useful when we want to work with Qt-Creator in full code window and we have two monitors (one for coding and another for application execution and debug file). To redirect the output we have to type in Qt 5.1: 阅读全文
posted @ 2013-08-09 12:23 chx4 阅读(406) 评论(0) 推荐(0) 编辑

摘要: Introduction Qt 5.1 introduces a new method in the QWidget class called createWindowContainer(). It allows embedding a QWindow (such as a QQuickView) into a QWidget-based application. This allows combining both QML and widgets in the same application, something that was not possible with Qt 5.0. The new method is well documented (see References at the end of the posting) but I did not see any complete compilable examples of using it, so I thought I would present one here. 阅读全文
posted @ 2013-08-09 12:19 chx4 阅读(2184) 评论(0) 推荐(0) 编辑