Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 libQtDeclarative.so.4.8.1 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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.