Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt app without window manager.
Forum Updated to NodeBB v4.3 + New Features

Qt app without window manager.

Scheduled Pinned Locked Moved General and Desktop
35 Posts 3 Posters 22.0k Views 1 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.
  • C Offline
    C Offline
    Cyrilb
    wrote on last edited by
    #26

    This is my configuration now:
    @sudo ./configure -opensource -release -force-debug-info -confirm-license -static -qt-sql-mysql -qt-zlib -qt-libpng -qt-libjpeg -no-openssl -no-pch -qpa linuxfb -no-xcb -nomake examples -nomake tests@

    @Build options:
    Configuration .......... accessibility alsa audio-backend avx avx2 c++11 clock-gettime

    clock-monotonic compile_examples concurrent cups dbus evdev eventfd fontconfig

    force_debug_info full-config getaddrinfo getifaddrs gif glib gstreamer gtk2 gtkstyle iconv

    icu inotify ipv6ifname jpeg large-config largefile linuxfb medium-config minimal-config

    mremap nis opengl pcre png pulseaudio qpa qpa reduce_exports reduce_relocations release rpath

    small-config sse2 sse3 sse4_1 sse4_2 ssse3 static system-freetype v8 v8snapshot xlib xrender

    zlib
    Build parts ............ libs tools
    Mode ................... release (with debug info)
    Using C++11 ............ yes
    Using PCH .............. no
    Target compiler supports:
    SSE2/SSE3/SSSE3 ...... yes/yes/yes
    SSE4.1/SSE4.2 ........ yes/yes
    AVX/AVX2 ............. yes/yes

    Qt modules and options:
    Qt D-Bus ............... yes (loading dbus-1 at runtime)
    Qt Concurrent .......... yes
    Qt GUI ................. yes
    Qt Widgets ............. yes
    JavaScriptCore JIT ..... yes (To be decided by JavaScriptCore)
    QML debugging .......... yes
    Use system proxies ..... no

    Support enabled for:
    Accessibility .......... yes
    ALSA ................... yes
    CUPS ................... yes
    FontConfig ............. yes
    Iconv .................. yes
    ICU .................... yes
    Image formats:
    GIF .................. yes (in QtGui, using system library)
    JPEG ................. yes (in QtGui, using bundled copy)
    PNG .................. yes (in QtGui, using bundled copy)
    Glib ................... yes
    GStreamer .............. yes
    GTK theme .............. yes
    Large File ............. yes
    libudev ................ no
    Networking:
    getaddrinfo .......... yes
    getifaddrs ........... yes
    IPv6 ifname .......... yes
    OpenSSL .............. no
    NIS .................... yes
    OpenGL ................. desktop
    OpenVG ................. no
    PCRE ................... yes (bundled copy)
    pkg-config ............. yes
    PulseAudio ............. yes
    QPA backends:
    DirectFB ............. no
    EGLFS ................ no
    KMS .................. no
    LinuxFB .............. yes
    XCB .................. no
    Session management ..... yes
    SQL drivers:
    DB2 .................. no
    InterBase ............ no
    MySQL ................ qt
    OCI .................. no
    ODBC ................. no
    PostgreSQL ........... no
    SQLite 2 ............. no
    SQLite ............... yes (plugin, using bundled copy)
    TDS .................. no
    udev ................... no
    xkbcommon .............. no
    zlib ................... yes (bundled copy)
    @

    It is building now, fingers crossed.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Cyrilb
      wrote on last edited by
      #27

      So far so great.

      I built twice. It failed the first time because i forgot to ommit the webkit, pfff.

      The second time it build perfectly with the above configuration. Thanks SGaist.

      So i quickly built a simple gui app and copied it in the target system and voila a window appeared :) .

      But, still a but, i don't have a mouse and keyboard. And the system is stuck at this point.

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

        Great !

        You can also move/remove the webkit folder if you want to avoid that.

        Are both detected on your target system ?

        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
        • C Offline
          C Offline
          Cyrilb
          wrote on last edited by
          #29

          My target system is just a console system. I guess at least the keyboard should be ok because i am able to launch it.

          How can i check if mouse is detected also?

          1 Reply Last reply
          0
          • C Offline
            C Offline
            Cyrilb
            wrote on last edited by
            #30

            Update:

            AnalogClock example runs ok. I mean that the clock ticks.

            I changed my app by placing a QLineEdit and i can see the cursor in the QLineEdit blinking but i can't type nor move the mouse.

            1 Reply Last reply
            0
            • C Offline
              C Offline
              Cyrilb
              wrote on last edited by
              #31

              Update: yes mouse is detected on the target system.

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

                What kind of device is reported ? (/dev/mouse or... ?)

                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
                • C Offline
                  C Offline
                  Cyrilb
                  wrote on last edited by
                  #33

                  Yes /dev/mouse2 .

                  There is also /dev/mouse1 but it appers that the correct one is /dev/mouse2

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

                    Then you might need to setup that information before starting your application but I don't know if Qt 5 has the same set of variables / command line options as Qt 4 for that, sorry.

                    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
                    • C Offline
                      C Offline
                      Cyrilb
                      wrote on last edited by
                      #35

                      Ok, thanks a lot. You've been very helpful.

                      I will start a new thread for this problem.

                      Edit: Follow "this thread":http://qt-project.org/forums/viewthread/31911/ for mouse and keyboard problem.

                      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