Qt OpenGL帧缓冲在一台PC上创建,但在另一台PC上失败
Qt OpenGL framebuffer creates at one PC, but fails at another
所以,有两台装有Windows 8.1 x64的PC。第一个安装了Qt 5.7 SDK,第二个没有。首先,以下C++Qt5代码可以正常工作:
int big_width = 1392;
int big_height = 1040;
int small_width = 696;
int small_height = 520;
format.setSamples(4);
format.setAttachment(QGLFramebufferObject::Depth);
framebuffer_big = new QGLFramebufferObject(big_width, big_height, format);
framebuffer_small = new QGLFramebufferObject(small_width, small_height, format);
在第二台PC上,我在Windows控制台中观看以下内容:
[qglframebufferobject.cpp line 549] GL Error: 1280
QGLFramebufferObject: Framebuffer incomplete attachment.
QGLFramebufferObject: Framebuffer incomplete attachment.
QGLFramebufferObject: Framebuffer incomplete attachment.
[qglframebufferobject.cpp line 549] GL Error: 1280
QGLFramebufferObject: Framebuffer incomplete attachment.
QGLFramebufferObject: Framebuffer incomplete attachment.
QGLFramebufferObject: Framebuffer incomplete attachment.
因此,我在第二台PC上升级了视频驱动程序,但它没有效果。当然,还提供了一些必需的dll。
问题是:如何在第二台PC上修复上面列出的错误?
问题如下:我一直在使用Microsoft Windows RDP。通过它不可能正常启动Qt OpenGL应用程序。看来Microsoft或迪吉亚搞砸了!
相关文章:
- 我的 SDL2 程序需要哪些二进制文件,以便它在另一台未安装 SDL2 的计算机中工作
- 在另一台 PC 上执行程序时加载 SDL2 共享库时出错
- 另一台电脑上的Visual Studio C++项目无法生成
- Homebrew OS X OpenCV - 在另一台Mac上运行时寻找dylib
- 当我在支持 avx2 的机器上编译并在另一台仅支持 avx 的机器上运行二进制文件时会发生什么?
- 如何在另一台未安装 Visual Studio 的计算机中使用由 Visual Studio 生成的 dll
- 在另一台计算机中运行 GTKMM 代码时未定义的符号
- 为什么我不能在另一台电脑上运行自己的dll(msvcrt.dll被错过)
- 仅在一台计算机上出现"0xc000007b Application Unable to Start Correctly"错误
- 将Visual Studio C 构建的中间文件移至另一台计算机
- 为什么我的Glreadpixels程序在另一台计算机中不起作用
- Qt OpenGL帧缓冲在一台PC上创建,但在另一台PC上失败
- 为什么程序在一台计算机上而不是在另一台计算机上留下循环
- Wxwidgets 在另一台计算机上运行二进制文件时出现问题
- 在另一台计算机上打开 Visual Studio 项目的.exe时出错
- 如何从另一台Ubuntu机器中运行Ubuntu中的C 程序
- CoCreateInstance在一台PC中返回E_NOINTERFACE
- 当您下载其他库并将其功能添加到C ++程序中时,您是否能够在另一台PC上运行您的软件(没有库)?
- 将应用程序转移到另一台pc时无法运行
- 从另一台PC/VS生成/运行项目时缺少MSVCR100D.dll