Article directory
1.Problem description
Appears when using GMT drawing under Ubuntu system:
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/