官术网_书友最值得收藏!

Time for action – loading an example project

Qt comes with a lot of examples. Let's try building one to check whether the installation and configuration were done correctly. In Qt Creator, click on the Welcome button on the top-left corner of the window to go the initial screen of the IDE. On the right-hand side of the page that appears (refer to the previous screenshot) there are a couple of tabs among which one of them happens to be called Examples. Clicking on that tab will open a list of examples with a search box. Make sure that the version of Qt you just installed is chosen in the list next to the search box. In the box, enter aff to filter the list of examples and click on Affine Transformations to open the project. If you are asked whether you want to copy the project to a new folder, agree. Qt Creator will then present you with the following window:

What just happened?

Qt Creator loaded the project and set a view that will help us to learn from example projects. The view is divided into four parts. Let's enumerate them starting from the left side. First there is Qt Creator's working mode selector that contains an action bar, which allows us to toggle between different modes of the IDE. Then, there is the project view that contains a list of files for the project. Next comes the source code editor, displaying the main part of the project's source code. Finally, far to the right, you can see the online help window displaying the documentation for the opened example.

主站蜘蛛池模板: 墨竹工卡县| 涿州市| 麟游县| 麟游县| 武强县| 新郑市| 绥中县| 连云港市| 洪泽县| 长岭县| 扎鲁特旗| 武安市| 商南县| 略阳县| 施秉县| 株洲县| 北宁市| 宣化县| 治多县| 凤翔县| 枣强县| 简阳市| 长沙市| 杨浦区| 通化县| 黄梅县| 丰宁| 吉安市| 宝兴县| 和静县| 陵川县| 长沙市| 光山县| 封开县| 韶山市| 曲阜市| 黄龙县| 墨江| 仙居县| 舒城县| 武城县|