[Qt-interest] QFileInfo returning wrong value in != operator
Eric Clark
eclark at ara.com
Mon Aug 15 21:09:24 CEST 2011
Hello All,
I am currently using Qt 4.7.1 and I am running into a problem with QFileInfo. I have two instances of QFileInfo and they both point to different files. However, the == operator keeps saying they are the same. Here is the exact paths of the two files:
1. C:/Users/eclark/EndgameFramework/FourStoryDemo.db
2. C:/Users/eclark/EndgameFramework/test.db
The two files are clearly different. However, QFileInfo keeps saying they are the same. The only thing I could see that may be a problem is the fact that the files do not exist yet. Does the == operator check for existence? Does anyone know why this would be happening?
Thanks in Advance!
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110815/c38adf21/attachment.html
More information about the Qt-interest-old
mailing list