I compiled my program with qt 4.7, but when I load it in qt 5.0.1 i receive the following error for one of the header
include does not have such header at all. you have any solution to fix this?QtGui/QAbstractButton no such file or directory
I compiled my program with qt 4.7, but when I load it in qt 5.0.1 i receive the following error for one of the header
include does not have such header at all. you have any solution to fix this?QtGui/QAbstractButton no such file or directory
Have you ?
... and it should be of course!Qt Code:
#include <QtWidgets/QAbstractButton>To copy to clipboard, switch view to plain text mode
It is not that different, they just have put all widget stuff to an extra module. That's all.
If you just remove the unnecessary module name from the include, then there is no change at all between Qt4 and Qt5
I.e.
Qt Code:
#include <QAbstractButton>To copy to clipboard, switch view to plain text mode
Cheers,
_
Bookmarks