mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
rbutil: include the qt accessible plugin into the mac bundle. (Enables screenreader support on macs)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18800 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5aa0665b5b
commit
7470797b37
2 changed files with 18 additions and 2 deletions
|
|
@ -28,7 +28,12 @@ Q_IMPORT_PLUGIN(qtaccessiblewidgets)
|
|||
|
||||
int main( int argc, char ** argv ) {
|
||||
QApplication app( argc, argv );
|
||||
|
||||
#if defined(Q_OS_MAC)
|
||||
QDir dir(QApplication::applicationDirPath());
|
||||
dir.cdUp();
|
||||
dir.cd("plugins");
|
||||
QApplication::addLibraryPath(dir.absolutePath());
|
||||
#endif
|
||||
QString absolutePath = QCoreApplication::instance()->applicationDirPath();
|
||||
// portable installation:
|
||||
// check for a configuration file in the program folder.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue