Jane McKean wrote:
> Hi there:
>
> We're working on building all of our LyX docs with the daily compiler
> builds, which we do for a number of Linux platforms. The engineer who is
> helping me with LyX here at PathScale tells me that the LyX part of
> build failed on the SuSE 9 and SLES 8 platforms.
>
> Here is the change he needed to make to get LyX 1.3.6 to compile on SuSE
> (from the BitKeeper check in):
>
> ===== src/frontends/qt2/QPrefs.C 1.2 vs edited =====
> --- 1.2/src/frontends/qt2/QPrefs.C 2005-07-14 01:42:49 -07:00
> +++ edited/src/frontends/qt2/QPrefs.C 2005-09-08 11:54:20 -07:00
> @@ -347,7 +347,7 @@
> string const & default_font_name = tmp.first;
>
> for (int i = cb->count() - 1; i >= 0; --i) {
> - if (cb->text(i) == default_font_name) {
> + if (fromqstr(cb->text(i)) == default_font_name) {
> cb->setCurrentItem(i);
> return;
> }
>
>
> Hope this is helpful and useful.
>
> Thanks!
Thanks, Jane. The exact same fix is already in the 1.3.7cvs sources.
--
Angus