![]() Alternatively, you can paste the selected text using the Paste option on the right-click menu under File.Įxit the file using the shortcut Ctrl+X and then save it by typing Y, and then pressing Enter. Tip: You can copy this code by selecting it from here and then paste it into the file using the shortcut Ctrl+Shift+V. QLabel hello("Welcome to my first Qt program") In the blank file, copy this Qt program whose sole purpose is to print a sentence line in a window with the title “My first Qt program”. ![]() ![]() You can of course use any of your favorite text editors for this purpose. cpp file in this directory via the nano editor as follows: $ nano testmain.cpp ![]() Move to the newly created project directory via the following command: $ cd SampleProject ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |