How to call the dll, generated by Fortran in QT and display the progress of calculation in real time?

for example, there is now a task to call the dll, generated by fortran. Due to the long calculation process, in order not to give the user the illusion that the program is dead, it is necessary to give the user real-time feedback on the progress of the calculation. My idea is to first use QT to make a small demo, with a progress bar control, but do not know how to dynamically return this progress information value to associate the progress bar, ask the boss to answer!

May.22,2021

only your Fortran knows the progress. If your Fortran DLL does not have the interface to report progress, it is impossible to guess on the QT side. You can only use fake progress bars or infinite progress bars.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2236a-db48.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2236a-db48.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?