qt5.6 on imx

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
5,131件の閲覧回数
ankurkumarsatas
Contributor II

I am trying to build qt5.6(jansa/master-5.6) along with yocto for imx6qsabreauto. While compiling qtbase, I am getting error:

../../include/QtCore/../../../git/src/corelib/io/qtextstream.h:46:2: error: #error qtextstream.h must be included before any header file that defines Status

|  #error qtextstream.h must be included before any header file that defines Status

|   ^

Also attached full error log.

Googled a lot but could not make it working.

 

Any idea or suggestions?

 

Regards,

Ankur

Original Attachment has been moved to: log.do_compile.563.zip

ラベル(4)
1 解決策
2,998件の閲覧回数
ankurkumarsatas
Contributor II

After spending around 10 working day, I figured out the problem. I have done two things:

1) Add this qtextream.h  and qdatastream.h(if it complaints about this file as well) in a file which has this error.

2) There were some other errors as well like "None=0 where None is not defined". For this errors just move your platform dependent X11 header files after all qt headers.

I did it in file qeglpbuffer_p.h and moved #include <EGL/egl.h> after all other qt header files (kept it as last include file).

That made it working.

Cheers..

元の投稿で解決策を見る

2 返答(返信)
2,999件の閲覧回数
ankurkumarsatas
Contributor II

After spending around 10 working day, I figured out the problem. I have done two things:

1) Add this qtextream.h  and qdatastream.h(if it complaints about this file as well) in a file which has this error.

2) There were some other errors as well like "None=0 where None is not defined". For this errors just move your platform dependent X11 header files after all qt headers.

I did it in file qeglpbuffer_p.h and moved #include <EGL/egl.h> after all other qt header files (kept it as last include file).

That made it working.

Cheers..

2,998件の閲覧回数
nishad_kamdar
Contributor IV

Thanks for saving my 10 working days!!!

Hats off to you!!

Had the same error.

regards,

Nishad

0 件の賞賛
返信