Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#7826 closed Bugs (fixed)

qt5.jam uses wrong path for QtCore library if debug symbols are seperate

Reported by: Robin Eckert <const@…> Owned by: Vladimir Prus
Milestone: To Be Determined Component: build
Version: Boost Release Branch Severity: Problem
Keywords: Cc:

Description

This error occured during (static) linking when cross-compiling a Qt5 application using mingw:

relevant part of the b2 -d+2 output:

"/usr/bin/i686-w64-mingw32-g++" [...] -lQt5Widgetsd -lQt5Svgd -lQt5OpenGLd -lQt5Xmld -lQt5Guid -lQtCored [...]

/usr/bin/i686-w64-mingw32-ld: cannot find -lQtCored

The library filename in my case is "libQt5Cored.a"

The attached patch solves the problem at least in my case.

Qt5 support otherwise works like a charm here :-)

Attachments (1)

qt5-seperate-debug-name.diff (545 bytes ) - added by Robin Eckert <const@…> 10 years ago.

Download all attachments as: .zip

Change History (3)

by Robin Eckert <const@…>, 10 years ago

comment:1 by Jürgen Hunold, 10 years ago

Resolution: fixed
Status: newclosed

(In [82193]) Fix debug library name for QtCore. Fixes #7826

comment:2 by Jürgen Hunold, 10 years ago

(In [82194]) Merge 82193 from /trunk

------------------------------------------------------------------------ r82193 | jhunold | 2012-12-23 21:53:33 +0100 (So, 23 Dez 2012) | 2 lines

Fix debug library name for QtCore. Fixes #7826

------------------------------------------------------------------------

Note: See TracTickets for help on using tickets.