segmentation fault
-
@Pablo-J-Rogina said in segmentation fault:
In addition, is there any compelling reason not to use the Qt MQTT module?
Have you try any of the Qt MQTT examples?I use actually qt4.8.7 source for development so QMqtt is not build for this qt version, so that i do not use qmqtt class.
if you have any idea how to run QMqtt in qt 4.8.7 source than please tell me it is so helpful to me.
@Pablo-J-Rogina said in segmentation fault:
Could it be possible that you run such example AS IS, I mean just download/clone the code and try such example without any change.
If you manage to make it work, then you'll have the foundation to start adapting it to whatever you need/desire.i actually tried same as is code for pc development and that is work fine.
but when i cross compiling the code for embedded target board than it gives segmentation error,
the difference between host pc and Embedded target board is only QT source.
Host pc => qmake (qt version 5.4.0 )
Embedded target => qmake (qt version 4.8.7)hope you got my point.
if you have any query please tell me.
and please guys help me to sort out the problem.
i am also try another code for the same , but in that i have also suffer same problem.
Another code link :- link text
wrote on 16 Oct 2019, 12:35 last edited by@Milav said in segmentation fault:
the difference between host pc and Embedded target board is only QT source.
Host pc => qmake (qt version 5.4.0 )
Embedded target => qmake (qt version 4.8.7)You should have stated these settings from the very beginning... :-)
Anyway, could it be possible that you build Qt 4.8.7 for PC (host) and build your example again with that Qt version and run in PC to see what happens.
61/61