Qt compilation and installation see http://qt-project.org/doc/qt-4.8/install-x11.html
Pay attention to the following points. Do you need to install the following kits? Otherwise, the compilation will be incompatible with the Ubuntu interface.
Error while building on Ubuntu 12. * Before building it on Ubuntu 12. * be sure you have these packages:
- Libfontconfig1-dev libfreetype6-dev libx11-dev libxcursor-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxrandroid-dev libxrender-Dev
If you don't have them (it usually happens if you are on the clear or semi-clear UBUNTU) in your system and you try to build QT you will get this error:
- Basic xlib functionality test failed! You might need to modify the include and library search paths by editing qmake_incdir_x11 and qmake_libdir_x11 in <path>.
To avoid it check & Install them with this command:
- Sudo apt-Get install libfontconfig1-dev libfreetype6-dev libx11-dev libxcursor-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxrandroid-dev libxrender-Dev
Nothing else to pay attention
Certificate -----------------------------------------------------------------------------------------------------------------------------------------------------------
Qwt installation is also available in the installation manual
Note that you need to add the configuration when using qwt. The method is as follows:
When using qmake it can be encoded from the application project file in 2 different ways:
Adding qwt as qmake feature
When using the qmake feature mechanic you can bind a special version of qmake to a special installation of qwt without having to add this dependency to the application project. how to add qwt as feature is already ented in the qmake docs.
After adding qwt as a feature F. E on Linux as a persistent property ....
Qmake-set qmakefeatures $ {qwt_root}/Features
.. The following line can be added to the application project file:
Config + = qwt
For more information about qmake, see the https://qt-project.org/doc/qt-5/qmake-advanced-usage.html#adding-new-configuration-features.