Tuesday, August 7, 2012

Computer Science-Qt Madde/PkgConfig

There has been an error I've been getting while calling Qt through cmake. It gives me the error Can't locate Madde/PkgConfig.pm in @INC. In order to help fix this issue, you have to make the pkg-config commands work under the mad environment. Thus in the ../QtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-20.2010.36-2-slim/usr/share/qt4/mkspecs/features folder you can find a file labeled link_pkgconfig.prf.

vi link_pkgconfig.prf

to open it

then edit it by adding the word mad before each instance of pkg-config like so.

mad pkg-config
I still don't know yet if this is necessary, but I've updated some help on building Qt http://ctluk.blogspot.com/2012/08/computer-science-qt-build-update.html

No comments:

Post a Comment