QT Project run fine on Dev pc but not on deployment PC
-
Hello everyone,
Thank you for your attention and time in helping me with this issue.
We have a project in Qt, trying to deploy on Windows machine. Compiler is MSVC 2017 64bit. The project works just fine on the development computer, however it does not on any deployed windows pc.
Our project contains the a DLL that we are loading. The DLL can be found by QT on the development PC, however it cannot be found on the deployment PC.
I have checked the location of the DLLs and made sure they are where they are supposed to be and nothing is out of place. I've also placed all the dependencies, and also made sure to run windeployqt on the exe.
I got no error, the program would just not start when i click/double click on the .exe.
Amidst the debugging, i went ahead and installed the QT on the deployment pc as well to see if there is any particualr issue in why it is not starting. I was hit with the following errors:
"Unable to load RSO: FrontPagePortalThree.dll
Failed to open file.
Make sure the file exists and all supporting libraries are in the path.
FrontPagePortalThree.dll: The specified module could not be found.
FrontPagePortalThree.dll: The specified module could not be found.The program has unexpectedly finished."
I get the above error on the deployment PC. however, on the dev PC, everything runs just fine.
I am running Qt 5.9.2. MSVC 2017 64bit. I made sure that the DLL are 64 bit as well.
I have been stuck on this for days, Please help! We are at a critical stage to test and just when we deploy, it decides not to work.
Once again, thank you very much.
Kind Regards
Vamshi -
Hi, Sorry I do not understand how they can be related? Can you please explain?
-
Hello everyone,
Thank you for your attention and time in helping me with this issue.
We have a project in Qt, trying to deploy on Windows machine. Compiler is MSVC 2017 64bit. The project works just fine on the development computer, however it does not on any deployed windows pc.
Our project contains the a DLL that we are loading. The DLL can be found by QT on the development PC, however it cannot be found on the deployment PC.
I have checked the location of the DLLs and made sure they are where they are supposed to be and nothing is out of place. I've also placed all the dependencies, and also made sure to run windeployqt on the exe.
I got no error, the program would just not start when i click/double click on the .exe.
Amidst the debugging, i went ahead and installed the QT on the deployment pc as well to see if there is any particualr issue in why it is not starting. I was hit with the following errors:
"Unable to load RSO: FrontPagePortalThree.dll
Failed to open file.
Make sure the file exists and all supporting libraries are in the path.
FrontPagePortalThree.dll: The specified module could not be found.
FrontPagePortalThree.dll: The specified module could not be found.The program has unexpectedly finished."
I get the above error on the deployment PC. however, on the dev PC, everything runs just fine.
I am running Qt 5.9.2. MSVC 2017 64bit. I made sure that the DLL are 64 bit as well.
I have been stuck on this for days, Please help! We are at a critical stage to test and just when we deploy, it decides not to work.
Once again, thank you very much.
Kind Regards
Vamshi@Vamshi-Chittaluri said in QT Project run fine on Dev pc but not on deployment PC:
FrontPagePortalThree.dll
Did you also deploy this DLL?
-
@Vamshi-Chittaluri said in QT Project run fine on Dev pc but not on deployment PC:
FrontPagePortalThree.dll
Did you also deploy this DLL?
@jsulm Yes, I did. I deployed this DLL.
-
@Vamshi-Chittaluri said in QT Project run fine on Dev pc but not on deployment PC:
Make sure the file exists and all supporting libraries are in the path.
This is the error message:
Make sure the file exists and all supporting libraries are in the path.That DLL is deployed does not mean it is in the path.
-
@Vamshi-Chittaluri said in QT Project run fine on Dev pc but not on deployment PC:
Make sure the file exists and all supporting libraries are in the path.
This is the error message:
Make sure the file exists and all supporting libraries are in the path.That DLL is deployed does not mean it is in the path.
@JoeCFD Hey, so I've added where all the libraries are to the environment vars as well as dragged and dropped them where the .exe exists.