e0e71dc4f5
* NEW: Qt 4.5.0 is now required to compile the gb.qt4 components. [INTERPRETER] * NEW: You can now define a non-creatable but auto-creatable class. It means that you cannot instanciate the class, but you can use it statically. [GB.GTK] * NEW: Screens is a new pseudo-array of all screens. * NEW: Screen is a new class that represents the geometry of a screen. The X, Y, Width and Height properties return the full geometry. The AvailableX, AvailableY, AvailableWidth and AvailableHeight properties return the geometry available to the windows. The screen class can be used statically to get the geometry of the default screen. BEWARE: The available geometry is not yet implemented on gb.gtk! * NEW: Window.Screen is a new property that returns the screen where most of the window is located. * NEW: Desktop.{X,Y,Width,Height} are four new properties that return the available geometry of the default screen. It is an equivalent of Screen.{AvailableX,AvailableY,AvailableWidth,AvailableHeight}. [GB.QT4] * NEW: Screens is a new pseudo-array of all screens. * NEW: Screen is a new class that represents the geometry of a screen. The X, Y, Width and Height properties return the full geometry. The AvailableX, AvailableY, AvailableWidth and AvailableHeight properties return the geometry available to the windows. The screen class can be used statically to get the geometry of the default screen. * NEW: Window.Screen is a new property that returns the screen where most of the window is located. * NEW: Desktop.{X,Y,Width,Height} are four new properties that return the available geometry of the default screen. It is an equivalent of Screen.{AvailableX,AvailableY,AvailableWidth,AvailableHeight}. git-svn-id: svn://localhost/gambas/trunk@3413 867c0c6c-44f3-4631-809d-bfa615b0a4ec
65 lines
1.1 KiB
Text
65 lines
1.1 KiB
Text
dnl ---- configure.ac for gb.qt
|
|
|
|
AC_INIT(configure.ac)
|
|
AC_CONFIG_MACRO_DIR([m4])
|
|
GB_INIT(gb.qt4)
|
|
AC_PROG_LIBTOOL
|
|
|
|
AC_ARG_ENABLE(
|
|
qt-translation,
|
|
[ --enable-qt-translation use qt translation files (default: yes)],
|
|
gb_use_qt_translation=$enableval,
|
|
gb_use_qt_translation=yes
|
|
)
|
|
|
|
if test "$gb_use_qt_translation" = "yes"; then
|
|
AC_DEFINE(USE_QT_TRANSLATION, 1, [Use QT translation])
|
|
fi
|
|
|
|
GB_CHECK_XWINDOW
|
|
AM_CONDITIONAL(XWINDOW, test x"$have_x" = xyes)
|
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
qt,
|
|
QT,
|
|
[QT4 toolkit],
|
|
[src],
|
|
QtCore ">= 4.5.0" QtGui Qt3Support QtSvg
|
|
)
|
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
qtext,
|
|
QTEXT,
|
|
[QT4 toolkit extension],
|
|
[ext],
|
|
QtCore ">= 4.5.0" QtGui Qt3Support
|
|
)
|
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
qtwebkit,
|
|
QTWEBKIT,
|
|
[QT4 webkit component],
|
|
[webkit],
|
|
QtCore ">= 4.5.0" QtGui QtNetwork QtDBus QtXml QtWebKit ">= 4.5.0"
|
|
)
|
|
|
|
GB_COMPONENT_PKG_CONFIG(
|
|
qtopengl,
|
|
QTOPENGL,
|
|
[QT4 OpenGL],
|
|
[opengl],
|
|
QtCore ">= 4.5.0" QtGui QtOpenGL
|
|
)
|
|
|
|
MOC=`pkg-config --variable=moc_location QtCore`
|
|
AC_SUBST(MOC)
|
|
|
|
AC_OUTPUT( \
|
|
Makefile \
|
|
src/Makefile \
|
|
src/ext/Makefile \
|
|
src/webkit/Makefile \
|
|
src/opengl/Makefile \
|
|
)
|
|
|
|
GB_PRINT_MESSAGES
|