Fix TQGl detection

pull/1/head
Timothy Pearson 13 years ago
parent 2099f23750
commit dd3b281c57

@ -399,15 +399,15 @@ if test "$build_opengl" != "no"; then
save_LIBS="$LIBS"
save_LDFLAGS="$LDFLAGS"
CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes"
CXXFLAGS="$CXXFLAGS -I$qt_incdir -I/usr/include/tqt $all_includes"
LDFLAGS="$LDFLAGS -L$qt_libdir $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS"
LIBS="$LIBS $LIBQT $KDE_MT_LIBS"
AC_TRY_LINK([
#include <qgl.h>
#include <tqgl.h>
],
[
(void)new QGLWidget((QWidget*)0, "qgl");
(void)new TQGLWidget((TQWidget*)0, "qgl");
],
ac_cv_kde_qt_has_opengl=yes,
ac_cv_kde_qt_has_opengl=no)

Loading…
Cancel
Save