CQtDeployer icon indicating copy to clipboard operation
CQtDeployer copied to clipboard

Error after upgrading from v1.5.4.13 to v1.5.4.17: Error: Process failed to start: The system cannot find the file specified.

Open R-P-H opened this issue 3 years ago • 3 comments

After upgrading to the latest version I get the error below using the following options:

"cqtdeployer.bat" -bin "bin","bin\config.ini" -qmake C:\Qt\5.15.2\mingw81_64\bin\qmake.exe -targetDir "\Deployed" noTranslations -name "My Installer" -description "My Installer" -deployVersion 1.0 -releaseDate 2022-07-22 -publisher ME -icon "images\icon.ico" qif -qifLogo "images\my_logo.png" -installDirQIFW C: -qifOut "My Installer" noHashSum clear

Error: Process failed to start: The system cannot find the file specified.
Error: Process error code: 0
Error: The CQtDeployer fail to Pack application.

R-P-H avatar Jul 22 '22 14:07 R-P-H

Looks as cqtdeployer can not find the qt install framework qifw please check qt installer framework in your work PC.

You can install it using the cqtdeployer installer tool

EndrII avatar Jul 25 '22 06:07 EndrII

Looks as cqtdeployer can not find the qt install framework qifw please check qt installer framework in your work PC.

You can install it using the cqtdeployer installer tool

Hi, it is installed. The only thing I did was to update both compoenents (qt installer framework and cqtdeployer v1.5) and then I got the issue. I did not change anything else.

R-P-H avatar Jul 28 '22 13:07 R-P-H

Hm, maybe you can show me all deploy log with -verbose 3 option ?

EndrII avatar Jul 28 '22 13:07 EndrII

This is due to the QtDeployer being installed at "C:\Program Files (x86)", which will cause issues not able to find the binarycreator.exe. After installing it to for example "C:\Qt" it worked fine. The issue is caused by the white space in the file path.

1zun4secondary avatar Oct 04 '22 01:10 1zun4secondary

This is due to the QtDeployer being installed at "C:\Program Files (x86)", which will cause issues not able to find the binarycreator.exe. After installing it to for example "C:\Qt" it worked fine. The issue is caused by the white space in the file path.

Thanks, I didn't get a chance to debug it as requested. Will this be fixed in a new version ?

R-P-H avatar Oct 04 '22 17:10 R-P-H

This is due to the QtDeployer being installed at "C:\Program Files (x86)", which will cause issues not able to find the binarycreator.exe. After installing it to for example "C:\Qt" it worked fine. The issue is caused by the white space in the file path.

Thanks, I didn't get a chance to debug it as requested. Will this be fixed in a new version ?

@R-P-H If @1zun4 is right, then you can fix your issue if you add the binarycreator executable into PATH variable.

EndrII avatar Oct 04 '22 18:10 EndrII

This is due to the QtDeployer being installed at "C:\Program Files (x86)", which will cause issues not able to find the binarycreator.exe. After installing it to for example "C:\Qt" it worked fine. The issue is caused by the white space in the file path.

Thanks, I didn't get a chance to debug it as requested. Will this be fixed in a new version ?

@R-P-H If @1zun4 is right, then you can fix your issue if you add the binarycreator executable into PATH variable.

Thanks, I will give it a try.

R-P-H avatar Oct 05 '22 12:10 R-P-H

This issue fixed on the cqtdeployer 1.6 (dev branch)

EndrII avatar Oct 22 '22 20:10 EndrII