1
0
Fork 0
forked from len0rd/rockbox

rbutil: fix windows cross compile (via M cross environment)

This fixes a couple of issues when cross-compiling for windows:
 - lib builds (i.e. mks5lboot) were overriding the cross CC/CXX with the
   native CC, producing incompatible binaries.
 - Qt made the accessibility plugin part of the core library, so we no
   longer need to import it.

Change-Id: I9d884aee62dfa51d3624a3fa9b99c23b3b375f20
This commit is contained in:
Franklin Wei 2019-11-09 20:52:08 -05:00
parent 1925d043a2
commit a5f228eee2
4 changed files with 23 additions and 12 deletions

View file

@ -29,7 +29,11 @@
#include <QtPlugin>
#if QT_VERSION < 0x050000
Q_IMPORT_PLUGIN(qtaccessiblewidgets)
#else
#elif QT_VERSION < 0x050400
/*
* accessibility is no longer a plugin after 5.4.0:
* <https://bugreports.qt.io/browse/QTBUG-37957?focusedCommentId=239189&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-239189>
*/
Q_IMPORT_PLUGIN(AccessibleFactory)
#endif
#endif