Fix TQGl detection

pull/1/head
Timothy Pearson 12 years ago
parent 5d8b99c785
commit 3c74e7815f

@ -388,10 +388,10 @@ if test "x$build_opengl" != "xno"; then
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