18

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?

Nikos Alexandris
  • 1,460
  • 2
  • 18
  • 41
Eddy_Em
  • 1,293
  • 1
  • 12
  • 18

1 Answers1

18

You may use the e-file command from the pfl package (emerge -av app-portage/pfl) to search by package contents.

e-file YOURFILE

Alternatively, you may use an online database.

Regarding the qcad package specifically, you probably need the Qt4 package. IIRC, use emerge -av x11-libs/qt-gui (If that doesn't work out, try searching for QT packages. Use this query: emerge -s qt.)

daveloyall
  • 228
  • 1
  • 12
daisy
  • 53,527
  • 78
  • 236
  • 383