Enrico Forestieri wrote:
I tried building qt4 with -no-qt3support, but when trying to build LyX
compilation fails as follows:
g++ -DHAVE_CONFIG_H -I. -I../../../../src/frontends/qt4 -I../../../src
-DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS
-DQ_CYGWIN_WIN -I../../../../src -I../../../../src/frontends
-I../../../../images -I/usr/local/qt4-cygwin/include
-I/usr/local/qt4-cygwin/include/QtCore -I/usr/local/qt4-cygwin/include/QtGui
-I../../../../boost -I../../../../src/frontends/controllers -Wno-uninitialized
-O2 -MT Alert_pimpl.lo -MD -MP -MF .deps/Alert_pimpl.Tpo -c
../../../../src/frontends/qt4/Alert_pimpl.C -o Alert_pimpl.o
In file included from ../../../../src/frontends/qt4/Alert_pimpl.C:17:
./ui/QAskForTextUi.h:15:42: Qt3Support/Q3MimeSourceFactory: No such file or
directory
make[7]: *** [Alert_pimpl.lo] Error 1
A quick check reveals that Qt3Support is seemingly still needed for
compiling LyX:
$ grep -rl Qt3Support build/src/frontends/qt4
These file should be regenerated.
Does it suffice that I manually copy the Qt3Support files (which are
present in the the qt4 build dir, but do not get installed) to the
qt4 installation dir, or should I enable support for qt3 when building qt4?
Nothing like that... Forgot to "./autogen.sh" perhaps?
Abdel.