Hi!

I have an app. stating a thread to do some calculations. This is code to start the thread and to connect the signals between the mainwindow and the thread:
Qt Code:
  1. m_calcProc = new BaseCalcProccess();
  2. m_calcProc->moveToThread(&m_thread);
  3.  
  4. connect(&m_thread, SIGNAL(started()), m_calcProc, SLOT(run()));
  5. connect(m_calcProc, SIGNAL(start()), &m_thread, SLOT(start()));
  6. connect(m_calcProc, SIGNAL(stop()), &m_thread, SLOT(quit()));
  7.  
  8. m_calcProc->started();
To copy to clipboard, switch view to plain text mode 

the m_thread is a QThread variable defined in MainWindow

the class BaseCalcProccess is a "public QObject"

and for this class I have the follwing code:
Qt Code:
  1. void BaseCalcProccess::started()
  2. {
  3. m_threadData.LoopOn = true;
  4. emit start();
  5. }
  6.  
  7. void BaseCalcProccess::stopped()
  8. {
  9. m_threadData.LoopOn = false;
  10. emit stop();
  11. usleep(50000);
  12. }
  13.  
  14. void BaseCalcProccess::run(void )
  15. {
  16. ............
To copy to clipboard, switch view to plain text mode 
the code had been compiled with QtCreator 3.1.1 (based on Qt 5.2.1) and tested in ubuntu 13.10 without any problems!

Then I compiled with Qt 4.8.2 for embedded linux (ARM) and started the application in the target env. and everything is working as expected BUT the "started"-signal is not been triggered or at least, there is no call to the RUN-method for the BaseCalcProccess!!
I had been trying to find some explanations to this behaviour or some way to narrow down the problem without any success, so any advices, suggestions or help is much appreciated!