Qt is an open source cross-platform application and UI framework for developers using C++ (
see more).
I compiled
Qt 4.8.5 and adapted some simple applications for GCW Zero.
ApplicationsLightMaps is an OpenStreetMap viewer from
QT4 SDK.
---
Wi-Fi Internet connection required ---
Controls:
- Move: D-pad
- Zoom in: "Right shoulder"
- Zoom out: "Left shoulder"
- Menu: "B" button
- Activate menu item: "Start" button
- Exit: "Select" button
Download opk:
lightmaps.opk 6.5 MB
Source:
lightmaps-gcw0-src.tar.gzAnomaly is a simple web-browser for embedded system from
QT4 SDK.
---
Wi-Fi Internet connection required ---
Controls:
- Move: Mouse mode (Power+B)
- Exit: "Select" button
- Onscreen keyboard is not implemented.
Download opk:
anomaly.opk 14.8 MB
Source:
anomaly-gcw0-src.tar.gzCalculator is a simple application from
QT4 SDK.
Controls:
- Select buttons: D-pad
- Push button: "Y" button
- Clean: "Left shoulder"
- Backspace: "Right shoulder"
- Equal: "Start" button
- Exit: "Select" button
Download opk:
calculator-qt.opk 7 MB
Source:
calculator-qt-gcw0-src.tar.gz and inside .opk
GamesBattleship is a simple sidescrolling arcade game from
qt-apps.org.
Controls:
- Move: D-pad
- Shoot: Y button
- Pause: Right shoulder
- Exit: Select
Download opk:
battleship.opk 7.8 MB
Source:
battleship-gcw0-src.tar.gzPortedAsteroids is a port of Asteroids game from
QT4 SDK.
Controls:
- Thrust: D-pad up
- Brake: D-pad down (item needed)
- Rotate left: D-pad left
- Rotate right: D-pad right
- Shoot: Y button
- Shield: X button
- Teleport: B button
- Launch: A button
- New game: START button
- Exit: SELECT button
Download opk:
portedasteroids.opk 6.5 MB
Source:
portedasteroids-gcw0.src.tar.gzOPK-version of applications includes all necessary shared libs. You can unpack opk file for access to binaries:
$ unsquashfs -d /tmp/tempdir *.opk
Then use a *.dge shell script to launch app.
Next archive contains Qt libraries for GCW0 separately:
qt4-gcw0.tar.gz (19.6 MB).
All Qt's things for developers:
qt-4.8.5-gcw0.tar.gzTo build Qt I used
custom toolchain with IPV6 support (added BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y into buildroot config) and
qt-pthread patch (many thanks for
EXL's tutorial!).
Configure options:
./configure -embedded mips -opensource -confirm-license -little-endian -host-little-endian -qt-mouse-tslib -qt-mouse-linuxinput -opengl es2 -qt-gfx-transformed -qt-gfx-vnc -qt-zlib -qt-libtiff -qt-libpng -qt-libmng -qt-libjpeg -nomake docs -fast -prefix /opt/QtSDKs/Qt4.8.5-mips-gcw0-new
Supported features:
+ Core, widgets, network etc works fine
+ QML/Javascript and webkit works fine
+/- OpenGL ES works only for 2D grafic
- Phonon and some other multimedia features requires glibc and gstreamer support.
Edit 2019-02-07: fixed links, removed static-version stuff, spell-checked