Check for Qt 5 Version and Set QT Variable

Qt 5 version needs widgets to make properly