On quarta-feira, 28 de novembro de 2012 14.57.22, Alexander Görtz wrote: > I for now "solved" he problem with a quiet dirty workaround. > I added the line > QMAKE_LIBDIR_FLAGS = -L/usr/local/lib > to my pro file, which in turn results in the Makefiles line: > LIBS = $(SUBLIBS) -L/usr/local/lib -L/usr/lib64 -L/usr/local/lib - > lQtGui -lQtCore -lpthread > > which is not really nice but at least works. > If anyone has another cleaner solution im definitly happy to see it here.
There isn't. Having an older version of a library in the same dir as Qt (/usr/lib64) will always be a problem with qmake. In Qt 5, it will simply not add -L options to the default library dirs, but that's just a workaround for a bigger problem. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest