Dialog box doesn't have title bar, maximize button and close button
-
Hi,
That's because QWS was a minimal windowing system. The plugin you are currently using is not. You would have to use something like e.g. wayland if you need window management without using X11.
-
@SGaist
I heard about wayland but couldn’t find detailed introduction about it. I googled it and found little information and some doesn’t work as expected. Are there some official data about QT5 with wayland? -
Do you mean you went to both wayland with Qt5 and the Wiki entry ?
-
@SGaist I want to learn how to integrate wayland to Qt5. Is there any guide about this?
-
Do you mean: build the QtWayland module ?
-
@SGaist Yes !
-
It's explained here
-
@SGaist
I got error message after running git clone git://gitorious.org/qt/qtwayland.git:
[root@scdc 11]# git clone git://gitorious.org/qt/qtwayland.git
Initialized empty Git repository in /11/qtwayland/.git/
gitorious.org[0: 109.107.38.78]: errno=No route to host
gitorious.org[0: 2a02:c0:1014::1]: errno=Network is unreachable
fatal: unable to connect a socket (Network is unreachable)
[root@scdc 11]#
I'm wondering whether there is other git address of qtwayland? -
What was on gitorious is now on code.qt.io
-
@SGaist
Should the module QtWayland can be built only when Qt5 supports OpenGl ES? How can I build QtWayland module based on Frame Buffer?
The target platform is x86: -
@SGaist
root@linuxdevelopos:/11# cd qtwayland/
root@linuxdevelopos:/11/qtwayland# /LinuxProject/ProjectSourceCode/Qt-EmbAndDesktop/x86_release/bin/qmake
Info: creating cache file /11/qtwayland/.qmake.cache
Checking for wayland... no
Checking for xkbcommon... no
Checking for wayland_cursor... no
Checking for wayland_scanner... no
Checking for wayland_egl... no
Checking for egl... no
Checking for brcm_egl... no
Checking for glx... yes
Checking for xcomposite... no
Checking for drm_egl_server... no
Checking for libhybris_egl_server... no
Project WARNING: QtWayland requires Wayland 1.4.0 or higher, QtWayland will not be built
Project WARNING: No xkbcommon 0.2.0 or higher found, disabling support for it
Project WARNING: QtWayland requires wayland-scanner, QtWayland will not be built
Project WARNING: QtWayland requires wayland-cursor, QtWayland will not be built
Project MESSAGE: no wayland-egl support detected, cross-toolkit compatibility disabled -
Did you install wayland first on your system ?
-
@SGaist The system I'm using is Ubuntu, and it doesn't install Wayland. I want to add Wayland to Linux Busybox built by myself, but I didn't add support of OpenGL to QT5 when I build it.
-
You'll have to build Wayland yourself