Qt widgets in version 5

Tue 29 Oct 2013

Qt5 has moved several classes to a new module QtWidgets.

Earlier this month I modified my Windows platform and threw out cygwin and replaced it with the latest version of MinGW. Recently I realized that this has broken my GUI program for calendar formulas.

I had to learn that in Qt5 several classes have been moved from QtGui into the new module QtWidgets. So, after generating the project file calg.pro I had to edit this and add the line ‘QT += widgets’ to ensure the right include files and libraries are added/linked to it.