On 03/10/2008 15:23, Peter Kümmel wrote:
Jean-Marc Lasgouttes wrote:
Peter Kümmel <[EMAIL PROTECTED]> writes:
if (!prefixIs(onlyPath(sourceFile.absFilename()),
package().temp_dir().absFilename()))
(Exporter.cpp, 72)
fails due to different names of the same directory (prefixIs is
string based):
C:/Dokumente und Einstellungen/cdev/Lokale
Einstellungen/Temp/lyx_tmpbuf0/
C:/DOKUME~1/cdev/LOKALE~1/Temp
The problem is probably to know why temp_dir uses the short file
version. We should make sure that all of our files are LFN.
temp_dir is the value returned by QDir::tempPath() therefore I think
this is a Qt bug.
I don't think this is a Qt bug as the doc says:
On Windows this is usually the path in the TEMP or TMP environment variable.
On Vista, I have ('set' will gives you this):
TEMP=C:\Users\abdel\AppData\Local\Temp
And I guess that on XP you have:
TEMP=C:\DOKUME~1\cdev\LOKALE~1\Temp
Hence the bug. Maybe you could try to use QDir::temp() instead of
QDir::tempPath() to see if that's any better.
Abdel.