Cengiz Gunay wrote:

> However, now I have another error compiling the qt2/ui directory. Below
> first results of ``configure'' and then ``make'' follow.

> ...
> g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -DQT_CLEAN_NAMESPACE
> -DQT_GENUINE_STR -DQT_NO_TRANSLATION -I../../../../src
> -I../../../../src/frontends -I../../../../src/frontends/qt2
> -I/usr/include/qt3 -I../../../../boost
> -I../../../../src/frontends/controllers -W -Wall -I/usr/X11R6/include -g
> -O -fno-exceptions -MT QAskForTextDialog.lo -MD -MP -MF
> .deps/QAskForTextDialog.Tpo -c QAskForTextDialog.C -o QAskForTextDialog.o
> QAskForTextDialog.C: In constructor `
>    QAskForTextDialog::QAskForTextDialog(QWidget*, const char*, bool,
> unsigned
>    int)':
> QAskForTextDialog.C:36: error: `Spacer5' undeclared (first use this
> function)
> QAskForTextDialog.C:36: error: (Each undeclared identifier is reported
> only
>    once for each function it appears in.)
> QAskForTextDialog.C:44: error: `Spacer6' undeclared (first use this
> function)
> QAskForTextDialog.C:57: error: `languageChange' undeclared (first use this
>    function)
> QAskForTextDialog.C: At global scope:
> QAskForTextDialog.C:82: error: no `void
> QAskForTextDialog::languageChange()'
>    member function declared in class `QAskForTextDialog'
> make[6]: *** [QAskForTextDialog.lo] Error 1
> make[6]: Leaving directory
> `/home/cengiz/work/lyx/lyx-devel/src/frontends/qt2/ui'

Strange. Are you sure that you have the correct devel package installed and
it doesn't use some outdated qt headers?
 
> I have a Debian Sarge with gcc 3.3.5.

Me too (on one box), and it works fine there.


Georg

Reply via email to