Hi!

I am trying to get the path top a QImage for my application.
I did as followd:

Qt Code:
  1. QPixmap image;
  2.  
  3. image.load(QCoreApplication::applicationDirPath() + "/Desktop/myImage");
To copy to clipboard, switch view to plain text mode 

My problem is that I can not load any image.

What could be the problem? I will appreciate any help.

Many thanks in advance.