[mythtv] [mythtv-commits] Ticket #4593: /.mythtv/ should *not* get created (blank homedir)

Andrei Tanas andrei at tanas.ca
Wed Feb 6 19:55:25 UTC 2008

> 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.

More information about the mythtv-dev mailing list