Changeset View
Changeset View
Standalone View
Standalone View
build-aux/m4/bitcoin_qt.m4
Show First 20 Lines • Show All 124 Lines • ▼ Show 20 Lines | if test x$bitcoin_cv_static_qt = xyes; then | ||||
#endif | #endif | ||||
]])], | ]])], | ||||
[bitcoin_cv_need_acc_widget=yes], | [bitcoin_cv_need_acc_widget=yes], | ||||
[bitcoin_cv_need_acc_widget=no]) | [bitcoin_cv_need_acc_widget=no]) | ||||
]) | ]) | ||||
if test "x$bitcoin_cv_need_acc_widget" = "xyes"; then | if test "x$bitcoin_cv_need_acc_widget" = "xyes"; then | ||||
_BITCOIN_QT_CHECK_STATIC_PLUGINS([Q_IMPORT_PLUGIN(AccessibleFactory)], [-lqtaccessiblewidgets]) | _BITCOIN_QT_CHECK_STATIC_PLUGINS([Q_IMPORT_PLUGIN(AccessibleFactory)], [-lqtaccessiblewidgets]) | ||||
fi | fi | ||||
_BITCOIN_QT_CHECK_STATIC_PLUGINS([Q_IMPORT_PLUGIN(QMinimalIntegrationPlugin)],[-lqminimal]) | |||||
AC_DEFINE(QT_QPA_PLATFORM_MINIMAL, 1, [Define this symbol if the minimal qt platform exists]) | |||||
if test x$TARGET_OS = xwindows; then | if test x$TARGET_OS = xwindows; then | ||||
_BITCOIN_QT_CHECK_STATIC_PLUGINS([Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)],[-lqwindows]) | _BITCOIN_QT_CHECK_STATIC_PLUGINS([Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)],[-lqwindows]) | ||||
AC_DEFINE(QT_QPA_PLATFORM_WINDOWS, 1, [Define this symbol if the qt platform is windows]) | AC_DEFINE(QT_QPA_PLATFORM_WINDOWS, 1, [Define this symbol if the qt platform is windows]) | ||||
elif test x$TARGET_OS = xlinux; then | elif test x$TARGET_OS = xlinux; then | ||||
_BITCOIN_QT_CHECK_STATIC_PLUGINS([Q_IMPORT_PLUGIN(QXcbIntegrationPlugin)],[-lqxcb -lxcb-static]) | _BITCOIN_QT_CHECK_STATIC_PLUGINS([Q_IMPORT_PLUGIN(QXcbIntegrationPlugin)],[-lqxcb -lxcb-static]) | ||||
AC_DEFINE(QT_QPA_PLATFORM_XCB, 1, [Define this symbol if the qt platform is xcb]) | AC_DEFINE(QT_QPA_PLATFORM_XCB, 1, [Define this symbol if the qt platform is xcb]) | ||||
elif test x$TARGET_OS = xdarwin; then | elif test x$TARGET_OS = xdarwin; then | ||||
AX_CHECK_LINK_FLAG([[-framework IOKit]],[QT_LIBS="$QT_LIBS -framework IOKit"],[AC_MSG_ERROR(could not iokit framework)]) | AX_CHECK_LINK_FLAG([[-framework IOKit]],[QT_LIBS="$QT_LIBS -framework IOKit"],[AC_MSG_ERROR(could not iokit framework)]) | ||||
▲ Show 20 Lines • Show All 371 Lines • Show Last 20 Lines |