I set the tooltip duration for tool buttons in Qt Creator design mode. The application works decently in Qt Creator.
But when I run the same application in a terminal command using make, followed by the qmake command, I get the following errors associated with each tool button that I added in design mode:
ui_mainwindow.h:377:22: error: ‘class QToolButton’ has no member named ‘setToolTipDuration’ pointButton->setToolTipDuration(200000);
Why is the above error displayed when using the make command? How to make it work with make command?
source
share