On Fri, Apr 04, 2008 at 08:08:56PM +0200, Andre Poenitz wrote: > I still don't know what the problem is, but maybe
I think that JMarc is trying to avoid using pkg-config to query for the Qt configuration. > qmake -query QT_INSTALL_HEADERS > qmake QMAKE_INCDIR_QT=/some/path > > and maybe > > qmake QMAKE_INCDIR_QT=`qmake -query QT_INSTALL_HEADERS` > > might help? That could provide the location of the headers, and qmake -query QT_INSTALL_LIBS would tell where the libraries are. From here, one could discover the needed additional libraries by grepping the .prl files. $ qmake -query QT_INSTALL_LIBS C:/MinGW/Qt/4.3.4/lib $ grep QMAKE_PRL_LIBS C:/MinGW/Qt/4.3.4/lib/*.prl C:/MinGW/Qt/4.3.4/lib/QtCore.prl:QMAKE_PRL_LIBS = -lkernel32 -luser32 -lshell32 -luuid -lole32 -ladvapi32 -lws2_32 -lz C:/MinGW/Qt/4.3.4/lib/QtGui.prl:QMAKE_PRL_LIBS = -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lmsimg32 -lQtCore -lkernel32 -luser32 -lshell32 -luuid -lole32 -ladvapi32 -lws2_32 -lz I see that the .prl files are installed on linux, solaris, cygwin, and mingw. So, possibly they are always installed everywhere. -- Enrico