* Shawn Gordon (shawn@thekompany.com) wrote:
> >/*!
> > Returns <tt>$OPIEDIR/</tt>.
> >*/
> >QString QPEApplication::qpeDir()
> >{
> > const char *base = getenv( "OPIEDIR" );
> > if ( base )
> > return QString( base ) + "/";
> >
> > return QString( "../" );
> >}
> >
> >
> >===============
> >as i think *qpeDir* function must retuen QPEDIR, but not OPIEDIR
> >this mean what many qpe app not work under opie, becouse OPIEDIR not
> >defined
> >for qpe
the getenv("OPIEDIR") shouldnt cause any problems for you, the
values of QPEDIR and OPIEDIR are the same thing, and the qpeDir
function is going to return something along the lines of
/opt/Qtopia/ and not OPIEDIR or QPEDIR. There was a problem with
older builds of opie that didnt set QPEDIR at all ( caused crashes
in many tkc apps.
Greg
Received on Mon Apr 29 20:29:09 2002
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:50:05 EDT