Not sure when this warning appeared, and I don't have time to persue this right now, but this seems like a serious issue upstream:
In file included from qt/walletframe.cpp:5:
In file included from ./qt/walletframe.h:9:
In file included from /usr/include/qt5/QtCore/QMap:1:
/usr/include/qt5/QtCore/qmap.h:620:27: warning: returning address of local temporary object [-Wreturn-stack-address]
return n ? n->value : adefaultValue;
^~~~~~~~~~~~~
qt/walletframe.cpp:68:45: note: in instantiation of member function 'QMap<QString, WalletView *>::value' requested here
WalletView *walletView = mapWalletViews.value(name);
^
/usr/include/qt5/QtCore/qmap.h:389:44: note: binding reference variable 'adefaultValue' here
const T value(const Key &key, const T &defaultValue = T()) const;
^ ~~~
1 warning generated.
This is Qt 5.2.1 on Ubuntu 14.04 so this may well be solved in newer versions.