Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. My Code Crashes with Mouse Movement
Qt 6.11 is out! See what's new in the release blog

My Code Crashes with Mouse Movement

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.2k 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.
  • A Offline
    A Offline
    alok9871
    wrote on last edited by
    #1

    Hi

    I am currently facing a very strange situation. I have a code that calculates Spectra based on the images a camera records. Its all working fine. I have no issues there. I have a lot of Push buttons for different features.

    My issue is, when the spectra is running in real-time. if I move my mouse towards the toolbar or the menu bars or some of the push buttons, It crashes unexpectedly.

    I have no Idea why.

    Can you please help?

    Thanks

    1 Reply Last reply
    0
    • raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      [quote author="alok9871" date="1382694042"]
      I have no Idea why.

      Can you please help?
      [/quote]
      By the amount of info you provided i conclude: there is something wrong in your code... That's all of help i can give you.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • A Offline
        A Offline
        alok9871
        wrote on last edited by
        #3

        Thanks Raven.

        I agree that the first thing I should have done was to post code. But I seriously don't know which part of the code is responsible for it. But if it helps I can post it.

        My program is working if I don't move my mouse at all. I thought I am triggering some event when I move my mouse.

        1 Reply Last reply
        0
        • raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by
          #4

          posting the stack trace of the crash may help a lot spotting the place where to look for failures. But it also may possible that they are misleading in case of memory corruption.

          But post the stack-trace first and the related part of code.

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question 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