windeployqt, looks ok, but no files transferred
-
@SPlatten said in windeployqt, looks ok, but no files transferred:
C:\Qt\Qt5.9.2\5.9.2\msvc2015_64\bin\windeployqt.exe
Your are still using 64 bit version here. Why?
Can you try this:@echo Qt Deployment SET VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 14.0\ SET QT5.9.2=C:\Qt\Qt5.9.2\5.9.2\msvc2015\bin\ SET PATH=%QT5.9.2%;%PATH% %QT5.9.2%\windeployqt.exe --dir install\ deploy\trngServer.exe
EDIT: I am using 32 bit version of
windeployqt
on Win7 64 bit and Windows 10 64 bit without any problem.@KroMignon, because as I've said numerous times, trying to run the 32bit version does not work.
-
@KroMignon, because as I've said numerous times, trying to run the 32bit version does not work.
-
@SPlatten said in windeployqt, looks ok, but no files transferred:
because as I've said numerous times, trying to run the 32bit version does not work.
Even when you add
SET PATH=%QT5.9.2%;%PATH%
in the batch script?@KroMignon yes, and even it I go directly to the location of the file and execute, the result is still a dialog saying it can't run.
-
@KroMignon, because as I've said numerous times, trying to run the 32bit version does not work.
-
@SPlatten And as I said: your current approach is also not going to work.
For Qt 32bit app you have to use 32bit windeploytool.exe.
Instead of trying to do some strange workarounds you should fix the actuall issue... -
@KroMignon yes, and even it I go directly to the location of the file and execute, the result is still a dialog saying it can't run.
@SPlatten said in windeployqt, looks ok, but no files transferred:
yes, and even it I go directly to the location of the file and execute, the result is still a dialog saying it can't run.
Then I would recommend you to restore/reinstall the Qt Kit.
You have to use the rightwindeployqt
to deploy your application, AFAIK there is no option to tell which are the libs use for the deploy. -
@jsulm , ok, but saying that doesn't make it work, how can I use the 32bit windeployqt.exe if it will not run?
@SPlatten Did you try to disable anti-virus software as I suggested before? Just to make sure it is not the cause of the issue.
Check Windows log to see whether there is something helpful.
Also, can you upgrade to a more recent Qt version? -
@SPlatten Did you try to disable anti-virus software as I suggested before? Just to make sure it is not the cause of the issue.
Check Windows log to see whether there is something helpful.
Also, can you upgrade to a more recent Qt version? -
@jsulm, I can't the laptop is locked down by the company that owns it's IT department, no I can't upgrade either, the version of Qt is old I know, thats what I have to use.
@SPlatten said in windeployqt, looks ok, but no files transferred:
the version of Qt is old I know, thats what I have to use.
can you use the 64 bit version of it?
-
@SPlatten said in windeployqt, looks ok, but no files transferred:
the version of Qt is old I know, thats what I have to use.
can you use the 64 bit version of it?
-
@J-Hilk , thats what I'm trying to do with the batch file and specifying the location of the 32bit dll's because the application is compiled for 32bit it needs the 32bit dll's.
-
@J-Hilk , thats what I'm trying to do with the batch file and specifying the location of the 32bit dll's because the application is compiled for 32bit it needs the 32bit dll's.
@SPlatten said in windeployqt, looks ok, but no files transferred:
thats what I'm trying to do with the batch file and specifying the location of the 32bit dll's because the application is compiled for 32bit it needs the 32bit dll's.
thats what I meant, can't you compile it for 64 bit?
let windeployqt do its job with that one -> verify it works as standalone -> Copy files manually for the 32 bit version, using the 64 bit folder as template
-
@SPlatten said in windeployqt, looks ok, but no files transferred:
thats what I'm trying to do with the batch file and specifying the location of the 32bit dll's because the application is compiled for 32bit it needs the 32bit dll's.
thats what I meant, can't you compile it for 64 bit?
let windeployqt do its job with that one -> verify it works as standalone -> Copy files manually for the 32 bit version, using the 64 bit folder as template
-
@SPlatten said in windeployqt, looks ok, but no files transferred:
the target has to be what it is.
Okay, so
windeployqt
32 bit seems to be corrupt.
And you cannot reinstall Qt because of IT issues.
So @J-Hilk idea is to build with Qt 64 bit, usewindeployqt
64 bit to find out the required libs/plugins and than do by hand the same for 32 bit. -
@SPlatten said in windeployqt, looks ok, but no files transferred:
@J-Hilk, the target has to be what it is.
let windeployqt do its job with that one
-> verify it works as standalone-> Copy files manually for the 32 bit version,using the 64 bit folder as template-> pray -
@SPlatten said in windeployqt, looks ok, but no files transferred:
@J-Hilk, the target has to be what it is.
let windeployqt do its job with that one
-> verify it works as standalone-> Copy files manually for the 32 bit version,using the 64 bit folder as template-> pray -
@SPlatten said in windeployqt, looks ok, but no files transferred:
I will git it a go.
As alternative, you could:
- try to get windeployqt 32 bit from an other installation
- try to install this Qt version on an other machine (maybe VM) and copy the windeployqt to your machine.
- try to rebuild windeployqt from sources - (install path/Src/Tools/windeployqt)
-
@SPlatten said in windeployqt, looks ok, but no files transferred:
@J-Hilk, the target has to be what it is.
let windeployqt do its job with that one
-> verify it works as standalone-> Copy files manually for the 32 bit version,using the 64 bit folder as template-> pray -
@SPlatten said in windeployqt, looks ok, but no files transferred:
back around to the same problem again:
Do you have this error with the 64 bit or 32 bit version of your application?
@KroMignon , thats after installing with the 64 bit installer, I checked the DLL's and they look identical sizes to the 32 bit versions so I think they are the 32bit DLL's...but I can't run the application from the terminal.