QT project creation
Features
- Use QT Creator to create a QT project
- Write Hello World program
One, create a QT project
① File -> New File or Project
Name ② set up the project and save the path
③ direct the next step
④ Select Qwidget, and the next step
⑤ Next
⑥ Next
This completes the creation of the project
Two, write the Hello World program
①Forms–>widget.ui ②Drag
Push Button onto the panel ③Right
-click PushButton, and select "Go to Slot", select Clicked(), and click OK.
④ Compile slot function
⑤ Compile and execute
⑥ Effect display