Courtesy to an open source project called uqq on Github, it is now possible to not only run QQ on Linux, but also on Ubuntu Phone! As Ubuntu phone is still under heavy development, and the current SDK is limited for QML-only apps, it is not an easy task to deploy uqq onto the phone, as it uses C++ for its backend. If you are adventurous, you can follow my steps below.
1. Get uqq
[code gutter=”false”]
git clone https://github.com/ginuerzh/uqq
[/code]
2. Cross-compile uqq C++ plugin
- Create an armhf build environment: [code gutter=”false”]# pbuilder-dist raring armhf create[/code]
- Login to the armhf environment: [code gutter=”false”]# pbuilder-dist raring armhf login[/code]
- You are now in a chroot in /var/cache/pbuilder/build/<PID>, where <PID> is the process ID of the command in the last step.
- Copy uqq source code to
/tmpin the chroot, something like [code gutter=”false”]sudo cp -a uqq /var/cache/pbuilder/build/<PID> /tmp[/code] - Add QT5 and Ubuntu SDK apt sources:
[code]
# cat << EOF > /etc/apt/sources.list.d/qt5-and-ubuntu-sdk.list
deb http://ppa.launchpad.net/canonical-qt5-edgers/qt5-proper/ubuntu precise main
deb http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu precise main
EOF
[/code](
apt-add-repositorycore dumped for me so I had to add the sources manually.) - Install Ubuntu SDK: [code gutter=”false”]# apt-get update && apt-get install ubuntu-sdk[/code]
- Compile the uqq backend plugin: [code gutter=”false”]# cd /tmp/uqq/plugin && qmake && make[/code]
libuqq.sowill be compiled in /tmp/uqq/plugin/UQQ if everything works well.- Copy
libuqq.soback to youruqqdirectory, e.g. [code gutter=”false”]# cp /var/cache/pbuilder/build/<PID>/tmp/uqq/plugin/UQQ/libuqq.so uqq/plugin/UQQ/[/code]
3. Copy the app to the phone
- Connect your phone to the computer via USB.
# adb root- Copy the
uqqsource code and our compiled plugin to the phone: [code gutter=”false”]# adb push uqq /data/ubuntu/home/phablet/uqq[/code] - Login to the phone: [code gutter=”false”]# adb shell[/code]
- Type “
ubuntu_chroot“. - Type “
su - phablet” to change to the phablet user. - Now we are ready to run QQ, type [code gutter=”false”][/code]/usr/bin/qmlscene -I plugin /home/phablet/uqq/uqq.qml –desktop_file_hint=/home/phablet/uqq/uqq.desktop[/code>]
- uqq window should now appear on your phone!
Since ubuntu phone does not ship with any Chinese font, all Chinese characters will be shown as squares. It can be easily fixed by copying /usr/share/fonts/truetype/droid/DroidSansFallback.ttf from any Ubuntu system to the phone’s /usr/share/fonts/truetype.
I still haven’t figured out how to add an icon to the launcher for the app, I tried modifying /usr/share/qml-phone-shell/Applications/applications.js, but no luck.
Hope you find this useful!




Downloading lucky777apk now! Hoping this brings some good fortune! Wish me luck, guys! lucky777apk
Alright guys, anyone tried ce88 yet? Thinking about jumping in, but wanted to get the real scoop before I drop any cash.
Anyone using the bet777app? How’s the interface? Easy to use? Lay it on me, I need the details!