Let's see if there are any of the following alternatives, and if not, you need to update the software source:
Install in sequence:
sudo apt-get installqtcreator
sudo apt-get installqt4-default
sudo apt-get install Qt4-designer
sudo apt-get install Qt4-qmlviewer
sudo apt-get install Qt4-qmake
Move the qwt6.1.3 to the Raspberry Pi:
. tar.bz2 format decompression to TAR-JXVF xx.tar.bz2
One: Remove some conditions that depend on the library
Open the QWT project, remove OpenGL, or compile
Two: Installation
1 CD qwt-6.1.2
2 Qmake
3 sudo make
4 sudo make install
Three: Setting environment variables
Copy library file
LBS@LBS-VB:/USR/LOCAL/QWT-6.1.2/LIB$CP */usr/lib/
QWT's designer plugin added to the QT4 designer
sudo cplibqwt_designer_plugin.so/usr/lib/arm-linux-gnueabihf/qt4/plugins/designer/
Because Qtcreate is the qt5.3 version, the QWT plugin compiled with QT4 is not added to the qtcreate. This is slightly inconvenient to use.
Four: Use:
1, use Qt4 Designer to design qwt GUI
2, open the project document with Qtcreate, add related header file and link library
3: Run, you can see the interface. The rest is yours.