ID 163613 - Version check for ModalMessage provides incorrect warning message

Follow

Original report from customer in Nov 2015 using Nuke9.0v8 :


One of our artist here has his Nuke script crash with this error message:
*
** NULL ID_ATTRIB**
** "ID"**
** ModalMessage::setMinimum width not implemented for this QT version*

Would you be able to explain what this message means?
            
--------------
Foundry Engineering investigated and commented:

Warning message is coming from ModalMessage::setMinimumWidth.
 
The problem is that the test:
 
#if QT_VERSION == QT_VERSION_CHECK(4, 7, 2)
 
should be
 
#if QT_VERSION >= QT_VERSION_CHECK(4, 7, 2)
 
This will not cause a crash. It just means that setMinimumWidth will have no effect with our current Qt version.

    We're sorry to hear that

    Please tell us why