On Sun, Jun 19, 2005 at 08:26:14PM -0700, Kayvan A. Sylvan wrote:
> I am trying to compile lyx with qt2 on Cygwin. Has anyone seen this type of
> error before? [...]
> ../../../../lyx/src/frontends/qt2/QPrefs.C:444: error: invalid initialization 
> of reference of type 'const std::string&' from expression of type 'QString'

I think it's the difference of configuring Qt with -no-stl vs -stl
(modulo spelling mistakes).

AFAIR there are explicit conversion function for the two string types in
LyX (toqstr? fromqstr?) that should be used as these work with both
configurations.

Andre'

Reply via email to