On Monday 18 February 2008 16:58, Jeremy C. Reed wrote:
> To answer your Subject line:
>
> xforms has not been maintained in around four years.
>
> Qt4 gives more possibility to use on non-Unix and even non-X11 systems.
>
> Qt4 has better support for internationalization and many other user
> interface features. This lets LyX developers work on LyX specific
> features.
>
> > make[7]: Entering directory
> > `/home/slitt/junk/lyx-1.5.3/src/frontends/qt4/ui'
> > /usr/lib/qt3//bin/uic -tr lyx::qt_ AboutUi.ui -o AboutUi.h
> > uic: File generated with too recent version of Qt Designer (4.0 vs.
> > 3.3.6) make[7]: *** [AboutUi.h] Erro
>
> Even though you installed libqt4-devel, the above is using QT3.
>
> Run the ./configure --help to see if it has options for:
>
> --with-extra-prefix=/usr/lib/qt4
> --with-qt4-dir=/usr/lib/qt4
> --with-qt4-includes=/usr/lib/qt4/include
> --with-qt4-libraries=/usr/lib/qt4/lib
>
> Adjust as needed.
>
> Also try running ./configure with UIC defined
> in the environment:
>
> UIC=/usr/lib/qt4/bin/uic ./configure

I ran this command:

 
UIC=/usr/lib/qt4/bin/uic ./configure --with-extra-prefix=/usr/lib/qt4 
--with-qt4-dir=/usr/lib/qt4 --with-qt4-includes=/usr/lib/qt4/include 
--with-qt4-libraries=/usr/lib/qt4/lib

And it errors out like this:

deps/Dialogs.Tpo -c Dialogs.cpp -o Dialogs.o
QAbout.h:24: error: ‘Ui’ has not been declared
QAbout.h:24: error: expected `{' before ‘QAboutUi’
QAbout.h:24: error: invalid function declaration
make[7]: *** [Dialogs.lo] Error 1
make[7]: Leaving directory `/home/slitt/junk/lyx-1.5.3/src/frontends/qt4'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/slitt/junk/lyx-1.5.3/src/frontends/qt4'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/slitt/junk/lyx-1.5.3/src/frontends/qt4'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/slitt/junk/lyx-1.5.3/src/frontends'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/slitt/junk/lyx-1.5.3/src/frontends'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/slitt/junk/lyx-1.5.3/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/slitt/junk/lyx-1.5.3/src'
make: *** [all-recursive] Error 1
[EMAIL PROTECTED] lyx-1.5.3]$

I tried to install qt 2.4.3, but it would have involved messing with my entire 
distribution, which is too much risk to take.

It shouldn't be this difficult to compile LyX. It wasn't this difficult a 
couple years ago. Perhaps the features of the latest and greatest QT 
shouldn't be used so early, so that those of us with a year old distro can 
compile it without putting our entire distro's QT on the block. Also, if/when 
this is solved, I'll write documentation to save the next poor soul from 
spending all day compiling it.

SteveT

Reply via email to