Getting Started- that means, you should have set up KDevelop to work correctly first. Ensure you have access to the Qt online referencedocumentation by the "Help" menu or the according book in the documentation tree. When looking a the first page of the Otdocumentation, you will see that it contains a link to a section "Tutorials" and "Examples". Under "Tutorials", you will find a 14-stepintroduction into using the Qt library to build applications. On the other hand, "Examples" will lead you to a list of exampleprograms that Qt includes and takes for example usage reference in certain classes. Now, if you are an absolute beginner, you should becomfortable with the idea behind Qt- providing a library that offers:
QApplication
)MyWidget
as the project name. This will already build us the base class that is needed in chapter 4, so we don't haveto care for that later. As we want to start with the first tutorial step, we will use '1' as the project number, which we can increaselater when moving to the next step.Then, fill in the other required information such as your name, email address and project directory. That would be all we need and wecan flip to the next page. Insert your header for the project's header file here or use the given example. The same is done with the4th page, where the same has to be set for the source files. Finally, the last page is entered, where you have to press "Create" tobuild the project. If the button is not available, start at the first page again and make sure you didn't miss to insert any requiredinformation.If everything went OK, the project has been build and the messages window in the application wizard will have "READY" at it's lastline. Select "Close" to finish the wizard.When looking at the treeview on the left, you will see that the project alreay includes a class "MyWidget"- this is because we chosethis to be the application name. Further, when opening "Functions" in the classviewer's "Globals" folder, you will see that theapplication already contains a main()
function where the execution will start.Now the application is already set up. You could do an "Execute" or "Make", but as we want to create the tutorial applications, we cango ahead and change the code first to create our tutorial examples- which we'll do in the next step.