I
Ilya_MJune 1, 2018, 7:04 p.m.

New in the Wayland Platform Plugin in Qt 5.11

Wayland is the display server protocol on modern Linux systems. The Qt Wayland platform plugin allows applications to use the Wayland display server (compositor)

In addition to bug fixes, the 5.11 release of Qt contains a significant number of improvements, especially for desktop users.


Support for key songs

Support for composition keys has been missing for a long time and has finally been added. This means that you can now enter characters that require key alternation, for example:

  • ¨ , A to write “ä”
  • compose key , S , S to write “ß”

Qt Wayland in the official binaries

As of Qt 5.11 and Qt Creator 4.7, the binaries in the official installers now also include Qt Wayland (previously you had to build it yourself).

Thus, the official build of Qt Creator itself is now running on Wayland, as applications that are built with the official Qt packages.

Qt creator 4.7 work on Wayland

Even now, before the official release, dark themes for QtCreator 4.7 are available for download.

Fallback to X11 if Wayland is not available

A common way to select a Qt platform plugin was to set the QT_QPA_PLATFORM=wayland environment variable. This has been a problem on Linux desktops because some applications—for example, the official QtCreator package use a bundled version of Qt that does not include Wayland, and will fail to start with the following message:

This application failed to start because it could not find or load the Qt platform plugin "wayland" in "".

(This application failed to start because it could not find or load the Qt platform plugin "wayland" in "".)

Possible platform plugins: eglfs , linuxfb , minimal , minimalegl , offscreen , vnc , xcb .

Reinstalling the application may fix this issue.

Qt 5.11 added support for fallback platform plugins, which means you can now set QT_QPA_PLATFORM= "wayland; xcb" , which forces Qt to use the xcb (X11) plugin if Wayland is not available.

Improved high resolution support

If you use multiple monitors with screens one of which is high and the other is low resolution windows can now switch to the appropriate scale when moving from one screen to another. No more problems with soapy or blurry windows.

Testing and continuous implementation

QA in Qt Wayland has improved a lot. A subset of QtBase unit tests are now run on each patchset, which means there will be better bug-finding compared to previous versions.

Dev News

There were a lot of changes that didn't make it into the 5.11 release. Changes like resizing or reaming required a lot of work. Sweep and full screen are currently supported on xdg-shell-v6. A stable new shell for xdg-Shell has also been added

Qt Wayland and backport repositories

If you want to test new features and fixes in Qt Wayland but don't want to wait for a release, or if you don't want to upgrade or compile all of Qt, Johan Helsing created an unofficial repository unofficial qtwayland-backports repository.

It contains new versions of Qt Wayland that compile to older versions of Qt. That is, when using QT 5.10.x, you can test developments with the latest changes in Qt Wayland using Qt 5.10.

Arch Linux users, however, can install the AUR package, qt 5-wayland-dev-backport-git , as a replacement for qt 5-wayland. However, this is not official and there is no guarantee that they will continue to be updated.

We recommend hosting TIMEWEB
We recommend hosting TIMEWEB
Stable hosting, on which the social network EVILEG is located. For projects on Django we recommend VDS hosting.

Do you like it? Share on social networks!

Comments

Only authorized users can post comments.
Please, Log in or Sign up
OI

C++ - Test 001. The first program and data types

  • Result:40points,
  • Rating points-8
AD

C ++ - Test 004. Pointers, Arrays and Loops

  • Result:50points,
  • Rating points-4
m

C ++ - Test 004. Pointers, Arrays and Loops

  • Result:80points,
  • Rating points4
Last comments
ИМ
Игорь МаксимовNov. 22, 2024, 10:51 p.m.
Django - Tutorial 017. Customize the login page to Django Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
Evgenii Legotckoi
Evgenii LegotckoiNov. 1, 2024, 12:37 a.m.
Django - Lesson 064. How to write a Python Markdown extension Добрый день. Да, можно. Либо через такие же плагины, либо с постобработкой через python библиотеку Beautiful Soup
A
ALO1ZEOct. 19, 2024, 6:19 p.m.
Fb3 file reader on Qt Creator Подскажите как это запустить? Я не шарю в программировании и кодинге. Скачал и установаил Qt, но куча ошибок выдается и не запустить. А очень надо fb3 переконвертировать в html
ИМ
Игорь МаксимовOct. 5, 2024, 5:51 p.m.
Django - Lesson 064. How to write a Python Markdown extension Приветствую Евгений! У меня вопрос. Можно ли вставлять свои классы в разметку редактора markdown? Допустим имея стандартную разметку: <ul> <li></li> <li></l…
d
dblas5July 5, 2024, 9:02 p.m.
QML - Lesson 016. SQLite database and the working with it in QML Qt Здравствуйте, возникает такая проблема (я новичок): ApplicationWindow неизвестный элемент. (М300) для TextField и Button аналогично. Могу предположить, что из-за более новой верси…
Now discuss on the forum
n
nklyDec. 27, 2024, 10:41 p.m.
Нужно запретить перемещение только некоторых итемов, остальные перемещать можно. У меня есть Представление QTreeView и древовидная модель QStandardItemModel подключенная к представлению. Итемы в модели QStandardItem. В разных ветках дерева могут быть элементы с одинаковым им…
Evgenii Legotckoi
Evgenii LegotckoiJune 25, 2024, 1:11 a.m.
добавить qlineseries в функции Я тут. Работы оень много. Отправил его в бан.
t
tonypeachey1Nov. 15, 2024, 5:04 p.m.
google domain [url=https://google.com/]domain[/url] domain [http://www.example.com link title]
NSProject
NSProjectJune 4, 2022, 1:49 p.m.
Всё ещё разбираюсь с кешем. В следствии прочтения данной статьи. Я принял для себя решение сделать кеширование свойств менеджера модели LikeDislike. И так как установка evileg_core для меня не была возможна, ибо он писался…

Follow us in social networks