Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt 5.8.0 on Ubuntu 16.04 LTS, program menus lost when going from edit to design
Forum Updated to NodeBB v4.3 + New Features

Qt 5.8.0 on Ubuntu 16.04 LTS, program menus lost when going from edit to design

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 2 Posters 1.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.
  • B Offline
    B Offline
    BSch13
    wrote on last edited by
    #1

    In running through tutorials on Qt (recent install of 5.8.0 on Ubuntu 16.04 LTS), I'm noticing that the program menus go missing when I switch from the editor (ex: mainwindow.cpp) to the forms (ex: mainwindow.ui). The menus do not re-appear upon switching back to the editor. Similar problems that are listed on the web over the last couple of years suggest remedies that include changing the Ubuntu system settings under Appearance/Behavoir (Show the menus for a window) to "Always displayed" and showing the menus "In the window's title bar", but this does not solve the problem. Other suggested solutions include setting QT_QPA_PLATFORMTHEME=appmenu-qt5 to QT_QPA_PLATFORMTHEME= , however this does not solve the problem either. Additional suggestions include deleting appmenu-qt5 with mixed reports of success, but I have not done this out of concern for unintended consequences. If the Qt program is closed and re-opened, the menus are present once more, and re-opening the project does not interfere with the menus until I go into the .ui file again. I've pretty well exhausted the suggestions on the web, so if anyone has some ideas on this or is experiencing similar problems, please do let me know. I'm relatively new to Ubuntu and brand-new to Qt, so if there is any additional diagnostic information that I have omitted, I would be happy to supply it.

    Thanks in advance !!

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

      Hi and welcome to devnet,

      Not really an answer but if you'd like to avoid that kind of problem and if you don't absolutely need the latest Qt version to develop your application then go with your distribution provided Qt. It shouldn't suffer from these problems since any patch applied to make Qt work with their design will already be applied.

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

      B 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        Not really an answer but if you'd like to avoid that kind of problem and if you don't absolutely need the latest Qt version to develop your application then go with your distribution provided Qt. It shouldn't suffer from these problems since any patch applied to make Qt work with their design will already be applied.

        B Offline
        B Offline
        BSch13
        wrote on last edited by
        #3

        @SGaist Thanks so much! I didn't know that was an option. I'll give that a try. Greatly appreciate the response, thanks again.

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

          You're welcome !

          If that solves your problem, then please mark the thread as so using the "Topic Tools" button so that other forum members may know a solution has been found :)

          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