[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] About the DBUS package

From: René Berber
Subject: Re: [Mingw-cross-env-list] About the DBUS package
Date: Thu, 20 Jan 2011 12:43:01 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20081209 Lightning/0.9 Thunderbird/ Mnenhy/

On 1/20/2011 2:16 AM, Mark Brand wrote:

> Hi René,
> I'm not convinced yet that there is a dependency on dbus-1.dll in

It's libdbus-1-3.dll, but you are correct, there is no dependency:

I just tested if my previous build was causing this, since it was the
usual one which produces both shared and static libraries... uninstalled
it, deleted all copies of the shared library, rebuild dbus and Qt,
rebuild the Qt application... but there is still an old:


which pulls the dependency.  Delete.  Problem solved.

> mingw-cross-env. For one thing, the procedure here works for me
> without any DLL: http://pastebin.com/1nLqpDrB.
> Also, usr/i686-pc-mingw32/bin/qdbusviewer.exe runs fine without any DLL.
> In an earlier post you mentioned PKGCONFIG in your .pro file:
>     "PKGCONFIG = fontconfig libcurl openssl dbus-1 libevent"
> I wonder if that, perhaps in combination with the wrong pkg-config,
> is causing the problem. You shouldn't need dbus-1 in PKGCONFIG since it's
> already in usr/i686-pc-mingw32/lib/QtDBus.prl:QMAKE_PRL_LIBS.

I don't see the library being used twice, but I will test without the
use of pkg-config... you're right, "CONFIG += qdbus" is enough.

> Are you sure you're not invoking plain "pkg-config" somewhere instead of
> i686-pc-mingw32-pkg-config? Qmake should be using


> i686-pc-mingw32-pkg-config
> as well thanks to:
> usr/i686-pc-mingw32/mkspecs/unsupported/win32-g++-cross/qmake.conf
> 100:PKG_CONFIG          = i686-pc-mingw32-pkg-config
> and
> usr/i686-pc-mingw32/mkspecs/features/link_pkgconfig.prf

Looks like you answered your own question here.  Actually it doesn't
even matter which one is used, as long as PKG_CONFIG_PATH is set correctly.
René Berber

reply via email to

[Prev in Thread] Current Thread [Next in Thread]