moc does not understand all flags; refs #40

master
Marc Wäckerlin 11 years ago
parent 22d3685846
commit 22815c914c
  1. 4
      configure.in

@ -115,7 +115,7 @@ PKG_CHECK_MODULES([QT], [Qt5Core Qt5Gui Qt5Widgets Qt5Network],
RCC=${RCC:-$(pkg-config --variable=rcc_location Qt5Core)}
LUPDATE=${LUPDATE:-$(pkg-config --variable=lupdate_location Qt5Core)}
LRELEASE=${LRELEASE:-$(pkg-config --variable=lrelease_location Qt5Core)}
CXXFLAGS+=" -DQT_NETWORK_LIB ${QT_CFLAGS}"
CPPFLAGS+=" -DQT_NETWORK_LIB ${QT_CFLAGS}"
LIBS+=" ${QT_LIBS}"
have_qt=1],
[PKG_CHECK_MODULES([QT], [QtCore QtGui QtNetwork],
@ -125,7 +125,7 @@ PKG_CHECK_MODULES([QT], [Qt5Core Qt5Gui Qt5Widgets Qt5Network],
RCC=${RCC:-$(pkg-config --variable=rcc_location QtCore)}
LUPDATE=${LUPDATE:-$(pkg-config --variable=lupdate_location QtCore)}
LRELEASE=${LRELEASE:-$(pkg-config --variable=lrelease_location QtCore)}
CXXFLAGS+=" -DQT_NETWORK_LIB ${QT_CFLAGS}"
CPPFLAGS+=" -DQT_NETWORK_LIB ${QT_CFLAGS}"
LIBS+=" ${QT_LIBS}"
have_qt=1],
[have_qt=0])])

Loading…
Cancel
Save