Hmmm, wait, what exactly did you apply from the Debian patch? You can probably omit the main.cpp patches (I think both added code lines there are probably not relevant under Fedora, we do not use Debian-style multiarch and we do not have the Unity platform plugin either), but all the other changes (except the added "triplet:" lines, again because we do not use Debian-style multiarch) are probably needed. In particular, the gyp changes that remove the linking against plugins, and the removal of Q_IMPORT_PLUGIN lines from the source code.