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ウィンドウを一番上に保ちたいです。を実行するsetWindowFlags(Qt::WindowStaysOnTopHint)と、ウィンドウが非表示になります (Windows 7 の場合)。
setWindowFlags(Qt::WindowStaysOnTopHint)
私も試しました:
Qt::WindowFlags flags = windowFlags(); setWindowFlags(flags | Qt::WindowStaysOnTopHint);
そして、それはまだ同じことをします。ここで何が間違っていましたか?