I am trying to compile lyx with qt2 on Cygwin. Has anyone seen this type of
error before?

g++ -DHAVE_CONFIG_H -I. -I../../../../lyx/src/frontends/qt2 -I../../../src 
-DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -Winvalid-pch 
--include=../../../../lyx/src/frontends/qt2/pch.h -I../../../../lyx/src 
-I../../../../lyx/src/frontends -I../../../../lyx/images 
-I/usr/local/lib/qt2/include -I../../../../lyx/boost 
-I../../../../lyx/src/frontends/controllers -I/usr/local/include -Wextra -Wall 
-I/usr/X11R6/include -fno-exceptions -O2 -mms-bitfields -MT QPrefs.lo -MD -MP 
-MF .deps/QPrefs.Tpo -c ../../../../lyx/src/frontends/qt2/QPrefs.C -o QPrefs.o
../../../../lyx/src/frontends/qt2/QPrefs.C:242:2: warning: #warning FIXME!! The 
graphics cache no longer has a changeDisplay method.
../../../../lyx/src/frontends/qt2/QPrefs.C: In function `void 
lyx::frontend::<unnamed>::setComboxFont(QComboBox*, const std::string&, const 
std::string&)':
../../../../lyx/src/frontends/qt2/QPrefs.C:444: error: invalid initialization 
of reference of type 'const std::string&' from expression of type 'QString'
../../../../lyx/src/frontends/qt2/qt_helpers.h:26: error: in passing argument 1 
of `std::pair<std::string, std::string> parseFontName(const std::string&)'
make[5]: *** [QPrefs.lo] Error 1

-- 
Kayvan A. Sylvan          | Proud husband of       | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)

Reply via email to