Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Qtimer. A little assistance
Qt 6.11 is out! See what's new in the release blog

Qtimer. A little assistance

Scheduled Pinned Locked Moved Unsolved Qt for Python
3 Posts 4 Posters 524 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.
  • S Offline
    S Offline
    Stevolution
    wrote on last edited by
    #1

    Hello

    Some demo code for Qtimer facility that I have scoured Google for around 2 hours now is driving me mad.
    They label the page 'Qtimer tutorial' and it always seems to have some vital bit of information missing. Hence, it doesn't compile.

    All I am trying to achieve is calling a routine once a second.

    Anyone got a link to a decent Python 3.8 tutorial that an idiot can follow?

    JonBJ 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      What error do you have ?
      Can you show the code you are using ?
      It will be easier to spot the issue.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • S Stevolution

        Hello

        Some demo code for Qtimer facility that I have scoured Google for around 2 hours now is driving me mad.
        They label the page 'Qtimer tutorial' and it always seems to have some vital bit of information missing. Hence, it doesn't compile.

        All I am trying to achieve is calling a routine once a second.

        Anyone got a link to a decent Python 3.8 tutorial that an idiot can follow?

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by JonB
        #3

        @Stevolution
        Glancing through the code in https://learndataanalysis.org/how-to-create-a-digital-clock-with-pyqt5-pyqt5-tutorial/ looks simple and workable. Did you try this one? I'm hoping you can copy & paste and it will just work. If you are PySide2, replacing all PyQt5 by PySide2 looks to me will work.

        1 Reply Last reply
        1

        • Login

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