Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Integrating qwt plugins...

    Tools
    6
    9
    15016
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      phamtv last edited by

      I have been working at this for days but cannot get qwt plugins into qt environment. Can someone tell me what I am doing wrong?

      1. I have installed Qt Creator 2.0.1 --> Based on Qt 4.7.0 (32 bit)
      2. I downloaded qwt project and re-compiled it in released mode. The files generated are:
        -->libqwt.so (linked to shared library - 1.0 MB)
        -->libqwt_designer_plugin.so (shared library - 150.8 KB)
      3. I created and placed the libqwt_designer_plugin.so file into QTDIR/plugins/qwt folder
      4. I placed libqwt.so into QTDIR/lib folder.
      5. I open up Qt creator and looked under Help->About plugins but see no sign of qwt plugins.

      Thanks in advance for you time and support!

      1 Reply Last reply Reply Quote 0
      • T
        tobias.hunger last edited by

        Creator's Help->About plugins will only list plugins to Qt Creator itself. QWT is a library, so that will not show up as a plugin and the designer plugin is a plugin to Qt Designer (which is embedded into Qt Creator), so that will not be listed either.

        Try editing a UI file in creator: Are the QWT widgets available in the list of widgets? If so then installing the qwt designer plugin did work out.

        Please note that you will need to install the designer plugin into the correct Qt version: That is the Qt that Qt Creator is linked against and not the Qt version your code is using!

        Finally I think the designer plugin needs to go into plugins/designer.

        1 Reply Last reply Reply Quote 0
        • P
          phamtv last edited by

          thank you!!! got it to work... i placed the plugin into the wrong directory

          1 Reply Last reply Reply Quote 0
          • F
            fatty last edited by

            hey can you give steps to follow in order to integrate qwt with qtcreator. mean to say i need to see qwt widgets in list of custom widgets of qtcreator.

            1 Reply Last reply Reply Quote 0
            • T
              tobias.hunger last edited by

              fatty: Please "check the documentation":http://doc.trolltech.com/4.7/designer-creating-custom-widgets.html.

              1 Reply Last reply Reply Quote 0
              • F
                fatty last edited by

                i followed following steps

                my QTDIR =/usr/Trolltech/QtEmbedded-4.7-directfb/

                i have copied libqwt.so to /usr/Trolltech/QtEmbedded-4.7-directfb/lib and libqwt_designer_plugin.so and libqwt_designer_plugin.so.debug to /usr/Trolltech/QtEmbedded-4.7-directfb/plugins/designer

                and i have also created qwt.conf in /etc/ld.so.conf.d/ and i have included this path /usr/local/qwt-5.2.1/lib and run ldconfig. restarted qtcreator.

                i can compile qwt examples from qtcreator and build it but i cant see qwt plugins in qtcreator->help->about plugins list. please help me out. how do i reflect qwt widgets in qtcreator

                my qtcreator and qtsdk are installed in /opt directory. do i even need to copy so files of qwt to qtcreator or qtsdk lib.

                thanks for any help.

                1 Reply Last reply Reply Quote 0
                • A
                  alfred last edited by

                  hello
                  when I drop a QWT widget on a form in QTcreator/qtdesiger and try to compile it fails Ui mainwindow ( U.text...7 ?).
                  I used INCLUDEPATH and DEPENDPATH to the qwt headers.
                  Also included qwtconfig.pri but I get the same message. (project.pro)

                  I was able to build the demos with qmake make .

                  Thanks for any help in advance

                  1 Reply Last reply Reply Quote 0
                  • G
                    ganeshnano last edited by

                    Hi there,
                    I am doing a project with qt embedded(everywhere open source). The package has been compiled using the cross toolchain i have. I have also integrated qt-eclipse package with eclipse indigo. It is working fine.

                    Now i have decided to use the QWT(qwt-6.0.1) library to use the advanced widgets in the project. qmake runs with no error. The problem is that when i compile with make.... all the examples in the libray gets compiled, except the QTdesiner plugin, showing errors.

                    1. fatalerror : QDesignerFormEditorInterface not found.

                    but i checked the include paths in the QT-Eclipse integration properties. The configuration works for other QT embedded projects.

                    To be simple: I cannot integrate QWT with QT embedded using Eclipse in Linux. If any of you guys have detailed/practical way to solve please explain it.... i cannot give up on this.... :)

                    1 Reply Last reply Reply Quote 0
                    • B
                      Blizzard last edited by

                      Well I use Qwt with Eclipse in Linux so that's not the problem.
                      This is how the qwt part of my .pro file look like:
                      @

                      QWT

                      INCLUDEPATH += /usr/include/qwt-qt4
                      LIBS += -lqwt-qt4
                      DEFINES += QWT_DLL
                      @

                      I just setup a Qt GUI project, build the qwt libs, add the above code to my .pro file and add the include paths in eclipse under project settings. It doesn't make sense that a 3rd-party tool would cause a Qt error like the one you got, maybe you accidentally replaced a Qt Lib path with a qwt one instead of adding it.

                      Software Engineer | Aerospace & Defence

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post