[Qt-interest] How do we step one level out of given application directory path.

Hemalatha Venkataswamy Hemalatha.Venkataswamy at lntinfotech.com
Thu Feb 12 12:20:49 CET 2009


Hi,

In my Qt GUI application, for one of the requirement, I m using 
QApplication::applicationDirPath(). This function for example returns me 
"C:/Application/GUI/Common/", i need to step one directory level out like 
"C:/Application/GUI/". I m unable to achieve this. 

Can anybody suggest me some solution.

Thanks in advance.

With Regards
=================================
Hemalatha, 
PES (Communications) , BANGALORE
phone:  91 80 6624 2089
=================================

Larsen & Toubro Infotech Ltd.
www.Lntinfotech.com

This Document is classified as: 

L&T Infotech Proprietary   L&T Infotech Confidential   L&T Infotech 
Internal Use Only   L&T Infotech General Business 

This Email may contain confidential or privileged information for the 
intended recipient (s) If you are not the intended recipient, please do 
not use or disseminate the information, notify the sender and delete it 
from your system. 

______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090212/461d760a/attachment.html 


More information about the Qt-interest-old mailing list