11-26-2017, 01:01 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: May 2017
Device: Kindle Paperwhite 3
|
Qt 5.9.3 for Kindle
The Qt Toolkit is Copyright (C) 2015 The Qt Company Ltd.
Contact: http://www.qt.io/licensing/ I built Qt 5.9.3 for Kindle using Amazon's toolchain. I cannot upload it as an attachment as it's too big (49M), so I put it in Google drive. https://drive.google.com/file/d/1BS2...QaTSdroVA/view You should first set up a toolchain for Kindle. Then you untar the file above to /opt/kindle-qt5 (on your computer), and set the Build Kit in your Qt Creator to use your toolchain's ARM GCC, G++ and use qmake located in /opt/kindle-qt5/host/bin/qmake. Then you should copy the contents of /opt/kindle-qt5/target to /mnt/us/qt on your Kindle. You can suppress the include directory to save some space. Note that the FAT32 filesystem doesn't support symlinks, so you may copy the symlinks as a regular file (which eats more disk space) or you can create a loop file in ext3 and mount it to /mnt/us/qt. You should either create a symlink from /usr/java/lib/fonts to /mnt/us/qt/lib/fonts or directly copy the contents (the latter is the only option if you use /mnt/us directly rather than creating a loop device in ext 3 because FAT32 doesn't support symlinks) to make the text appear on your screen. And you can run your Qt apps directly after compilation. Don't forget to set your window title as described here: https://wiki.mobileread.com/wiki/Run...n_Kindle_Touch As for the keyboard, I've written a QT IM module to support Kindle native keyboard: https://github.com/t123yh/kindleinput-qt . You can enable it using export QT_IM_MODULE=kindle . The module is included in the tar file above. If there are any problems I hope you can reply below! Last edited by t123yh; 11-26-2017 at 03:59 AM. |
11-26-2017, 02:09 AM | #2 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
when, where and how are you going to comply with the qt license terms?
That is very important that you abide by the license terms if you are going to post this on Mobileread. (You did read the "guidelines" when you registered here? Correct?) |
11-26-2017, 04:01 AM | #3 | |
Junior Member
Posts: 3
Karma: 10
Join Date: May 2017
Device: Kindle Paperwhite 3
|
Quote:
I've made no change to Qt source code. I just simply compiled it using Amazon's toolchain. Could you please be specific on when, where and how I am not complying with the Qt LGPL license? And what should I do to comply with it? Last edited by t123yh; 11-26-2017 at 04:09 AM. |
|
11-26-2017, 07:51 AM | #4 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
There is no mystery involved in locating the parts you have not complied with. Hint: All of which is part of the reason you find gtk+ used more often in Open Source projects than qt. Last edited by knc1; 11-26-2017 at 07:53 AM. |
|
11-26-2017, 11:22 AM | #5 |
Custom User Title
Posts: 42
Karma: 10
Join Date: Aug 2017
Device: Kindle PW3
|
Here is a list of the respective licenses.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle Nicknaming Scheme, Using Kindle with Calibre, and Hacking the Kindle | Klif | Amazon Kindle | 11 | 09-12-2012 05:11 PM |
$0.01 in Kindle Store: Interactive Sudoku for Kindle 2 and Kindle DX - Volume 1 | Xia | Deals and Resources (No Self-Promotion or Affiliate Links) | 2 | 11-07-2009 10:06 AM |