Details
-
Bug
-
Resolution: Done
-
P4: Low
-
5.3.0 RC1
-
None
-
Linux
-
82d7e1d3b4b860911ff9c784cb22e9e47d0efb2e (stable, 9.5.2014, 5.3.1)
Description
When crosscompiling Qt5 (host: Linux, target: Windows), windeployqt fails to link:
.obj/main.o: In function `findDependentQtLibraries(QString const&, QString const&, Platform, QString*, QStringList*, unsigned int*, bool*, int*, int)': main.cpp:(.text+0x337): undefined reference to `readPeExecutable(QString const&, QString*, QStringList*, unsigned int*, bool*, bool)' .obj/main.o: In function `readExecutable(QString const&, Platform, QString*, QStringList*, unsigned int*, bool*)': main.cpp:(.text._Z14readExecutableRK7QString8PlatformPS_P11QStringListPjPb[readExecutable(QString const&, Platform, QString*, QStringList*, unsigned int*, bool*)]+0x25): undefined reference to `readPeExecutable(QString const&, QString*, QStringList*, unsigned int*, bool*, bool)' .obj/utils.o: In function `findSharedLibraries(QDir const&, Platform, bool, QString const&)': utils.cpp:(.text+0x2159): undefined reference to `readPeExecutable(QString const&, QString*, QStringList*, unsigned int*, bool*, bool)' collect2: ld gab 1 als Ende-Status zurück
The signature of readPeExecutable was changed but not the implementation for !Q_OS_WIN.
(There was a similar issue before, QTBUG-38203. !Q_OS_WIN doesn't get much attention?)
Attachments
Issue Links
- relates to
-
QTBUG-38203 windeployqt fails to link when crosscompiling
- Closed
- resulted from
-
QTBUG-38160 windeployqt fails to detect debug builds of MinGW
- Closed
For Gerrit Dashboard: QTBUG-38886 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
85041,2 | windployqt: Fix cross-compilation. | stable | qt/qttools | Status: MERGED | +2 | 0 |