Skip to content

missing link against libQtNetwork #19

Description

@uwolfer

when compiling with ld --no-copy-dt-needed the compilation fails due to a missing link:

/usr/bin/ld: CMakeFiles/qtemu.dir/machineprocess.o: undefined reference
to symbol 'QLocalSocket::QLocalSocket(QObject*)'
/usr/bin/ld: note: 'QLocalSocket::QLocalSocket(QObject*)' is defined in
DSO /usr/lib/libQtNetwork.so.4 so try adding it to the linker command line
/usr/lib/libQtNetwork.so.4: could not read symbols: Invalid operation
collect2: ld returned 1 exit status

attached patch fixes the issue.
See downstream bugs:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632948
https://bugs.launchpad.net/ubuntu/+source/qtemu/+bug/756221

Reported by: jtaylor108

Original Ticket: qtemu/bugs/17

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions