Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QTimer insidea DLL called by DELPHI does not work.



  • 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



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


Log in to reply