Just for fun, I'm trying building this on fedora 23. Being a modern guy, I thought I'd try --enable-qt5. I started with the SPEC file for fedora F25. I didn't get very far.
One thing strange, configure choked on: g++ -o conftest -O2 -g -pipe -Wall -Werror=format-security -Wp,- D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer- size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/include/qt5 -I/usr/include/qt5/Qt - I/usr/include/qt5/QtCore -I/usr/include/qt5/QtGui - I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtSvg - I/usr/include/qt5/QtConcurrent -I/usr/include/qt5/QtMacExtras - L/usr/lib64/qt5//lib -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat- hardened-ld test1.cc -lSM -lICE -lz -lmagic -lX11 -framework QtCore - framework QtGui --verbose g++: error: QtCore: No such file or directory g++: error: QtGui: No such file or directory What is -framework? AFAICT, this is a MACOS thing? Did configure confuse my linux box for a MAC??