Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For example, I can't install package qcad because of error: "can't find qdict.h".
How can I find the package which provides the file qdict.h so I can install the package qcad?

share|improve this question
what package??? – Joe Mar 28 '13 at 7:42
@Joe, I illustrate: I want to install qcad, but it doesn't compile because can't find file qdict.h. I want to know which package contains that file. I've tried to google, but found nothing. – Eddy_Em Mar 28 '13 at 7:45
is it an overlay or regular package that you downloaded – Joe Mar 28 '13 at 7:50
perhaps emerge -av qt – warl0ck Mar 28 '13 at 7:53
see also unix.stackexchange.com/q/82021/13011 – Nikos Alexandris Jul 8 '13 at 15:51
up vote 9 down vote accepted

You can use pfl (emerge -av pfl) or a online database to search by package contents,

And for the qcad package, you probably need the Qt4 package. IIRC, use emerge -av x11-libs/qt-gui (Try search the package with emerge -s qt if that doesn't work out)

share|improve this answer
To be more precise, pfl provides the command e-file – Tobias Kienzler Nov 5 '13 at 11:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.