Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Integrating qwt plugins...

Integrating qwt plugins...

Scheduled Pinned Locked Moved Qt Creator and other tools
9 Posts 6 Posters 15.6k Views
  • 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 Offline
    P Offline
    phamtv
    wrote on last edited by
    #1

    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
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      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
      0
      • P Offline
        P Offline
        phamtv
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • F Offline
          F Offline
          fatty
          wrote on last edited by
          #4

          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
          0
          • T Offline
            T Offline
            tobias.hunger
            wrote on last edited by
            #5

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

            1 Reply Last reply
            0
            • F Offline
              F Offline
              fatty
              wrote on last edited by
              #6

              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
              0
              • A Offline
                A Offline
                alfred
                wrote on last edited by
                #7

                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
                0
                • G Offline
                  G Offline
                  ganeshnano
                  wrote on last edited by
                  #8

                  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
                  0
                  • B Offline
                    B Offline
                    Blizzard
                    wrote on last edited by
                    #9

                    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
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved