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

Qt threads



  • Hello,

    I am developing a Qt interface for a 3D printer. When I cilck the Print button (the printer starts printing) the interface crashes. I am using this code:

    @*future= QtConcurrent::run(Imprimir,filename.toUtf8().data());@

    What can I use to solve it?? What types of threads can I use????

    I need to use the interface while the printer is printing (it may take several minutes).

    Thank you for advance.


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    With only that it's difficult to tell. The code of Imprimir would be useful to understand your problem.


Log in to reply