f57d3273fe
* NEW: Support for Haiku operating system. * BUG: Add explicit dependencies on 'x11' and 'gl' pkg-config packages. [GB.FORM] * NEW: MaskBox: Use unicode large spaces instead of ASCII smal spaces. [GB.UTIL.WEB] * BUG: Fix collection generation in JSON.Encode(). [GB.WEB.FORM] * NEW: WebImage: Add the Border property. * NEW: WebImage: Image property now can be an absolute path. * BUG: WebButton: Workaround Firefox not supporting flex on buttons. * BUG: WebComboBox: Enabled property is now taken into account. * BUG: WebUploadArea: The file name now keeps the uploaded file extension. git-svn-id: svn://localhost/gambas/trunk@7786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
60 lines
1.4 KiB
Text
60 lines
1.4 KiB
Text
dnl ---- configure.ac for gb.qt5
|
|
|
|
m4_include([../version.m4])
|
|
AC_INIT(gambas3-gb-qt5, GB_VERSION, GB_MAIL, [], GB_URL)
|
|
AC_CONFIG_MACRO_DIR([m4])
|
|
|
|
GB_INIT(gb.qt5)
|
|
AC_PROG_LIBTOOL
|
|
|
|
GB_CHECK_XWINDOW
|
|
AM_CONDITIONAL(XWINDOW, test x"$have_x" = xyes)
|
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
qt5, QT5, gb.qt5, [src],
|
|
'Qt5Core >= 5.3.0' Qt5Gui Qt5Widgets Qt5Svg Qt5PrintSupport Qt5X11Extras x11
|
|
)
|
|
|
|
## GB_COMPONENT_PKG_CONFIG(
|
|
## qt5ext, QT5EXT, gb.qt5.ext, [ext],
|
|
## 'Qt5Core >= 5.4.0' Qt5Gui Qt5Widgets
|
|
## )
|
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
qt5webkit, QT5WEBKIT, gb.qt5.webkit, [webkit],
|
|
'Qt5Core >= 5.3.0' Qt5Gui Qt5Widgets Qt5Network Qt5Xml Qt5WebKit Qt5WebKitWidgets Qt5PrintSupport x11
|
|
)
|
|
|
|
pkg-config --atleast-version 5.4.0 Qt5Core
|
|
if test $? != 0; then
|
|
AC_DEFINE_UNQUOTED(QT_OLD_OPENGL, 1, Use deprecated OpenGL widget)
|
|
QT_OPENGL_SUPPORT=Qt5OpenGL
|
|
GB_MESSAGE([Qt version is <= 5.3, using deprecated OpenGL widget])
|
|
fi
|
|
|
|
AM_CONDITIONAL(QT_OLD_OPENGL, [test x$QT_OPENGL_SUPPORT != x])
|
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
qt5opengl, QT5OPENGL, gb.qt5.opengl, [opengl],
|
|
'Qt5Core >= 5.3.0' Qt5Gui Qt5Widgets $QT_OPENGL_SUPPORT gl x11
|
|
)
|
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
qt5ext, QT5EXT, gb.qt5.ext, [ext],
|
|
'Qt5Core >= 5.3.0' Qt5Gui Qt5Widgets x11
|
|
)
|
|
|
|
MOC=`pkg-config --variable=host_bins Qt5Core`/moc
|
|
AC_SUBST(MOC)
|
|
|
|
AC_OUTPUT( \
|
|
Makefile \
|
|
src/Makefile \
|
|
src/webkit/Makefile \
|
|
src/opengl/Makefile \
|
|
src/ext/Makefile \
|
|
)
|
|
|
|
## src/ext/Makefile \
|
|
|
|
GB_PRINT_MESSAGES
|