Ubuntu16.04LTS

1) I launch the program through dash

start of the program through dash
or mouse clicks
start of the program with the mouse

The program is displayed as: kind of program, if you run it through dash or mouse 2) If you run through the terminal: launch of the program in the terminal

It turns out like this: view of the program, if run in the terminal

Why it happens?

It interests me because if you run the first method, the program is buggy, namely if you create or open a file, the menu disappears (File, Edit, ...) and no longer appears.

If you run through the terminal with sudo, then everything works fine without any glitches. If you run through the terminal, but without sudo, then the program works as in the first case.

  • 3
    In the second case, you run it from under root, it has its own settings. - Nick Volynkin
  • one
    1. use sudo only for administrative tasks. 2. correct the consequences of mindlessly using sudo in the following way: $ sudo chown -R $USER $HOME - aleksandr barakin
  • So if I run the program without using sudo, then the program on my computer is practically inoperable (there are no menus). I tried solutions to the problem found on the Internet, for example, deleted appmenu-qt5, but nothing helped. Is it possible that you can’t do without sudo? Well, the second tip came just in time - pynix
  • @pynix: That's the problem, it should work without sudo. Perhaps you incorrectly installed qt creator? - VladD
  • @VladD, I seem to be doing everything right: I download qt-creator-opensource-linux-x86_64-4.2.1.run, I give the right to execute, I run sudo ./qt-creator-opensource-linux-x86_64-4.2.1.run , put without any questions (or I do the same thing putting Qt Creator as part of Qt5). In the meantime, I put an older version of Qt Creator, there are no glitches in it, and I will use it, and even then I have already killed for two days to make the Qt Creator4.2.1 program work. - pynix

0