Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. segmentation fault
Forum Update on Monday, May 27th 2025

segmentation fault

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qt 4.8cross-compilingarmv7mqtt
61 Posts 6 Posters 24.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Milav
    16 Oct 2019, 04:59

    @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

    P Offline
    P Offline
    Pablo J. Rogina
    wrote on 16 Oct 2019, 12:35 last edited by
    #61

    @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.

    Upvote the answer(s) that helped you solve the issue
    Use "Topic Tools" button to mark your post as Solved
    Add screenshots via postimage.org
    Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

    1 Reply Last reply
    0

    61/61

    16 Oct 2019, 12:35

    • Login

    • Login or register to search.
    61 out of 61
    • First post
      61/61
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved