Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Qt は9pxデフォルトのフォント サイズとして使用しますが、ユーザー (Linux 上) は を使用してこれを変更できますqtconfig。
9px
qtconfig
では、システムのデフォルトのフォントサイズを取得するにはどうすればよいですか? ドキュメントを読みましたが、API が見つかりません。
デフォルトのフォントQFontオブジェクトを取得し、そこからサイズを読み取ります。