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. QTimer insidea DLL called by DELPHI does not work.
Qt 6.11 is out! See what's new in the release blog

QTimer insidea DLL called by DELPHI does not work.

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

    Hello,

    i created a class exported to a DLL which internally works with QTimers. Everything works fine, as far as i use this DLL with a QT-GUI.
    If i use this DLL from DELPHI i get the following error message when creating the timers : qtimer can only be used with threads started with qthread.
    All the function calls of the DLL are working fine with DELPHI expect of these timers. Any ideas or workarounds ?

    Thanks in Advance
    Joe

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dbzhang800
      wrote on last edited by
      #2

      I have no idea what you have done. But if you want QTimer works, you must start Qt EventLoop first.

      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