[Development] Using windeployqt from a cross-compiled Qt
Richard Weickelt
richard at weickelt.de
Sat Aug 24 16:55:23 CEST 2019
Hello,
I've been trying to use windeployqt from a cross-compiled (mingw-w64 on
Linux) Qt. I must be the only person on the planet doing this because there
is a bug in windeployqt preventing it. The PE functionality is guarded by
Q_OS_WIN.
https://code.qt.io/cgit/qt/qttools.git/tree/src/shared/winutils/utils.cpp#n971
I guess that Q_OS_WIN is a host-dependent define and of course it is not
there when compiling host tools on Linux. Does Qt provide any
target-specific define that could be used instead?
I've filed https://bugreports.qt.io/browse/QTBUG-77823 in any case.
Thanks
More information about the Development
mailing list