Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

I installed today the libqt5 and QtQuick development stacks. In trying to also install the hsqml packages for Haskell, hsqml reports that QtDeclarative is not listed in pkg-config. However, I have installed libqt5declarative5 and found both an i386 and x86_64 version of on my filesystem.

So, how do I get pkg-config to add those files to the listing so that other applications can find them?

share|improve this question
up vote 0 down vote accepted

After more research, it would appear that the difference is that I have installed QT 5 in order to do development, and QtDeclarative has been subsumed into other components for QT 5. The HsQML library is apparently designed for older versions of QT. So the answer is that I should not be adding QtDeclarative to pkg-config at all, but should instead be looking to port HsQML to QT 5.

share|improve this answer

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.