Terrarium 計畫登上 Qt Project 的 Showroom 啦! 剛好昨天發佈了 1.2 版的更新 (iOS 審核中), 歡迎下載使用
1.2 版新功能
- 升級至 Qt 5.3.1
- 支援 Android L 與 Mac OSX 10.10
- 基本的存檔 (LocalStorage) 和 Email 匯出功能
- View 的全螢幕預覽模式
- 行號與游標顯示
Terrarium 計畫登上 Qt Project 的 Showroom 啦! 剛好昨天發佈了 1.2 版的更新 (iOS 審核中), 歡迎下載使用
Digia recently released Qt 5.3, but it reads like they provides Qt WebEngine exclusively for their Qt Enterprise Embedded customers, which is not true because you can totally build it from source, and it even works on EGLFS QPA without any modification.
All you need to do is:
src/core/gyp_run.pro, and replace desktop_linux.pri with:
linux: include(config/embedded_linux.pri)
qmake -r CONFIG+=release && make -j4 && sudo make install
If you're looking for a minimal QtWebEngine QML example, here it is: https://gist.github.com/penk/dea91ab88e3e8c838662.
又到了每月的 SlateKit Base 技術預覽 (technical preview) 版本更新時間, 本次的更動如下:
在 SlateKit Shell 介面方面, 新增解鎖畫面 (Lockscreen) 並更新至 oxide 分支最新版本, 歡迎下載試用:
若需要客製化 Launcher, 請參考 Launcher/main.cpp.
除了對應 QKeyEvent 至 QML 外, 還包括 Screen.orientation 及 QOpenGLContext 的實作.
Wow, So Viewport, Very Gesture
Oxide WebView merged touchscreen support in revision.378, oxide-qt package lands in PPA, so I updated the EGLFS patch accordingly.
How to Use It
To enable pinch gesture and viewport, you'll need a SharedGLContext created to do accelerated compositing, so the tool oxideqmlscene comes in handy:
$ export OXIDE_FORCE_FORM_FACTOR=tablet
$ cat << EOF > web.qml
import QtQuick 2.0
import com.canonical.Oxide 0.1
WebView {
width: 800; height: 600
url: 'http://duckduckgo.com'
}
EOF
$ oxideqmlscene web.qml
And there you go. Technical preview of SlateKit Base also upgraded: slatekit-base-tp-02202014.iso (97MB)
Oxide WebView is a QML wrapper of Chromium content API, just like QtWebEngine. I've been following Chris' development for a while now, it's (surprisingly) usable if you consider its early stage. For those who doesn't want to build Chromium but would like to try, here's the package oxide-qt PPA for amd64/i386 and armhf architecture.
Oxide was designed to be a replacement of QtWebKit and using on Ubuntu Touch, so it's no surprise it supports Mir, Ubuntu (legacy) and XCB QPA by default. As a big fan of Qt's EGLFS plugin, I couldn't be happier to have a Chromium rendered web browser running on bare-metal with nothing but framebuffer and EGL.
So here it is, enable_oxide_on_eglfs.patch. To use it you'll need a fbdev backend enabled Mesa, also Qt 5.2 configured with -opengl es2, and start qmlscene like:
export QT_QPA_PLATFORM=eglfs export EGL_PLATFORM=fbdev export EGL_DRIVER=egl_gallium qmlscene ./web.qml
Which web.qml may look like this:
import QtQuick 2.0
import com.canonical.Oxide 0.1
WebView {
width: 800
height: 600
url: "https://duckduckgo.com"
}
My talk proposal of SlateKit just got accepted by FOSSASIA 2014, so more information on this matter will be published here later. Stay tuned. :-)
QtWebProcess into app bundle (in our case, SlateKit.app):mkdir -p SlateKit.app/Contents/libexec cp ~/Qt5.2.0/5.2.0/clang_64/libexec/QtWebProcess SlateKit.app/Contents/libexec/
cat > SlateKit.app/Contents/libexec/qt.conf << EOF [Paths] Plugins = ../../PlugIns Imports = ../../Resources/qml Qml2Imports = ../../Resources/qml EOF
~/Qt5.2.0/5.2.0/clang_64/bin/macdeployqt SlateKit.app -qmldir=qml/ -executable=SlateKit.app/Contents/libexec/QtWebProcess -verbose=3 -dmg
Note there's a known bug of macdeployqt before Qt 5.1, here is a patched one.
I got some time to play with a Nexus 4 this weekend, and I decided to improve SlateKit Shell on Ubuntu Touch, here are some results:
Fixed the url text (TextField) layout, and improved Suggestion list:
Enabled OrientationHelper:
Tweaked Reader Mode text size:
And here's the tricky one, long pressed Context Menu support:
You can find all the commits from: https://code.launchpad.net/~penk/slatekit-shell/trunk
Best,
penk
Some quick updates:
Debian package information landed in Github, this also provides an Ubuntu PPA, so you can install it on Ubuntu Desktop 13.04 (Raring) or later by:
sudo add-apt-repository ppa:penk/touch
sudo apt-get update
sudo apt-get install slatekit-shell
SlateKit Shell has been added to Collection PPA, thanks to Michael Hall's help. If you're working on Ubuntu Touch please give it a shot: ppa:ubuntu-touch-coreapps-drivers/collection.
Rather than being tied to one single platform, I would like to make SlateKit a generic QML app suite. Only the one hosted on Launchpad will be using Ubuntu Components (mostly units for now, and some Popover); the main Github repository will not.
Thanks to Georgi Karavasilev, we just got a very first graphical asset, an icon. Stay tuned! ;-)
Best,
Ping-Hsun Chen (penk) <penkia@gmail.com>
Hey, we got on PCWorld, check it out.
Since Mozilla is working on its super cool B2G project, we don't want people get confused because of the brand/name, so starting today, we're replacing all the term 'Firefox OS' with just 'Browser OS' on xpud.org website and all future release notes.
I'm aware that the stable xPUD release hasn't been updated for a while (and yes, I'm fully aware of the stupid and retarded project name, but I was 17 when naming it). In past two years, the market and customers' focus are moving rapidly from netbook/desktop onto touchscreen and remote controller based devices, which is very difficult for project like xPUD to make a general format image and let our users to play with.
When we first started xPUD project back in 2008, there's no such OS-built-on-top-of-browser thing, and the major audiences are only netbooks. Now we have xPUD/xPad running on phone/tablet, handy Web API, and Open webOS team is going to release their authoring tool Ares next month! I'll say it's the best of times. :-)
Tired and wired we ruin too easy,
sleep in our clothes and wait for winter to leave.

我爬上全世界的屋頂
帶著沒有人能瞭解的心情
狂亂的時候
誰能擁抱我的空洞
絕望的時候
有誰能挽救我的惡夢
我想要為你贏得一個未來
卻一不小心輸了現在














