Installing Qwt



  • Hi,

    I just compiled and installed Qwt 6.0 successfully :-) I would like to see widgets in the QtCreator of SDK 1.1.1. there is a file named libqwt_designer_plugin.so in /usr/local/qwt-6.0.0/plugins/designer/ directory. how should I tell QtCreator to load it?



  • [quote author="soroush" date="1309342110"]Hi,

    I just compiled and installed Qwt 6.0 successfully :-) I would like to see widgets in the QtCreator of SDK 1.1.1. there is a file named libqwt_designer_plugin.so in /usr/local/qwt-6.0.0/plugins/designer/ directory. how should I tell QtCreator to load it? [/quote]

    .so is like your .dll. So its a binary file. You will have to load the library in the project and use it.



  • [quote author="QtK" date="1309342543"]
    .so is like your .dll. So its a binary file. You will have to load the library in the project and use it.[/quote]

    I want Qt Creator to load widgets and show them in left side (beside other widgets). I installed qwt 5 of Ubuntu repositories and in Qt Creator 2.1.0 (installed with repository, using Qt 4.7.2) they are added. but there is nothing in Qt Creator 2.2.0 installed with SDK 1.1.1 (Qt 4.7.3). I want to know what is happened when qwt 5 was installed. and do that for qwt 5 and Qt Creator 2.2.0

    Note: I used the qmake installed with SDK instead of /usr/bin/qmake to compile qwt



  • Sorry, I misunderstood your question initially.

    Check "this":http://www.qtcentre.org/threads/20379-Once-I-ve-built-Qwt-how-do-I-add-it-to-a-form-in-Designer thread this might help.



  • No hope! I tried to copy libraries to all directories that I guess Qt Creator looks up for finding plugins... this looks like a brute-force solution ! I need to know What is a Qt Creator plugin and how exactly creator loads plugins?



  • Have you already checked this : "Qwt Install Note":http://qwt.sourceforge.net/qwtinstall.html ?

    bq. For using the designer plugin you have to configure the Qt designer/creator
    where to look for plugins. This can be done by setting the QT_PLUGIN_PATH or
    using a qt.conf file ( see http://doc.qt.nokia.com/4.7/deployment-plugins.html ).
    Beside the plugin the Qwt library itsself also needs to be known to the Designer/Creator
    ( see LD_LIBRARY_PATH, PATH ... above ).



  • bq. Have you already checked this : Qwt Install Note [qwt.sourceforge.net] ?

    Thank you.

    I can't managed to use qt.conf. will ask in another post ;-)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.