Commit fc55e4a1 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

qt4: remove ObjC++ hacks

This should fix the build with recent automake (fix #6911).
parent 80584f26
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
AUTOMAKE_OPTIONS = subdir-objects AUTOMAKE_OPTIONS = subdir-objects
MOSTLYCLEANFILES = $(UIH) MOSTLYCLEANFILES = $(UIH)
SUFFIXES = .ui .h .hpp .moc.cpp .mm SUFFIXES = .ui .h .hpp .moc.cpp
nodist_SOURCES_qt4 = \ nodist_SOURCES_qt4 = \
main_interface.moc.cpp \ main_interface.moc.cpp \
...@@ -246,9 +246,6 @@ endif ...@@ -246,9 +246,6 @@ endif
$(AM_V_at)sed -e 's/Q_(\"_(\\\"\(.*\)\\\")"/Q_("\1"/' $@.tmp >$@ $(AM_V_at)sed -e 's/Q_(\"_(\\\"\(.*\)\\\")"/Q_("\1"/' $@.tmp >$@
$(AM_V_at)rm -f $@.tmp $(AM_V_at)rm -f $@.tmp
.mm.lo:
$(top_builddir)/libtool --verbose --mode=compile $(CXX) $(objcxxflags) -DQ_WS_MAC -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir) $(CXXFLAGS_qt4) -c $< -o $@
SOURCES_qt4 = qt4.cpp \ SOURCES_qt4 = qt4.cpp \
menus.cpp \ menus.cpp \
main_interface.cpp \ main_interface.cpp \
...@@ -319,10 +316,6 @@ SOURCES_qt4 = qt4.cpp \ ...@@ -319,10 +316,6 @@ SOURCES_qt4 = qt4.cpp \
util/buttons/RoundButton.cpp \ util/buttons/RoundButton.cpp \
styles/seekstyle.cpp styles/seekstyle.cpp
if HAVE_DARWIN
SOURCES_qt4 += util/searchlineedit_mac.mm
endif
if HAVE_WIN32 if HAVE_WIN32
SOURCES_qt4 += main_interface_win32.cpp SOURCES_qt4 += main_interface_win32.cpp
endif endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment