noinst_HEADERS = csettings.h imageviewer.h mainwindow.h mdichild.h ui_settings.h
qMakefile: gvedit.pro
- qmake-qt4 -o qMakefile gvedit.pro
+ $(QMAKE) -o qMakefile gvedit.pro
gvedit: main.cpp csettings.cpp mainwindow.cpp imageviewer.cpp mdichild.cpp qMakefile
$(MAKE) -f qMakefile prefix=${prefix} exec_prefix=${exec_prefix} top_builddir=$(top_builddir)
if test "x$with_qt" != "xyes"; then
use_qt="No (disabled)"
else
+
+ AC_CHECK_PROGS(QMAKE,qmake qmake-qt4,false)
+
PKG_CHECK_MODULES(QT, [QtCore],[
use_qt="Yes"
AC_DEFINE_UNQUOTED(HAVE_QT,1,