Raspberry Pi installation using QWT 6.1.3

Source: Internet
Author: User
Tags bz2

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.












Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.