![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
Compile Plugin and koboreader
Hi,
I tried today to compile the Kobo repository on github following this howto : https://www.mobileread.com/forums/sho...d.php?t=185680. The install of sourcery g++ went fine. The first components in the build of koboreader are compiling fine but qt is compiled with my g++ (amd64) and not the arm one so the linking fails after. Is there some known tweak to fix it ? My ultimate goal is to compile the plugin (http://code.google.com/p/kobo-plus/). there is no howto on the wiki ? can anyone help me in there ? Thanks in advance. |
![]() |
![]() |
![]() |
#2 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 88
Karma: 39373
Join Date: Apr 2003
Location: Austria
Device: Kobo Touch
|
Quote:
You have to be aware that for building the kobo-plus plugin you have to use Qt 4.8.0. What kind of linker error are you getting? |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
ebook fan
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
|
Quote:
I've managed to compile Qt 4.8.0 and example plugin (libVideoPoker.so). Could you explain please (I have no Kobo reader yet but I have a person who is ready to test my app) https://www.mobileread.com/forums/sho...d.php?t=196589 1. How can I install this plugin to Kobo? How can I run it? 2. Do I need to install some kind of jailbreaks for Kobo to run my plugin? 3. What's the known limitations/restrictions to plugins? 4. What's the path to kobo flash memory? (e.g. on Kindle this path is /mnt/us) 5. Can I compile and run usual executable Qt app (not a plugin). Thanks for help! |
|
![]() |
![]() |
![]() |
#4 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 88
Karma: 39373
Join Date: Apr 2003
Location: Austria
Device: Kobo Touch
|
Quote:
2) NO. For easier debugging and so on you could install SSH and Telnet on the reader but it's not necessary for running the plugin. 3) Plugins can fully use QT Widgets. The 'HOME' button always takes you back to the Reader Homescreen. 4) '/mnt/onboard/' 5) Yes you can but you have to implement the eink driver interface for QT first. There is already a implementation here at mobileread. https://www.mobileread.com/forums/sho...d.php?t=187241 You also have to kill 'nickel' before starting your application. After exiting your application you have to restart 'nickel' (the correct way can be found here in the forum). Hope this helps a little bit. |
|
![]() |
![]() |
![]() |
#5 | |
ebook fan
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
|
Thanks! Your answer is very helpful!
Quote:
Last edited by sergeyvl12; 11-15-2012 at 12:35 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
Sorry for my late answer.
As I stated in my original post, I tried to compile the all Kobo_reader package from github. I tried to follow the wiki and got stuck with qt compile. The script try to compile qt 4.6.2. The problem QT 4.8 is also on the repository, I can try to compile it with same parameters. Do I need to apply the patch in Kobo-Reader / patches / qt-everywhere-opensource-src-4.8.0_kobo.patch ? Thanks in advance. |
![]() |
![]() |
![]() |
#7 | |
ebook fan
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
|
Quote:
ARCHIVE=qt-everywhere-opensource-src-4.8.0.tar.gz ARCHIVEDIR=qt-everywhere-opensource-src-4.8.0 and the patch should be applied automatically. |
|
![]() |
![]() |
![]() |
#8 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
Found my problem (at least for now). I was missing some dependencies : libdbus-1 libxevt-dev
|
![]() |
![]() |
![]() |
#9 |
ebook fan
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
|
Can I add a plugin without manual editing of KoboReader.sqlite?
For now this is the only way to get libHelloKobo.so work for me. I changed the MIME TYPE to "application/x-games-hellokobo" in one epub file (table: contents). But this solution looks ugly... Another problem is that user input doesn't work. So, the only purpose from plugin is to start a standalone Qt application for now ... Last edited by sergeyvl12; 01-02-2013 at 02:52 PM. |
![]() |
![]() |
![]() |
#10 |
Enthusiast
![]() ![]() ![]() Posts: 49
Karma: 208
Join Date: Nov 2012
Device: Kobo Glo
|
I'm looking for the same, does anybody know something about that?
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin not customizable: Plugin: HTML Output does not need customization | flyingfoxlee | Conversion | 2 | 02-24-2012 02:24 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |
Koboreader.sqlite gundged | maxwelledison | Kobo Reader | 21 | 01-12-2011 08:24 AM |
New Plugin Type Idea: Library Plugin | cgranade | Plugins | 3 | 09-15-2010 12:11 PM |
Who can compile a .c program for me? | owl123 | Workshop | 14 | 04-19-2009 04:26 AM |