In Qt 4.x, one typically needs to #include <QtGui>, and in Qt 5.x much of the stuff there is moved to <QtWidgets>
What are the recommended ifdefs needed in c++ source code and .pro -files in order to have a project compile under both Qt4 and Qt5 ?
In Qt 4.x, one typically needs to #include <QtGui>, and in Qt 5.x much of the stuff there is moved to <QtWidgets>
What are the recommended ifdefs needed in c++ source code and .pro -files in order to have a project compile under both Qt4 and Qt5 ?
Bookmarks