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 StyleSheet を使ってみましたか?
例 :
QMainWindow{ background-image: url(:/images_section/application_icon); }