PDA

View Full Version : How to ignore “xxx does not seem to be a Qt executable” warning?



assembly
2nd November 2015, 21:43
How do I ignore the warning:


xxx does not seem to be a Qt executable

I do copy some extra binary files using qmake to release folder before a custom process step/my batch file does run, among those files there's an executable that once Qt seems it, also prevent to do a successfully build. I.e, the log says my batch file exited successfully but it didn't seems to be called at all, since it call windeployqt and no files are being created at all by this utility. If I remove this executable from the file list (see below) the batch run successfully.

How can I fix this?



EXTRA_BINFILES += \
$${MYLIB_BIN_DIR}\a.exe \
$${MYLIB_BIN_DIR}\b.ini \
$${MYLIB_BIN_DIR}\c.dll \
$${MYLIB_BIN_DIR}\d.dll

for(FILE,EXTRA_BINFILES) {
QMAKE_PRE_LINK += $$quote($${QMAKE_COPY} $${FILE} $${DESTDIR_WIN}$$escape_expand(\n\t))
}