moc does not understand all flags; refs #40
This commit is contained in:
@@ -115,7 +115,7 @@ PKG_CHECK_MODULES([QT], [Qt5Core Qt5Gui Qt5Widgets Qt5Network],
|
|||||||
RCC=${RCC:-$(pkg-config --variable=rcc_location Qt5Core)}
|
RCC=${RCC:-$(pkg-config --variable=rcc_location Qt5Core)}
|
||||||
LUPDATE=${LUPDATE:-$(pkg-config --variable=lupdate_location Qt5Core)}
|
LUPDATE=${LUPDATE:-$(pkg-config --variable=lupdate_location Qt5Core)}
|
||||||
LRELEASE=${LRELEASE:-$(pkg-config --variable=lrelease_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}"
|
LIBS+=" ${QT_LIBS}"
|
||||||
have_qt=1],
|
have_qt=1],
|
||||||
[PKG_CHECK_MODULES([QT], [QtCore QtGui QtNetwork],
|
[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)}
|
RCC=${RCC:-$(pkg-config --variable=rcc_location QtCore)}
|
||||||
LUPDATE=${LUPDATE:-$(pkg-config --variable=lupdate_location QtCore)}
|
LUPDATE=${LUPDATE:-$(pkg-config --variable=lupdate_location QtCore)}
|
||||||
LRELEASE=${LRELEASE:-$(pkg-config --variable=lrelease_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}"
|
LIBS+=" ${QT_LIBS}"
|
||||||
have_qt=1],
|
have_qt=1],
|
||||||
[have_qt=0])])
|
[have_qt=0])])
|
||||||
|
Reference in New Issue
Block a user