Even better just needs to be set to a non zero value.

Qt Code:
  1. #if defined Q_OS_MAC
  2. if (QSysInfo::productVersion() == "10.11") {
  3. QTimer::singleShot(1, this, SLOT(elCapitanMenuHack()));
  4. }
  5. #endif
To copy to clipboard, switch view to plain text mode 

Thanks again.