[Qt-interest] Problem with QDir::temp on Mac OS X

Jeff Tranter jtranter at ics.com
Tue Jan 12 17:14:22 CET 2010


Is it possible you have set the environment variable TMPDIR? If so, that 
will override the default value of /tmp.

Tex79 at web.de wrote:
> Hi everyone,
> 
> every time i call QDir::tempPath() on Mac OS X (snow leopard) using Qt 4.6. it returns /var/folders/bA/bANJCSzAGQSPbC5Y48AcJ++++TI/-Tmp- instead of /tmp which i'd rather expect. Can anybody help me out on this one?
> 
> Thanks in advance
> Christian
>



More information about the Qt-interest-old mailing list