> > Question: what is the correct value for that internal > variable? > > This will be determined by the output of the pkg-config > command pkg-config > --cflags-only-I tqt > > For example, on my system that command spits out: > -I/usr/include/qt3 -I/usr/include/tqt > > My CMakeCache.txt file for tdelibs is attached. Thanks. At least I have a workaround with my script function to fix on-the-fly. Seems to be working nicely, but still bothers me. I notice in your qt3 build options you use the following: -headerdir "/usr/include/qt3" I let qt3 install the headers to its own default location at $QTDIR/include. Do you think that makes a difference with pkg-config not working because the headers are not in the standard /usr/include location? I submitted a bug report about qt3 installing its pkg-config file in an odd location (bug report 796). Although I ceate a sym link, could that be confusing pkg-config with extracting information? Do you need that sym link on your system? If not, then how do you get your qt3 qt-mt.pc installed to /usr/lib/pkgconfig/? Or do you add that odd location to your system's $PKG_CONFIG_PATH environment variable? I'm adding that odd location to my $PKG_CONFIG_PATH path. I'm just looking for any anomaly. Grasping at the wind... Darrell