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 Updated to NodeBB v4.3 + New Features

segmentation fault

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qt 4.8cross-compilingarmv7mqtt
61 Posts 6 Posters 29.0k Views 1 Watching
  • 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.
  • MilavM Milav

    @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

    Pablo J. RoginaP Offline
    Pablo J. RoginaP Offline
    Pablo J. Rogina
    wrote on 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

    • Login

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