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

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.

主站蜘蛛池模板: 湄潭县| 万宁市| 辽源市| 海城市| 威海市| 武城县| 和田市| 福鼎市| 扎囊县| 乐清市| 高平市| 南充市| 海原县| 黄骅市| 泽普县| 盐津县| 虞城县| 长沙市| 紫阳县| 若羌县| 镇宁| 武定县| 广东省| 余干县| 九江县| 牙克石市| 乡城县| 含山县| 太谷县| 渝中区| 侯马市| 凌海市| 大荔县| 大竹县| 永顺县| 武山县| 莎车县| 梅州市| 台南市| 乌拉特中旗| 云林县|