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. Why my Qt GUI application does not show up on GNOME GTK2 Desktop?

Why my Qt GUI application does not show up on GNOME GTK2 Desktop?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 239 Views
  • 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.
  • I Offline
    I Offline
    idota
    wrote on last edited by idota
    #1

    I have cross compiled a Qt5 GUI application for my embedded develop board. my application is statically compiled(standalone app). When I run it, it did not show up.
    My embedded system board runs based on GTK2 (LXDE).
    But when I shutdown my system by command "shutdown -h now", my QT5 application shows up after the buildin destop GUI closed, and it sustains only about less than 2 seconds.
    Then I switch my system to console by "Alt + Ctrl + F2", run my QT5 GUI on console, it shows up! but thers no system's frame/border(No Close, Max, Min button, as supposed by system's GUI window framwork).

    So why my Qt5 GUI not work with system's buildin GUI destop? how to fix it?
    Any idea, sugguestion, hints is welcomed! thank you very much!

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

      Hi and welcome to devnet,

      From the looks of it, you didn't cross-compile Qt with the xcb backend, did you ?

      If so, you likely have built several backends. You should then pass it as parameter when starting your application.

      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