Results 1 to 3 of 3

Thread: Application using Qwt won't start

  1. #1
    Join Date
    Jan 2016
    Posts
    4
    Qt products
    Qt5
    Platforms
    Windows

    Default Application using Qwt won't start

    Greetings for the first time:

    Usually I can work my way through problems like this but I think I need help for this one.

    I have developed a small utility for myself to plot some data using Qt and Qwt under Mint. When I run the application from Qt Creator everything works fine. Once I added (export LD_LIBRARY_PATH="/usr/local/qwt-6.1.3/lib") to my .bashrc file, I can invoke the application from the terminal with “./PlotAccountsChange” and it woks. Also the ldd command shows all dependencies have been found.

    The problem I am having is that the application can not be invoked from the Nemo file manager, or from the menu system if I add the link to the executable in the menu, or from a link to the executable placed on the desktop. In all of these cases I get no indication at all, just nothing happens. Any other application that I have created using Qt but that doesn’t use Qwt invokes without problems.

    Thank you, regards,
    Ben

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

    Default Re: Application using Qwt won't start

    Well this is more a standard Unix/Linux question than specific for Qwt. Possible solutions could be:


    • Create a shell script, where you set the LD_LIBRARY_PATH before starting the application. Then start the shell script from file manager instead of the application.
    • Use QMAKE_RPATHDIR to compile the library path into your application.
    • Use ldconfig to configure your system


    Uwe

  3. #3
    Join Date
    Jan 2016
    Posts
    4
    Qt products
    Qt5
    Platforms
    Windows

    Thumbs up Re: Application using Qwt won't start

    Uwe:

    Fantastic! The QMAKE_RPATHDIR did the trick.

    Thank you, regards,
    Ben

Similar Threads

  1. Replies: 4
    Last Post: 7th October 2015, 08:47
  2. Qt start new application and quit
    By TheQuake in forum Qt Programming
    Replies: 3
    Last Post: 4th January 2015, 09:22
  3. to set start up application in beagleboard
    By mehkants in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 8th September 2012, 07:07
  4. Start application in QT
    By eltecprogetti in forum Qt Programming
    Replies: 2
    Last Post: 12th April 2012, 10:46
  5. Windows CE + Application does start
    By uygar in forum Installation and Deployment
    Replies: 0
    Last Post: 21st October 2011, 19:10

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.