On Tue, Nov 2, 2010 at 7:25 AM, Stefan Krastanov
<[email protected]> wrote:
> I have found the problem (hopefully the last).
> The files produced were libqtmmlwidget.so but the init function was
> qtmmlwidget (no "lib" as a prefix).
> I am using qmake .pro files but it seems that I have mangled the syntax. I
> would like to fix it. And it seem I need help for this. I'm grateful for
> your help. With some luck this will be the last question.

I think this is the default with qmake on Linux: any projects with
TEMPLATE = lib have the "lib" prefix appended. Looking at the Qt
mkspecs, I found those relevant variables:

mkspecs/common/unix.conf:QMAKE_PREFIX_SHLIB      = lib
mkspecs/common/unix.conf:QMAKE_PREFIX_STATICLIB  = lib

Maybe you can try overriding the "QMAKE_PREFIX_SHLIB"  variable with
empty string in your .pro ? Note I did not test this.

Regards,
-- 
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to