symbol lookup error: ./example: undefined symbol: _ZN7QWidget8x11EventEP7_XEvent

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

symbol lookup error: ./example: undefined symbol: _ZN7QWidget8x11EventEP7_XEvent

1,286 Views
Hitex
Contributor I

Hi

When i tried to run my Qt application on imx53 board i get the following error

symbol lookup error: ./example: undefined symbol: _ZN7QWidget8x11EventEP7_XEvent

the execution command i am using is - "./application -qws "

I have installed libqt4-dev using synaptic package manager

any solution

Thanks

Hitesh

Tags (1)
0 Kudos
Reply
1 Reply

815 Views
KursadOney
NXP Employee
NXP Employee

Are you mixing C and C++? If you are calling C functions, declare them as extern "C" in your C++ code. For example:

 

extern "C" return_type XEvent(arguments);

0 Kudos
Reply