Results 1 to 11 of 11

Thread: where should I put qwt plugin on linux?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #9
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,326
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanked 880 Times in 828 Posts

    Default Re: where should I put qwt plugin on linux?

    In opposite to David I recommend not to copy the plugin: instead configure your environment to load the plugin from where it is installed by "make install".

    A) This step has to be done for both ways:

    Open a shell and enter the following command ( of course you have to replace the path by where you have installed the plugin ):

    Qt Code:
    1. ldd /usr/local/qwt-6.1.0-svn/plugins/designer/libqwt_designer_plugin.so
    To copy to clipboard, switch view to plain text mode 

    On my box it results to something like this:
    Qt Code:
    1. linux-gate.so.1 => (0xffffe000)
    2. libqwt.so.6 => /home1/uwe/qwt/qwt/lib/libqwt.so.6 (0xb7586000)
    3. libQtXml.so.4 => /usr/local/Trolltech/Qt-4.8.0-debug/lib/libQtXml.so.4 (0xb7537000)
    4. libQtGui.so.4 => /usr/local/Trolltech/Qt-4.8.0-debug/lib/libQtGui.so.4 (0xb68b3000)
    5. libQtCore.so.4 => /usr/local/Trolltech/Qt-4.8.0-debug/lib/libQtCore.so.4 (0xb656a000)
    6. libQtDesigner.so.4 => /usr/local/Trolltech/Qt-4.8.0-debug/lib/libQtDesigner.so.4 (0xb5fbd000)
    7. ...
    To copy to clipboard, switch view to plain text mode 

    When you see something like this:

    Qt Code:
    1. linux-gate.so.1 => (0xffffe000)
    2. libqwt.so.6 => not found
    3. ...
    To copy to clipboard, switch view to plain text mode 

    ... you have to read about ldconfig and LD_LIBRARY_PATH.

    B) Read about QT_PLUGIN_PATH: see http://doc.qt.nokia.com/4.7/deployment-plugins.html

    Of course all environment variables need to be set in the environment, where you start the creator - f.e start the creator from the same shell, where you have set them.

    HTH,
    Uwe

  2. The following user says thank you to Uwe for this useful post:

    d_stranz (12th April 2012)

Similar Threads

  1. Replies: 7
    Last Post: 11th April 2013, 10:55
  2. Mysql plugin on Linux problem
    By .:saeed:. in forum Newbie
    Replies: 1
    Last Post: 20th January 2011, 17:03
  3. Replies: 1
    Last Post: 8th October 2010, 11:38
  4. Plugin and shared class between plugin and application
    By wishper in forum Qt Programming
    Replies: 7
    Last Post: 23rd August 2010, 17:00
  5. Linker error (app+plugin) on Linux Qt 4.5.1
    By janus in forum Qt Programming
    Replies: 1
    Last Post: 18th May 2009, 12:43

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
  •  
Qt is a trademark of The Qt Company.