[mythtv] [mythtv-commits] Ticket #4593: /.mythtv/ should *not* get created (blank homedir)
Michael T. Dean
mtdean at thirdcontact.com
Wed Feb 6 20:01:40 UTC 2008
On 02/06/2008 02:55 PM, Andrei Tanas wrote:
> > On Wednesday 06 February 2008 15:13:47 MythTV wrote:
> >> Even though QDir::homeDirPath() will use other environment
> >> variables on Windows when HOME is not set, libdvdnav needs HOME,
> >> and segfaults without it.
> > So the logical fix would be to use the output from
> > QDir::homeDirPath() in libdvdnav somehow? Seems to be a lot easier
> > than finding a way to set HOME in windows.
> It would be I guess, I wrote the patch before this issue was raised.
> I thing that getting the value using QDir::homeDirPath() is fine, but
> I actually think that it makes sense to set the environment variable:
> any processes launched by mythfrontend/mythbackend will inherit it
> just in case they need it too.
Would just setting the variable using the QDir::homeDirPath() value (i.e
using the Windows/mingw equivalent of setenv or something) work?
More information about the mythtv-dev