Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
选择 QT,而不是 SDL。它的功能更加丰富,您可以执行与 SDL 中相同的操作(甚至更多)。
此答案解释了如何创建全屏窗口,以便部分回答您的问题。
您问题的答案的另一部分是这样的:您可以创建一个 opengl 小部件,在其中您可以执行 2d/3d 图形,就像在 SDL 窗口中一样。例如这个
Instead of SDL, go for QT. It is more feature rich and you can do the same (and much more) as in SDL.
This answer explains how to create full-screen windows, so that partially answers your question.
Another part of the answer to your question is this : you can create an opengl widget, in which you can do 2d/3d graphics, the same way you would do in an SDL window. For example like this