Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Dialog box doesn't have title bar, maximize button and close button
Forum Updated to NodeBB v4.3 + New Features

Dialog box doesn't have title bar, maximize button and close button

Scheduled Pinned Locked Moved Mobile and Embedded
15 Posts 2 Posters 5.0k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Halo_HaoH Offline
    Halo_HaoH Offline
    Halo_Hao
    wrote on last edited by
    #1

    The program is compiled with Qt5 (FrameBuffer) whose dialog doesn’t have title bar, maximize button and close button. Also it doesn’t have an icon. All these worked fine on Qt 4 QWS. How to fix this on Qt5?
    QMessageBox doesn’t have title bar, maximize button and close button either. That’s very inconvenient. I’m able to fix this via code on dialog created by myself, but I can’t control QMessageBox.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      Halo_HaoH 1 Reply Last reply
      0
      • SGaistS SGaist

        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.

        Halo_HaoH Offline
        Halo_HaoH Offline
        Halo_Hao
        wrote on last edited by
        #3

        @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?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Do you mean you went to both wayland with Qt5 and the Wiki entry ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          Halo_HaoH 1 Reply Last reply
          0
          • SGaistS SGaist

            Do you mean you went to both wayland with Qt5 and the Wiki entry ?

            Halo_HaoH Offline
            Halo_HaoH Offline
            Halo_Hao
            wrote on last edited by
            #5

            @SGaist I want to learn how to integrate wayland to Qt5. Is there any guide about this?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Do you mean: build the QtWayland module ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              Halo_HaoH 1 Reply Last reply
              0
              • SGaistS SGaist

                Do you mean: build the QtWayland module ?

                Halo_HaoH Offline
                Halo_HaoH Offline
                Halo_Hao
                wrote on last edited by
                #7

                @SGaist Yes !

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  It's explained here

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  Halo_HaoH 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    It's explained here

                    Halo_HaoH Offline
                    Halo_HaoH Offline
                    Halo_Hao
                    wrote on last edited by Halo_Hao
                    #9

                    @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?

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      What was on gitorious is now on code.qt.io

                      http://code.qt.io/cgit/qt/qtwayland.git/

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      Halo_HaoH 2 Replies Last reply
                      0
                      • SGaistS SGaist

                        What was on gitorious is now on code.qt.io

                        http://code.qt.io/cgit/qt/qtwayland.git/

                        Halo_HaoH Offline
                        Halo_HaoH Offline
                        Halo_Hao
                        wrote on last edited by
                        #11

                        @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:

                        1 Reply Last reply
                        0
                        • SGaistS SGaist

                          What was on gitorious is now on code.qt.io

                          http://code.qt.io/cgit/qt/qtwayland.git/

                          Halo_HaoH Offline
                          Halo_HaoH Offline
                          Halo_Hao
                          wrote on last edited by
                          #12

                          @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

                          1 Reply Last reply
                          0
                          • SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on last edited by
                            #13

                            Did you install wayland first on your system ?

                            Interested in AI ? www.idiap.ch
                            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                            Halo_HaoH 1 Reply Last reply
                            0
                            • SGaistS SGaist

                              Did you install wayland first on your system ?

                              Halo_HaoH Offline
                              Halo_HaoH Offline
                              Halo_Hao
                              wrote on last edited by
                              #14

                              @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.

                              1 Reply Last reply
                              0
                              • SGaistS Offline
                                SGaistS Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote on last edited by
                                #15

                                You'll have to build Wayland yourself

                                Interested in AI ? www.idiap.ch
                                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                1 Reply Last reply
                                0

                                • Login

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • Users
                                • Groups
                                • Search
                                • Get Qt Extensions
                                • Unsolved