changes how Qt4 is found in trunk/kdelibs/

William A. Hoffman billlist at nycap.rr.com
Wed Apr 5 20:31:32 CEST 2006


At 02:06 PM 4/5/2006, Simon Hausmann wrote:

>> I don't think it is just windows, and also this does make it harder to
>> work with a non-installed qt, unless the user sets PKG_CONFIG_PATH and
>> some other stuff, pkg-config will not even know about the users local
>> qt installation.   There is no pkg-config on the mac either.  What about
>> SUN, HP, and other commercial unix vendors do they have pkg-config?
>
>Yes, most of them also ship Gnome and Gnome requires pkg-config. (Remember, 
>they actually invented/wrote it by generalizing their foo-config scripts)

Well, it is not installed on any of those machines that I have access to.


>The qmake maintainer, too, suggested the approach of using a .pro file as 
>little script, slightly smarter than my idea to grep in the resulting 
>Makefile:
>
>debug_and_release {
>   message("Config:Debug")
>   message("Config:Release")
>} CONFIG(debug, debug|release)
>   message("Config:Debug")
>} else {
>   message("Config:Release")
>}
>message("MOC = $$QMAKE_MOC")
>message("RCC = $$QMAKE_RCC")

OK, this looks good, but a command line option to do the same would be nicer, no
temporary .pro file needed, but I can live with this.

-Bill



More information about the Kde-buildsystem mailing list