One, the installation of Qt under Ubuntu
$ sudo apt-get install qt4-dev-tools qt4-doc qt4-qtconfig Qt4-demos
Note: The qt4-dev-tools contains tools such as QT Assistant and Qt linguist, so there is no need to install these two tools separately. Other, Qt4-doc is a Help document that contains detailed descriptions of each class library in Qt and a rich example program that can be used to open reading using the QT Assistant tool. Qt4-qtconfig is a dialog box that configures the QT environment, which is generally done by default and rarely necessary to change. Qt4-demos contains many executable files that can be run and source code. Qt4-designer is a designer used to design GUI interfaces.
Second, install the driver of MySQL connection
$ sudo apt-get install Libqt4-sql-mysql
Third, the installation of Third-party QWT Library
$ sudo apt-get install libqwt5-qt4 Libqwt5-qt4-dev
Note: After installing these, open QT Designer, you will find the left side of the widget list more "Qwt widget" this group;
IV. installation of integrated development environment Qdevelop
$ sudo apt-get install Qdevelop
Note: Not necessarily install, but in my personal sense, the use of Qdevelop to write code and compile, debug, using QT Designer design interface, development efficiency will be higher.
V. Completion