Qt learning tutorial 1. qt Development Environment setup, qt tutorial 1. qt Building
Qt learning tutorial 1. Build the qt development environment first download qt
: Http://download.qt.io/archive/qt/
The version used in this tutorial is 5.1.1.
After downloading the package, open the installation package and click Next.
Select a location to install qt. If the system disk is not enough, install it on another disk.
Select agree
Next, let's determine the next step. The installation is complete.
First Project
Open qt
Click file in the upper left corner-create a file or project
Select application-Qt Gui application, and click Select...
Enter the name and select a convenient place for management. Next Step
Continue to the next step.
So we can build a project.
Press the "run" button in the lower left corner or press Ctrl + F5 to run the task.
After building, a blank window is displayed.
Let's add something for this window.
Open mainwindow. ui in the interface file
Double-click Modify text
Hello world!