Step-by-step to create new Q4OS C++ Application



Contents

1. Introduction
2. Run development IDE
3. Create new C++ project
4. Add your own dialog to the project
5. Design new dialogs, write C++ code
6. Let create application installer



1. Introduction

This document describes in an easy manner, how to create new, shiny, simple, C++ application, step-by-step. Preferred way to write Q4OS applications is to use QT libraries, your code will not be Q4OS specific, but broadly multiplatform. Please read related document Q4OS Application install howto, general recommendations.




2. Run development IDE

At first, you have to install Q4OS Development Pack and start development IDE.




3. Create new C++, Q4OS project




4. Add your own dialog to the project

This chapter describes procedure to create new dialog the best way, using subclassing wizard. This procedure is related to the new classes, forms and source code files.




5. Design new dialogs, write C++ code

Now its time to write C++ code and do some programming, you will use objects, classes, signals, slots, events, actions, etc.. QT programming is not part of this document..




6. Let create application installer

You need to be member of "sudo" group to process installer creation, as the installer needs root permissions definitely. "Installer Builder" tool will create both "*.deb" file for manual installation with "dpkg" command and "setup_*.esh" fully automated, convenient installer. You can choose which one to use.

"Installer Builder" is a part of Q4OS Development Pack, if you are planning to build your own custom Application installer, feel free to copy and use it as a skeleton or self-explainable example.