Results 1 to 4 of 4

Thread: Installation to use QWT in QML project.

  1. #1
    Join Date
    May 2012
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Installation to use QWT in QML project.

    I would like to use QWT PlotCurve in a QML based application (Qt Quick Project/Qt Quick Application). I have a windows 7 64-bit pc with mingw. I have looked at various threads about installing QWT/Qt but have not been successful in creating a application using QML and QWT PlotCurve. (have been able to get to the point where I see QWT Widgets in Qt Designer and am able to run QWT examples in Qt Creator).

    I want to use the latest versions (e.g. Qt Creator 2.5.0, QWT 6.0.1, Qt 4.8.1).


    Step 1 -
    What componets do I need to download for QT (do I down load only qt-win-opensource-4.8.1-mingw.exe and qt-creator-win-opensource-2.5.0.exe or do I need the QtSDK)?

    Step 2 -
    What Qt components do I need to rebuild and what is the process.

    Step 3 -
    What is required for Qt configuration (e.g. setting environment variables, editing bat files, ect.

    Step 4 -
    What steps beyond the those in the INSTALL document are required for QWT?

    Regards,

    pcw

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

    Default Re: Installation to use QWT in QML project.

    Quote Originally Posted by pcw View Post
    I would like to use QWT PlotCurve in a QML based application (Qt Quick Project/Qt Quick Application). I have a windows 7 64-bit pc with mingw. I have looked at various threads about installing QWT/Qt but have not been successful in creating a application using QML and QWT PlotCurve. (have been able to get to the point where I see QWT Widgets in Qt Designer and am able to run QWT examples in Qt Creator)
    As far as I know there is nothing different how to embed Qwt widgets compared to embedding any other Qt widget in a QML based application.
    The Qwt framework itself is pure C++ and doesn't offer a similar QML wrapper, like the Qt widgets.

    For Qt 5.x this will change, but unfortunately the Qt development didn't make things easier with the decision to separate Qt Widgets and Qt Quick into incompatible worlds ...

    Uwe

  3. #3
    Join Date
    May 2012
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Installation to use QWT in QML project.

    Attached are instructions for installing Qt/mingw/Qwt and an example using QwtPlot in QML with QDialog.


    Added after 21 minutes:


    Uwe,

    Regarding your comment about Qt 5.x. Qt 5.0 is currently scheduled for August release. Will QWT be available as a Qt Quick (QML) component?
    Attached Files Attached Files
    Last edited by pcw; 29th May 2012 at 23:59.

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

    Default Re: Installation to use QWT in QML project.

    Quote Originally Posted by pcw View Post
    Qt 5.0 is currently scheduled for August release. Will QWT be available as a Qt Quick (QML) component?
    No not before Qt 5 offers QML replacements for its own widgets.

    Uwe

Similar Threads

  1. Replies: 3
    Last Post: 27th September 2011, 06:42
  2. haw to ues project ( skin ) with anther project
    By Master Loda in forum Qt Programming
    Replies: 4
    Last Post: 22nd July 2011, 08:58
  3. How to convert QT Project to CMake project?
    By Kevin Hoang in forum Qt Programming
    Replies: 2
    Last Post: 29th March 2011, 09:48
  4. Qt project management - bigger project
    By Peppy in forum Qt Programming
    Replies: 11
    Last Post: 24th December 2010, 13:50
  5. Replies: 1
    Last Post: 3rd December 2009, 23:34

Bookmarks

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.