Skip to content

QQNT with some customization in flatpak.

Notifications You must be signed in to change notification settings

arenekosreal/com.qq.QQ

 
 

Repository files navigation

QQ

Tencent QQ (Chinese: 腾讯QQ), also known as QQ, is an instant messaging software service and web portal developed by the Chinese technology company Tencent.

Build flatpak manifest

Features

LiteLoaderQQNT

This is a third-party program which allows you load plugins to extend QQ and remove useless features as you need.

Wayland

This package enables the flags to run on Wayland and it should work out-of-the-box.

This package also can fallback to X11 when Wayland is not available.

Freedesktop Runtime

This may save some space especially when you are not using other gnome applications in flatpak.

Unsafe permissions removed

Unsafe permissions like accessing /tmp of host, or using --device=all are removed. Most of those should be performed through xdg-desktop-portal instead using those permissions.

Disadvantages

Screenshot

Due to that QQ uses gjs to talk to dbus name org.gnome.Shell.Screencast, while gjs is not available with freedesktop runtime, permission to talk to org.gnome.Shell.Screencast is removed. This should not have influence to KDE users, as screenshotting on KDE has been broken for a long perid of time according to this.

Using system screenshot tools is recommended for better privacy. If you still want to use QQ's screenshot function, you can revert 4828897, 2cb7b57 and 1b2cc88 and rebuild the modified manifest with flatpak-builder.

There maybe another solution that you can build gjs and its dependencies yourself. But that is going to be a hard story because you have to build mozjs, which build workflow is similar to firefox.

Camera

Due to that QQ access camera devices directly and we only expose --device=dri, QQ will not find your camera devices. We will test adding --device=usb as many of those camera devices are connected to host through USB bus, even integrated one. But --device=usb is only available since flatpak version 1.15.11 so you have to wait for some time. If you still want to use camera, you can revert 1b4f106 and rebuild the modified manifest with flatpak-builder.

Update: We found that QQ still cannot found integrated camera even --device=usb is added. What's more, according to here, using pipewire is prefered to access video devices. So we think if you still want to using camera, you have to revert commit mentioned above.

P.S: You can check here for more info.

Legality

The QQ app itself is proprietary (closed source).

This wrapper is not verified by, affiliated with, or supported by Tencent.

Languages

  • C++ 100.0%