April 2018
Beginner
714 pages
18h 21m
English
We will add icons to our Start new game and Quit actions. First, use your file manager to create a new subdirectory called icons in the project directory. Place two icon files in the icons directory. You can use icons from the files provided with the book.
Click on Add New... in the context menu of the tictactoe project and select Qt Resource File (located in Qt category). Name it resources, and finish the wizard. Qt Creator will add a new resources.qrc file to the project (it will be displayed under the Resources category in the project tree).
Locate the new resources.qrc file in the project tree of Qt Creator and choose Add Existing Files... in its context menu. Select both icons, and confirm ...
Read now
Unlock full access