Add checks for QT_NO_ACCESSIBILITY to prevent build issues with Qt without accessibility
This commit is contained in:
parent
ce7917048a
commit
dec6759e61
5 changed files with 13 additions and 0 deletions
|
@ -535,7 +535,9 @@ MultiMC::MultiMC(int &argc, char **argv) : QApplication(argc, argv)
|
|||
qDebug() << "<> Settings loaded.";
|
||||
}
|
||||
|
||||
#ifndef QT_NO_ACCESSIBILITY
|
||||
QAccessible::installFactory(groupViewAccessibleFactory);
|
||||
#endif /* !QT_NO_ACCESSIBILITY */
|
||||
|
||||
// load translations
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue