Am 14.05.2013 um 16:24 schrieb Kornel Benko <kor...@lyx.org>:

> Am Dienstag, 14. Mai 2013 um 16:10:08, schrieb Stephan Witt <st.w...@gmx.net>
> > This breaks the compilation of tex2lyx:
> > 
> > In file included from /Users/stephan/git/lyx/src/tex2lyx/../Lexer.cpp:23:
> > /Users/stephan/git/lyx/src/tex2lyx/../support/gzstream.h:35:18: error: 
> > QtCore: No such file or directory
> > 
> > Stephan
>  
> Try again

Ok, is auto-tools use deprecated already? :)

If not, this should help:

diff --git a/src/tex2lyx/Makefile.am b/src/tex2lyx/Makefile.am
index 5be47e7..c547802 100644
--- a/src/tex2lyx/Makefile.am
+++ b/src/tex2lyx/Makefile.am
@@ -18,6 +18,7 @@ DEFAULT_INCLUDES =
 
 AM_CPPFLAGS += -DTEX2LYX -DNO_LAYOUT_CSS $(PCH_FLAGS) 
-I$(top_srcdir)/src/tex2lyx \
        -I$(top_srcdir)/src -I$(top_builddir) $(BOOST_INCLUDES)
+AM_CPPFLAGS += $(QT4_CPPFLAGS) $(QT4_CORE_INCLUDES)
 
 TEST_FILES = \
        test/runtests.py \

tex2lyx requires QtCore now… This violates the KISS paradigm, IMHO.

Stephan

Reply via email to