Results 1 to 4 of 4

Thread: Running Qwt examples on Android ?

  1. #1
    Join Date
    Mar 2009
    Thanked 2 Times in 2 Posts

    Default Running Qwt examples on Android ?

    Has anyone suceeded in running Qwt examples on Android?

    I am trying to run the bode example on an Android Nexus 7 device and running into Android depency issues with deploying
    I expect I need to modify my qmake project and perhaps manually create an AndroidManifest.xml.

    Does anyone have Android examples they can share?

    Thanks in advance,


    Qwt is a fantastic library!

  2. #2
    Join Date
    Feb 2006
    Munich, Germany
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    MacOS X Unix/X11 Windows

    Default Re: Running Qwt examples on Android ?

    From time to time someone is asking for Qwt on Android, but to be honest I never heard of someone who really tried it ( me too ).

    So please let me know about your results - maybe with some patches for what needs to be done in the project files.


  3. #3
    Join Date
    Mar 2009
    Thanked 2 Times in 2 Posts

    Default Re: Running Qwt examples on Android ?

    Hello Uwe,

    Success! Qwt works great on Android too!

    This video by Vadim Dolgachev shows Qwt running on Android:

    I do not speak Russian but Google Chrome translates this page well.
    Vadim even got Qwt drawing in qml which I think is harder ( I think it is hard to feel comfortable with Qml ).
    I am trying to replicate his project hoping to get pinch & zoom gestures working with Qwt.

    Anyway, Vadim demonstrated running Qwt under Android was possible therfore I decided to give it another try.

    Qwt 6.1.0 compiles easily for Android (armeabi-v7a) under Ubuntu 14.04 LTS 32-bit using Qt5.3.

    /home/edward/Qt5.3.1/5.3/android_armv7/bin/qmake" /home/edward/projects/qwt-6.1.0/ -r -spec android-g++ CONFIG+=debug

    The bode example runs prefectly under both an Android simulator and my Nexus 7 tablet. You need to add the qwt library file to deploy under Android. I do not understand the Android packaging bundling details. Fortunately the Qt folks made it so I do not have to undersatnd them:

    In Qt Creator, to add additonal library dependencies to deploy with Android:
    1. Select Projects from the left navigation bar
    2. Select tab "Android for armeabi-v7a", then select "Run" sub-tab
    3. Under "Deploy configurations", select the "Details" drop-down
    4. Under "Additional Libraries" press Add button and browser to where you built Qwt

    If anyone else would like to play along

    Or if you follow this Amazon Kindle developer article first, then add Native Code Development (Optional), then install Qt5.3 and tell it where your Android SDK is.

    It is really pretty easy to use Qt to develop an app that can run on Android and iOS plus Windows, Linux, and OS X. I am still amazed that Qt actually succeeds at doing this! ( Now if I ccould only get my head wrapped around Qt Quick and Qml. )

    Thank you for the great (and portable) Qwt library!


  4. #4
    Join Date
    Sep 2014
    Qt products
    Windows Android

    Default Re: Running Qwt examples on Android ?

    Hi esutton,
    I've just compiled the qwt library for desktop without problems.
    I want to compile now the qwt libraries for android on windows.
    I try to compile using Your instruction but It doesn't work.
    I'm new on QT world so I think I made some errors:
    when I launch qmake the following message appears: can not find the path specified (this is a translated italian message)
    Have You used the file without modifications?

Similar Threads

  1. Replies: 1
    Last Post: 26th April 2013, 15:48
  2. Running QWT Examples in Mac OS X
    By lynchkp in forum Qwt
    Replies: 7
    Last Post: 7th November 2012, 22:46
  3. Running OpenGL ES 2 examples on ARM device
    By Luc4 in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 30th June 2011, 13:43
  4. Problem running QwtPolar examples
    By MSUdom5 in forum Qwt
    Replies: 4
    Last Post: 11th March 2010, 18:26
  5. Running Qt Creator examples
    By Saman in forum Newbie
    Replies: 5
    Last Post: 5th May 2009, 20:21


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.