Hi, I was trying to build the latest master, but it fails at "checking for main in -lQt5Core ... no" during configure. v0.9.2.1 worked fine tough.
As you can see QT_LIBS is missing Qt libraries and plugins directories. config.log: http://pastebin.com/hCBY7NX6
Readding the following to bitcoin_qt.m4 seems to get it working again
--- C:/bitcoin-master/src/m4/bitcoin_qt.m4 Mon Aug 04 17:16:12 2014
+++ C:/bitcoin-master-patched/src/m4/bitcoin_qt.m4 Mon Aug 04 18:40:01 2014
@@ -357,6 +357,11 @@
])
BITCOIN_QT_CHECK([
+ LIBS=
+ if test x$qt_lib_path != x; then
+ LIBS="$LIBS -L$qt_lib_path"
+ fi
+
if test x$TARGET_OS == xwindows; then
AC_CHECK_LIB([imm32], [main],, BITCOIN_QT_FAIL(libimm32 not found))
fi