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. Kernel/Qtimer.cpp: No such file or directory
Forum Update on Monday, May 27th 2025

Kernel/Qtimer.cpp: No such file or directory

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 3 Posters 594 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 Offline
    M Offline
    Madesh
    wrote on 18 Feb 2020, 03:57 last edited by
    #1

    Hi All,

    I'm using Qt 4.8 version where I have made use of Qtimer . During compilation the code snippet compiles fine but during run time , the application comes to an abrupt end displaying the following message.

    Program received signal SigSEGV, Segmentation fault.

    QTimer::start(this=0x0) at kernel/qtimer.cpp:215
    215 kernel/qtimer.cpp: No such file or directory.
    Please help.

    Thanks & Regards,
    Madesh

    J 1 Reply Last reply 18 Feb 2020, 04:55
    0
    • K Offline
      K Offline
      Kent-Dorfman
      wrote on 18 Feb 2020, 04:06 last edited by
      #2

      What does it do in the supported version, Qt5.x?

      M 1 Reply Last reply 18 Feb 2020, 04:10
      1
      • K Kent-Dorfman
        18 Feb 2020, 04:06

        What does it do in the supported version, Qt5.x?

        M Offline
        M Offline
        Madesh
        wrote on 18 Feb 2020, 04:10 last edited by
        #3

        @Kent-Dorfman

        Thanks for replying.
        It's working fine in Qt 5.X.

        1 Reply Last reply
        0
        • K Offline
          K Offline
          Kent-Dorfman
          wrote on 18 Feb 2020, 04:11 last edited by
          #4

          4 isn't supported anymore. Also, getting help in this forum, the "upgrade to a supported version" answer will be very common when asking about problems in legacy versions.

          1 Reply Last reply
          1
          • M Offline
            M Offline
            Madesh
            wrote on 18 Feb 2020, 04:21 last edited by
            #5

            @Kent-Dorfman

            I do understand that I should upgrade to the latest version , however, I'm working on a legacy application, upgrading right now is a huge task , given the limited time frame.

            1 Reply Last reply
            0
            • M Madesh
              18 Feb 2020, 03:57

              Hi All,

              I'm using Qt 4.8 version where I have made use of Qtimer . During compilation the code snippet compiles fine but during run time , the application comes to an abrupt end displaying the following message.

              Program received signal SigSEGV, Segmentation fault.

              QTimer::start(this=0x0) at kernel/qtimer.cpp:215
              215 kernel/qtimer.cpp: No such file or directory.
              Please help.

              Thanks & Regards,
              Madesh

              J Offline
              J Offline
              JKSH
              Moderators
              wrote on 18 Feb 2020, 04:55 last edited by
              #6

              @Madesh said in Kernel/Qtimer.cpp: No such file or directory:

              QTimer::start(this=0x0)

              You have this == 0. That's a problem, no matter what library you're using.

              Do some debugging; find out why the program is trying to call the start() method on a nullptr.

              Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

              M 1 Reply Last reply 18 Feb 2020, 05:00
              4
              • J JKSH
                18 Feb 2020, 04:55

                @Madesh said in Kernel/Qtimer.cpp: No such file or directory:

                QTimer::start(this=0x0)

                You have this == 0. That's a problem, no matter what library you're using.

                Do some debugging; find out why the program is trying to call the start() method on a nullptr.

                M Offline
                M Offline
                Madesh
                wrote on 18 Feb 2020, 05:00 last edited by
                #7

                @JKSH

                Hi, Thanks for replying .

                I debugged code and found out that , timer is created on some condition in constructor. If that condition was not met, the timer is not created. So i was getting segmentation fault error.This issue is resolved now.
                Thanks a lot.

                1 Reply Last reply
                2

                1/7

                18 Feb 2020, 03:57

                • Login

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