/usr/bin/ld: cannot find -lQt5::Widgets

Bug #1451806 reported by zarquon42
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
vtk6 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Since ubuntu vivid, a project I am packaging gives me the following linker error, when building against libvtk6-dev:

/usr/bin/ld: cannot find -lQt5::Widgets

In utopic everything worked well.
Shouldn't libvtk already point to this library somehow?

EDIT: I had to manually add find_package(Qt5Widgets) in my CMakeList.txt, isn't there a way to add this automatically so that find_package(VTK) will take care of this?

zarquon42 (zarquon42)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in vtk6 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.