【发布时间】:2014-06-06 14:20:49
【问题描述】:
所以,这个问题可能与Why does QT not recognize my header file? cannot open include file No such file or directory 重复,但它从未得到任何体面的答案。 请放轻松,因为我不是软件工程师。
几年前,我在 Kubuntu Qt 上编写了这个非常复杂的程序。我正在尝试将其移植到 Windows(我将跳过有关原因的详细信息),但我不断收到这些
C1083 "cannot open include file ... no such file"
错误提示某些我的标题不存在。我最近在 Linux 中编译它以确保我没有发疯,但它仍然在 Windows 中引发大量错误。
这个程序本质上有很多前向声明。 gcc 和 msvc2012 编译器之间是否存在一些优先级差异?是否有一些程序会按照包含的顺序让我知道它卡在哪里?
【问题讨论】:
-
谢谢。不幸的是,我在 Qt Creator 中找不到类似的东西。
标签: c++ qt visual-c++ forward-declaration