Qt 64 bits application
-
I have found it !!!!!
Thank you @jsulm for this info, it solved the new problems I was facing !
The problem was coming from the fact that Qt Creator does not search recursively in the folders.
In the PATH environment variable, I had the following path <matlab_folder>\R2022b\bin registered. But the missing dlls were in <matlab_folder>\R2022b\bin\win64 ...
Once I updated the PATH in Qt Creator, I could run the application as before !!
Thank you very much guys, you all have been of great help !
On my side the problem is solved, I will also update the matlab forum.
Have a very good week,
Pierre-Emmanuel -
@Pierre-Emmanuel Glad you found out but it has nothing to do with Qt Creator, that's how the PATH environment variable works on Windows.
-
Maybe or maybe not ?
I mean, I had something working with Qt 5.15 (I don't remember Qt Creator version at that moment), I did not change my PATH environment variable, and when I upgraded to Qt 6.8.1, it was not working anymore.
I thought Qt would search recursively in the folders registered in the PATH and I was wrong.
Thank you for your help,
Have a nice day,
Pierre-Emmanuel -
-
@Pierre-Emmanuel said in Qt 64 bits application:
Maybe or maybe not ?
Not "maybe". Creator (nor Qt itself) has nothing to do with runtime searching for libraries/DLLs for an executable. That is done by the OS/Windows, and that requires them to be found on either
PATH
or in the same directory as the executable. This would also be the case if you ran your program quite outside of Creator. No OS searchesPATH
recursively (would be too slow and too dangerous). So something has changed between your Qt5/6 or its environment.