|01-20-2013, 05:32 PM||#1|
Join Date: Jan 2013
Device: KoBo Glo
Problems compiling Qt for Kobo Glo
I've been roaming this forum for the past 4-5 days and I really liked the idea of developing some own applications for my Kobo Glo. My ultimate goal would be to create a more comfortable pdf-reader but that is still far away :-)
I have next to none linux- and Qt-background except some playing around a few years ago and the last few days. I do however have some experience with C/C++. I run Ubuntu 12.04, installed Qt 4.8.0 (configured for ARM) and use arm-linux-guneabi-g++ for compiling. I can run standard C-executables compiled by me (like "hello world" and stuff) but as soon as I start using Qt I get stuck...
For example: If I download sergeyvl12's KoboLauncher (http://www.mobileread.com/forums/sho...d.php?t=201632) and use his binaries everything is fine and the application has no errors. But if I use his source files, compile them (qmake + make) and try to run them my Glo kind of freezes. In the telnet-console i get
Loading iType.. YES
KoboLauncher compiled by me:
file KoboLauncher KoboLauncher: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.31, BuildID[sha1]=0xcd0375f0d4f08cb266fd2242ff86d41f8690d771, not stripped
file KoboLauncher KoboLauncher: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped
And always remember: linux-newb here, so if you have the time: I am in no way opposed to learn what BuildID[sha1] means
Last edited by j4GGy; 01-20-2013 at 05:34 PM.
|01-21-2013, 01:11 AM||#2|
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
I used Qt 4.8.4 (the latest official qt without Kobo modifications).
My script for compiling Qt is:
./configure -embedded arm -xplatform qws/linux-arm-g++ -opensource \
-prefix /usr/local/qt4_kobo -nomake examples -nomake demos \
-nomake docs -nomake translations -qt-libjpeg -no-stl -no-webkit \
-no-qt3support -no-phonon -no-phonon-backend -no-multimedia -no-openssl \
-no-gif -no-sql-sqlite -no-nis -no-cups -no-largefile \
-no-accessibility -no-xmlpatterns -no-audio-backend \
-no-declarative -no-libtiff -no-libmng -no-pch -no-dbus -no-declarative-debug \
-no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite \
-no-sql-sqlite2 -no-sql-sqlite_symbian \
-no-sql-tds -no-mmx -no-3dnow -no-sse -no-sse2 -no-accessibility \
-qt-gfx-linuxfb -qt-gfx-transformed -no-gfx-qvfb -no-gfx-vnc \
-no-gfx-multiscreen -no-gfx-directfb -no-gfx-qnx -no-gfx-integrityfb \
-no-kbd-qvfb -no-kbd-tty -no-kbd-linuxinput -no-kbd-qnx -no-kbd-integrity \
-no-mouse-qvfb -no-mouse-linuxtp -no-mouse-pc -no-mouse-tslib \
-DQT_KEYPAD_NAVIGATION -DQT_NO_QWS_CURSOR \
P.S. What toolchain are you using for compiling ?
Last edited by sergeyvl12; 01-21-2013 at 01:28 AM.
|01-21-2013, 04:10 AM||#3|
Join Date: Jan 2013
Device: KoBo Glo
Thx for the reply, it worked out for me. Although it proved me wrong The newly compiled files still have this Build[sha1]-thingy in the file-output. I guess it has to do with not using Codesourcery or whatever....
Regarding your question: I use arm-linux-gnueabi-* as compilers - I don't know if that counts as a "toolchain" but it works
I had to alter your script because of that, of course.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Glo Can kobo glo run android app such as nook glo?||suspect||Kobo Developer's Corner||1||12-28-2012 11:25 PM|
|Kobo glo 3.2.1: PDF problems unsolved by Kobo||Hotbill||Kobo Reader||0||12-28-2012 05:31 AM|
|Problems compiling calibre||DOMBlogger||Development||2||01-23-2012 04:48 AM|
|Problems compiling||unkilbeeg||Sigil||1||09-13-2009 01:49 PM|
|Problems compiling eb1150 on Ubuntu Intrepid||luqmaninbmore||Fictionwise eBookwise||10||01-15-2009 07:14 PM|