--- VirtualBox-5.1.0/configure.old 2016-07-14 19:53:37.651943252 +0200 +++ VirtualBox-5.1.0/configure 2016-07-14 19:54:06.106941012 +0200 @@ -1671,7 +1671,7 @@ qt5_ver=`pkg-config Qt5Core --modversion 2>> $LOG` if [ $? -eq 0 ]; then echo "(Qt5 from pkg-config)" >> $LOG - FLGQT5=`pkg-config Qt5Core --cflags` + FLGQT5="`pkg-config Qt5Core --cflags` -std=c++11" INCQT5=`strip_I "$FLGQT5"` LIBDIR5=`pkg-config Qt5Core --variable=libdir` LIBQT5=`pkg-config Qt5Core --libs`