next up previous
Next: Final Remarks Up: Mini How-To: Qt on Previous: The Brute Force Approach

The 'Regular' Approach

Create a new NetBeans project 'HelloQtOnNetBeans_M' as 'C/C++ Application'. Select an appropriate project location in your development environment. Keep the default settings for the 'Project Folder' and the 'Project Makefile Name'. Press 'Finish'.

Next create the source, header and Qt-project files:

Now open the NetBeans project properties window (rightclick on the project name and select 'Properties'). Update the property settings of your new project 'HelloQtOnNetBeans_M':

You are now ready to test this setup: rightclick the project name and select 'Build' (or 'Clean and Build') and then 'Run' to test the program. You should not experience any error messages and be able to watch the build steps in the NetBeans output window. Running the executable program results in the same QT-window as in the 'Brute Force' approach.

Figure 1.2: The 'Make'-settings in the NetBeans project window
\includegraphics[width=12cm, clip]{HelloQtOnNetBeansMake.ps}



next up previous
Next: Final Remarks Up: Mini How-To: Qt on Previous: The Brute Force Approach

TSSE, 23 October 2008