Using pkg-config in qmake

| | Comments (0)

I saw some random mentions of pkg-config support in qmake lying around on the ‘net, but of course found no documentation about it in Qt. (I even mailed their support dept. which said it did not exist :) ).

Nevertheless it does (at least in Qt 4.3.3). So for example to add the necessary magic to use Alsa, just do this:

CONFIG += link_pkgconfig
PKGCONFIG += alsa

Leave a comment

About this Entry

This page contains a single entry by beaufour published on February 5, 2008 12:24 PM.

Kilimanjaro here I come was the previous entry in this blog.

Closing Time is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.1