UbuntuInstallQtThe simple implementation of the development environment is the content to be introduced in this article. The content is very short, taking its essence for details.Qt
Class Library description, first look at the content.
I. Install Qt in Ubuntu
1. $ sudo apt-Get install qt4-dev-tools qt4-doc qt4-qtconfig qt4-demos qt4-designer
Note: The qt4-dev-tools contains tools such as QT assistant and QT linguist, so you do not need to install them separately. Others, qt4-doc is a help document that contains detailed descriptions of various class libraries in QT and a wide range of example programs that can be opened using QT Assistant tools. The qt4-qtconfig is a dialog box for configuring the QT environment, which is usually the default and is rarely necessary to change. The qt4-demos contains many executable files and source code that can run. Qt4-DesignerIs used to design the GUI.
Ii. Install the MySQL driver
- $ sudo apt-get install libqt4-sql-mysql
3. Install a third-party qwt Library
- $ sudo apt-get install libqwt5-qt4 libqwt5-qt4-dev
Note: After the installation is complete, open the QTDesignerThe "qwt widget" group is added to the left widget list;
Iv. Install the integrated development environment qdevelop
- $ sudo apt-get install qdevelop
Note: you do not have to install it, but in my personal sense, you can use qdevelop to write code, compile, debug, and use QTDesignerDesign the interface and make development more efficient.
5. Complete
Summary:UbuntuInstallQtThe simple implementation of the development environment is complete. I hope this article will help you. For more information, see edit recommendations!