In Ubuntu, how does one install the Qt environment? In Ubuntu, how does one develop Qt Creator? This article will describe these contents.
First install Qt4 and use Qt Creator for development demonstration
In Terminal, enter: sudo apt-get install qt4-dev-tools qt4-doc qt4-qtconfig qt4-demos qt4-designer
◆ The qt4-dev-tools includes Qt Assistant, Qt Linguist, Qt Creator
◆ Qt4-doc this is help document
◆ Qt4-qtconfig Qt Configuration tool, which is installed by default
◆ Qt4-demos official Demo of some
◆ Qt4-designer visual form setting tool
See the figure below:
After the installation is complete, you will see more Qt Creator, Qt4 assistant, Qt4 designer, Qt Linguist...
Let's start with my first Hello world: Open Qt Creator first, and the interface is OK.
Click File-> New
A form with MainWindow will be generated by default. Is the interface quite familiar? It is similar to Windows programming.
The Interface Design with Creator for development is not bad.