Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
5.12.0
-
None
Description
When using #include <filesystem> before certain other header files, qmake produces the error:
Parse error at "std"
File not found: usr/include/c++/8.2.1/bits/fs_fwd.
In the attached example, moving either of the other includes in window.hpp above <filesystem> will prevent the error. I've had this issue a few times, and it seems to always be in a header associated with a .ui file.
Attachments
Issue Links
- relates to
-
QTBUG-83160 moc stumbles on _GLIBCXX_VISIBILITY
- Reported
-
QTBUG-110847 Teach CMake AUTOMOC to use a target's CXX language version for the generation of moc predefines file
- Closed
- resulted in
-
QTBUG-93045 The build system should provide a moc_predefs.h with a matching __cplusplus
- Reported