Thread: Kobo Tweaks
View Single Post
Old 07-05-2013, 02:13 PM   #149
stefjan
Junior Member
stefjan is on a distinguished road
 
Posts: 7
Karma: 57
Join Date: Jun 2013
Device: kobo glo
@JonnyXDA and @giorgio130

Maybe you already know, but i wasted some time on it myself, so i want to share it with you in case it might speed up things: one of the things you might want to check is the QT_BUILD_KEY. I tried to compile something myself using the plugin interface as shown in the examples on github - kobolabs and what blocked me was the fact that QT only loads libraries via the plugin interface provided the QT_BUILD_KEY present in your .so matches the one present in the QT libraries on your kobo.

After building qt 4.8.0 (the one from github - kobolabs) including the patches present there, i manually modified the key in these files:

include/QtCore/qconfig.h
include/Qt/qconfig.h

Code:
// #define QT_BUILD_KEY "arm linux g++-4 no-pkg-config QT_NO_QWS_CURSOR QT_NO_QWS_QPF2"
#define QT_BUILD_KEY "arm qws/linux kobo-g++ no-pkg-config QT_NO_QWS_CURSOR QT_NO_QWS_QPF2"
without the change my .so was not picked up. Since Tweaks also relies on the plugin interface you might have to do something similar (i think)
stefjan is offline   Reply With Quote