QT-Development/Installation, using QT-Creator 2.8.1 and QWT 6.1.0

Only tested on Ubuntu 12.04, 64 bits.

Installing the QT software development kit (SDK)

sudo apt-get install qt-sdk

Installing the newest version of QT-Creator

cd ~
wget http://download.qt-project.org/official_releases/qtcreator/2.8/2.8.1/qt-creator-linux-x86_64-opensource-2.8.1.run
chmod +x qt-creator-linux-x86_64-opensource-2.8.1.run
sudo ./qt-creator-linux-x86_64-opensource-2.8.1.run

Close QT-Creator

Install QWT 6.1.0

mkdir 00Software
cd 00Software
wget http://downloads.sourceforge.net/project/qwt/qwt/6.1.0/qwt-6.1.0.tar.bz2
tar jxf qwt-6.1.0.tar.bz2
rm qwt-6.1.0.tar.bz2
cd qwt-6.1.0
qmake
make -j2
sudo make install

make the library globaly available

cd /usr/local/lib
sudo ln -s /usr/local/qwt-6.1.0/lib/libqwt.so.6 libqwt.so.6
sudo ldconfig

There might be better ways, to do this.

Compile and test the examples

cd ~/00Software/qwt-6.1.0/examples
qmake
make -j2

cd bin
./sinusplot

If you get a nice sinus plot on your screen, you installed the examples successfully.

Install the designer plugin for QT-Creater 2.8

cd ~/00Software/qwt-6.1.0/designer/plugins/designer
sudo cp libqwt_designer_plugin.so /opt/qtcreator-2.8.1/bin/plugins/designer/

Final steps

Create a directory for running the QT examples and your own code:

cd ~
mkdir 00QT-Software

Select the new version to be the default version

cd /usr/bin
sudo mv qtcreator qtcreator-2.0
sudo ln -s /opt/qtcreator-2.8.1/bin/qtcreator qtcreator

Now you can run QT-Creator and try the examples.


Back to QT-Development

KielTech: QT-Development/Installation, using QT-Creator 2.7.1 and QWT 6.1 (last edited 2014-03-29 10:26:19 by UweFechner)