On Tue, Sep 12, 2006 at 02:12:01PM +0200, Rainer Dorsch wrote:

> g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -DQT_CLEAN_NAMESPACE 
> -DQT_GENUINE_STR -DQT_NO_STL -DQT_THREAD_SUPPORT -I../../../src -I../../../s\
> rc/frontends -I../../../images -I/usr/lib/qt-3.0.5//include -I../../../boost 
> -I../../../src/frontends/controllers -I/usr/X11R6/include -fno-e\
> xceptions -O2 -MT qt_helpers.lo -MD -MP -MF .deps/qt_helpers.Tpo -c 
> qt_helpers.C -o qt_helpers.o
> qt_helpers.C: In function `const QString toqstr(const char*)':
> qt_helpers.C:119: no method `QString::fromAscii'
> make[7]: *** [qt_helpers.lo] Error 1

I think that you can safely replace fromAscii with fromLatin1.
Also, try to #ifdef out the line containing setCodecForCStrings
in src/frontends/qt2/QLyXKeySym.C as follows:

#if 0
        QTextCodec::setCodecForCStrings(defaultCodec);
#endif

and see what happens.

-- 
Enrico

Reply via email to