Let's take Qt online installer and Qt Creator as an example.
At the time of this writing:
| // Helper to find parent element matching a condition | |
| function findParentMatching(element, condition, maxDepth = 10) { | |
| let current = element; | |
| let depth = 0; | |
| while (current && depth < maxDepth) { | |
| if (condition(current)) { | |
| return current; | |
| } | |
| current = current.parentElement; |
| { | |
| "keyboard_name": "toshiba_t1200", | |
| "manufacturer": "Toshiba", | |
| "url": "", | |
| "maintainer": "penk", | |
| "usb": { | |
| "vid": "0xFEED", | |
| "pid": "0x0000", | |
| "device_version": "1.0" | |
| }, |
| diff --git a/src/Makefile b/src/Makefile | |
| index 182dd0c..ed34a08 100644 | |
| --- a/src/Makefile | |
| +++ b/src/Makefile | |
| @@ -1,8 +1,8 @@ | |
| -include Makefile.local | |
| -CC_NATIVE ?= gcc | |
| -CXX_NATIVE ?= g++ | |
| -LD_NATIVE ?= g++ |
| #include <stdio.h> | |
| #include <unistd.h> | |
| #include <time.h> | |
| #include <wiringSerial.h> | |
| #define UART_NODE "/dev/ttyS0" | |
| enum KEY_TYPE { | |
| SHORT_PRESS = 1, | |
| MIDDLE_PRESS = 2, |
Download file from download.qt.io.
| import QtQuick 2.0 | |
| import QtQuick.Window 2.0 | |
| import QtWebEngine 1.0 | |
| import QtQuick.VirtualKeyboard 2.2 | |
| import QtQuick.VirtualKeyboard.Settings 2.2 | |
| Window { | |
| width: Screen.width | |
| height: Screen.height | |
| visible: true |
| (function () { | |
| window.addEventListener("keypress", function (e) { | |
| console.log('keypress:'+String.fromCharCode(e.keyCode)); | |
| e.preventDefault(); | |
| }, false); | |
| })(); |
| QString QQuickLoader::errorString() const | |
| { | |
| Q_D(const QQuickLoader); | |
| QString ret; | |
| if(d->component->errors().isEmpty()) | |
| return ret; | |
| if (d->component && d->component->isError()) { | |
| const QList<QQmlError> errorList = d->component->errors(); | |
| for (const QQmlError &e : errorList) { |
penk@abulafia:~/armhf-rootfs$ du -h ./usr/lib/arm-linux-gnueabihf/libOxideQtCore.so.0
51M ./usr/lib/arm-linux-gnueabihf/libOxideQtCore.so.0
penk@abulafia:~/armhf-rootfs$ du -h ./usr/lib/arm-linux-gnueabihf/oxide-qt
420K ./usr/lib/arm-linux-gnueabihf/oxide-qt/chromium_l10n
23M ./usr/lib/arm-linux-gnueabihf/oxide-qt