Solve the problem of qt5ct using qt5ct plugin qt5ct d-bus global menu no in Qt5

Article directory

1.Problem description

Appears when using GMT drawing under Ubuntu system:
Insert image description here

2.Solution

After searching on Baidu, I found that most of them did not solve my problem, and there seemed to be less discussion about this bug.
Therefore, after scientifically surfing the Internet, I found a solution (my solution, you can try it). In addition, a reminder: Qt5 has removed the corresponding configure file, and the corresponding file may not be found.

You can write the following code into the environment variable (I wrote it into the ~/.profile file) and source it. If the source does not work, you can log in to the user again.

export QT_LOGGING_RULES="qt5ct.debug=false"

If you have a better solution, please leave a message ~
Reference: https://sources.debian.org/src/qt5ct/0.37-1/README/

Guess you like

Origin blog.csdn.net/weixin_44547510/article/details/116128160