Wednesday, December 28, 2022

Qt Widget hello world code only

Qt Widget hello world code only

This post shows how to create a Hello World Qt Widget application in pure code, not using the UI Designer.

▣ Create a console application - consult this link for a quick guide.
▣ Change main.cpp like below
▣ Update CMakeList.txt like below

No comments:

CPP Quick Guide

Basics Hello world User input While loop If statement For loop Switch statement Read file using ifstream Write to a file using ofstr...