既然Qt3D说支持Linux,我该如何处理Linux上缺少window.h的问题
Since Qt3D says Linux is supported, how should I deal with absence of window.h on Linux?
Qt3D已由Qt 5.5正式支持。他们说Linux是受支持的。
我选择了一个assimp示例,它的main.cpp包含window.h.
我在Ubuntu 14.04.3上。我应该如何编译这个程序?
No such file or directory
是我正在接收的错误。
我在QtCreator 中输出的屏幕截图
window.h
文件应该位于QtExamplesQt-5.5qt3dcommon
文件夹中,它与Windows无关,只与QWindow
有关。
更多详细信息请点击此处:https://forum.qt.io/topic/56554/qt-5-5-qt3d-window-h-file-in-the-examples
如果在您的项目中找不到此路径,您可以将其添加到.pro文件:
INCLUDEPATH += "Qt/Examples/Qt-5.5/qt3d/common"
阅读更多关于在Qt Creator中正确使用include路径的信息:如何在Qt创建者中添加include路径?
相关文章:
- 如何处理linux终端中带有负号(-)的C++中的命令行参数
- Linux 包管理器如何处理 C++20 个模块?
- Linux 中的信号处理程序使用 sigaction (C++)
- 跨平台套接字发送,Linux 上的缓冲区常量无效* Windows上的常量字符*,最佳处理方式
- 将托管事件处理程序传递给 Linux 中的非托管代码
- 当多个进程尝试同时替换同一文件时,Linux 如何处理这种情况?
- 如何在 c++ linux 中创建事件处理程序
- 如何在 Linux 用户空间中处理类似 GPIO 中断的处理
- Linux x64堆栈在信号处理程序内部展开,以修改返回地址
- 如何解决 Linux 计时器信号处理程序
- 如何用单个信号处理程序解决这个多linux定时器的问题
- 访问linux的OpenCV-2.4.3的OPENCV图像处理库
- 在Linux和Windows C 上处理的低级文件操作
- Linux上的静态Qt5构建:部署时如何处理字体
- OSX vs Linux:如何处理未签名的长和uint64_t
- 有必要在为Windows和Linux编写的程序中处理长数据类型吗
- Makefile在Windows和Linux下处理不同的源目录和对象目录
- 从 Linux 到 Windows 交叉编译时,我应该如何处理字符编码
- 如何在 Linux 上处理 C 或 C++ 中的箭头、PageUp、PageDown 键
- 如何在 linux 中对C++操作进行计时时处理缓存