Results 1 to 2 of 2

Thread: libpng "permission denied"

  1. #1
    Join Date
    Nov 2008
    Posts
    183
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default libpng "permission denied"

    Most odd and uninformative.

    Ubuntu 12.04 LTS with Kde layered on. QT 4.8.0

    application compiles, links, and runs but gets an odd error message:

    Error opening file for reading: Permission denied

    We have tracked this down to libpng.

    Same application on Linux Mint 14 KDE dies hard at the exact same place running qt 4.8.4 dies hard


    This appears to be quite a common Qt + Ubuntu problem.
    http://forums.linuxmint.com/viewtopi...f=109&t=111221

    Anyone solve this?

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: libpng "permission denied"

    You could try running the application with strace and see which file it is trying to open.

    Cheers,
    _

Similar Threads

  1. Replies: 5
    Last Post: 15th August 2014, 04:04
  2. Permission denied
    By Frosh in forum Newbie
    Replies: 3
    Last Post: 1st October 2009, 07:46
  3. Permission denied
    By lixo1 in forum Qt Tools
    Replies: 4
    Last Post: 27th March 2009, 10:01
  4. Translation QFileDialog standart buttons ("Open"/"Save"/"Cancel")
    By victor.yacovlev in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2008, 20:05
  5. exe permission denied
    By phillip_Qt in forum Qt Programming
    Replies: 1
    Last Post: 30th October 2007, 08:47

Tags for this Thread

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.