[Qt-interest] problem with QFileInfo
wim.delvaux at adaptiveplanet.com
wim.delvaux at adaptiveplanet.com
Thu Feb 19 12:45:30 CET 2009
On Thursday 19 February 2009 03:13:16 Scott Aron Bloom wrote:
> Its normal... since you send in a relative path, the path back is "."
Hmm, how do I make distinction between a file
./x
and x
??
using QFileInfo besides scanning myself for a '/' ?
W
>
> Look at absolutePath and absoluteFilePath
>
> Scott
>
> > -----Original Message-----
> > From: qt-interest-bounces at trolltech.com [mailto:qt-interest-
> > bounces at trolltech.com] On Behalf Of wim.delvaux at adaptiveplanet.com
> > Sent: Wednesday, February 18, 2009 6:07 PM
> > To: qt-interest at trolltech.com
> > Subject: [Qt-interest] problem with QFileInfo
> >
> > Hi,
> >
> > I got this file "AP.FormEditor.FormVHACCT_1.0.0"
> >
> > Passing that file to QFileInfo yields a path() as "."
> >
> > so
> > QFileInfo().path() returns "."
> >
> > Is this normal ? or a bug of version 4.3.4
> >
> > Thx
> > W
> > _______________________________________________
> > Qt-interest mailing list
> > Qt-interest at trolltech.com
> > http://lists.trolltech.com/mailman/listinfo/qt-interest
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list