mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-09-12 08:02:00 +02:00
debugging QtDBus test on Linux
This commit is contained in:
+10
-1
@@ -275,6 +275,15 @@ AC_MSG_CHECKING(QT DBus framework)
|
|||||||
( cd config_tests
|
( cd config_tests
|
||||||
cat <<EOF > test.pro
|
cat <<EOF > test.pro
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
|
unix {
|
||||||
|
macx {
|
||||||
|
LIBS += -framework QtDBus
|
||||||
|
}
|
||||||
|
!macx {
|
||||||
|
# workaround for QT += dbus not working atm
|
||||||
|
LIBS += -lQtDBus
|
||||||
|
}
|
||||||
|
}
|
||||||
SOURCES = qtdbus_test.cpp
|
SOURCES = qtdbus_test.cpp
|
||||||
TARGET = qtdbus_test
|
TARGET = qtdbus_test
|
||||||
EOF
|
EOF
|
||||||
@@ -282,7 +291,7 @@ EOF
|
|||||||
test -n "$QMAKESPEC" && C="$C -spec $QMAKESPEC "
|
test -n "$QMAKESPEC" && C="$C -spec $QMAKESPEC "
|
||||||
$QMAKE $C test.pro
|
$QMAKE $C test.pro
|
||||||
test -f Makefile || exit 1
|
test -f Makefile || exit 1
|
||||||
make >/dev/null 2>&1 ) && {
|
make >config.log 2>&1 ) && {
|
||||||
AC_MSG_RESULT(ok)
|
AC_MSG_RESULT(ok)
|
||||||
AC_DEFINE_UNQUOTED(HAVE_QTDBUS, 1, [qtdbus])
|
AC_DEFINE_UNQUOTED(HAVE_QTDBUS, 1, [qtdbus])
|
||||||
AC_SUBST(HAVE_QTDBUS)
|
AC_SUBST(HAVE_QTDBUS)
|
||||||
|
|||||||
Reference in New Issue
Block a user