Pavel Sanda <[email protected]> writes:
> Jean-Marc Lasgouttes wrote:
>> Pavel Sanda <[email protected]> writes:
>> > JMarc, can you look? pavel
>>
>> I tried to build from scratch a tex2lyx with monolithic build and had no
>> problem there. OTOH, I cannot build in frontend/qt4 (but I did not find
>> how to fix this).
>
> hmm lately i haven't seen any problem. do you have error log?
> pavel
Here it is. The overrides of things like libFileSearch using QString are
ambiguous when only char[] strings are passed as argument.
And on the tex2lyx front?
JMarc
pegase: cd src/frontends/qt4/
pegase: nice make
make all-am
make[1]: Entering directory
`/afs/inria.fr/rocq/home/imara/lasgoutt/src/lyx/tbuild/src/frontends/qt4'
if /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../../../1.6.x/src/frontends/qt4 -I../../.. -DQT_NO_STL -DQT_NO_KEYWORDS
-DQT_NO_CAST_TO_ASCII -DQT_NO_STL -I../../../../1.6.x/src
-I../../../../1.6.x/src/frontends -I../../../../1.6.x/images -DQT_SHARED
-I/usr/lib/qt4/include -I/usr/lib/qt4/include/QtCore
-I/usr/lib/qt4/include/QtGui -I../../../../1.6.x/boost -Wextra -Wall -g
-O -MT liblyxqt4.lo -MD -MP -MF ".deps/liblyxqt4.Tpo" -c -o liblyxqt4.lo
liblyxqt4.cpp; \
then mv -f ".deps/liblyxqt4.Tpo" ".deps/liblyxqt4.Plo"; else rm -f
".deps/liblyxqt4.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I../../../../1.6.x/src/frontends/qt4 -I../../..
-DQT_NO_STL -DQT_NO_KEYWORDS -DQT_NO_CAST_TO_ASCII -DQT_NO_STL
-I../../../../1.6.x/src -I../../../../1.6.x/src/frontends
-I../../../../1.6.x/images -DQT_SHARED -I/usr/lib/qt4/include
-I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtGui
-I../../../../1.6.x/boost -Wextra -Wall -g -O -MT liblyxqt4.lo -MD -MP -MF
.deps/liblyxqt4.Tpo -c liblyxqt4.cpp -o liblyxqt4.o
../../../../1.6.x/src/frontends/qt4/GuiApplication.cpp: In function 'QString
lyx::frontend::iconName(const lyx::FuncRequest&, bool)':
../../../../1.6.x/src/frontends/qt4/GuiApplication.cpp:360: error: call of
overloaded 'libFileSearch(const char [8], const char [8], const char [4])' is
ambiguous
../../../../1.6.x/src/frontends/qt4/qt_helpers.h:70: note: candidates are:
lyx::support::FileName lyx::libFileSearch(const QString&, const QString&, const
QString&)
../../../../1.6.x/src/support/filetools.h:84: note: const
lyx::support::FileName lyx::support::libFileSearch(const std::string&, const
std::string&, const std::string&)
../../../../1.6.x/src/frontends/qt4/GuiImage.cpp: In member function 'bool
lyx::graphics::GuiImage::scale(const lyx::graphics::Params&)':
../../../../1.6.x/src/frontends/qt4/GuiImage.cpp:168: warning: comparison of
unsigned expression < 0 is always false
../../../../1.6.x/src/frontends/qt4/GuiWorkArea.cpp: In member function
'virtual void lyx::frontend::GuiWorkArea::wheelEvent(QWheelEvent*)':
../../../../1.6.x/src/frontends/qt4/GuiWorkArea.cpp:790: warning: converting to
'int' from 'double'
make[1]: *** [liblyxqt4.lo] Error 1
make[1]: Leaving directory
`/afs/inria.fr/rocq/home/imara/lasgoutt/src/lyx/tbuild/src/frontends/qt4'
make: *** [all] Error 2