eryar / occQt

A simple OpenCASCADE Qt demo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#error qmetatype.h must be included before any header file that defines Bool

mahaidong opened this issue · comments

我在ubuntu环境下编译的时候有这个错误, 然后我把所有到qt头文件都方在文件最开始的地方,就可以通过了

我参考了这里的方法: zballina/lxqt-config-randr#7

Hello, me too. I resolved this changing the includes order

Good!
我编译的时候没遇到,可能是Windows里面。

对, 只在ubuntu上出现, 好像在mac上也没有。