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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,596 次查看
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

标记 (1)
0 项奖励
回复
1 回复

1,125 次查看
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 项奖励
回复