So if you want to create your own graphic interfaces, you want to control stuff just by clicking buttons from your screen, this instructable is for you.
To do this we will use Qt (say : "cute") from nokia.
Of course Qt is not the only program that can make graphical interface.
But these are the advantages of Qt :
- It is free and open source software (distributed under the terms of the GNU Lesser General Public License)
- It is C/C++, so widely used.
- You can compile your program on a lot of platform (Windows, Linux, ...)
- The possibilities are infinite (you probably have many applications coded on Qt : Skype, Google Earth, VLC, ...
I only provide basic things to start.
Here we just see how to install Qt, the serial port library and write your first program.
The program will control the brightness of a led.
I admit that you already know know C/C++. If it is not the case, there are plenty of course on the web. If your are a french speaker (like me), I suggest the course from www.siteduzero.fr which is very good to start from zero.
Step 1: Intallation of Qt
The first step of this instructable is to get and install Qt.
You can get Qt sdk from this wedsite : http://qt.nokia.com/products/
Once downloaded, follow the instruction to install it.
The first part is over. Fairly easy, isn't it?
The next part is a bit more tricky.