qt5.6 on imx

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

qt5.6 on imx

Jump to solution
3,687 Views
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

1 Solution
1,554 Views
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..

View solution in original post

2 Replies
1,555 Views
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..

1,554 Views
nishad_kamdar
Contributor IV

Thanks for saving my 10 working days!!!

Hats off to you!!

Had the same error.

regards,

Nishad

0 Kudos