Qt5. Error ~QObject: Timers cannot be stopped from another thread

Hello all.

I was looking for errors in lib qt5pas (Lazarus with qt5).
On test programs, the error appears in QMainMenu.

I tried to build an example “Menus Example for qt5” from doc.qt.io.
After exiting this small program, an error occurs:“QObject::~QObject: Timers cannot be stopped from another thread.”
Perhaps this error prevents Lazarus from working normally.

Is it an error in the example or in the QT5.11 library for Haiku?

qt 5.11.1-1
Haiku 32bit hrev52103

qt_app_error

1 Like

Qt5 is from HaikuPorts, report the bugs at HaikuPorts.

Perhaps this error prevents Lazarus from working normally.

There is no Lazarus recipe in HaikuPorts, contact the developer/porter.
I see, you are the porter. Then you should explain, what’s wrong.

Here are two hints I found:

  1. you have to run the GUI stuff in the main thread;
  2. try disabling the WITH_QT option in the make file.