On 03/12/2012 08:24 PM, ext Thiago Macieira wrote:
> Adding -l flags does not work because of the way qmake works. When you write:
>
>       QT += platformsupport-private
>       LIBS += -lfoo
>
> or when you write:
>
>       LIBS += -lfoo
>       QT += platformsupport-private
>
> This will always add to the command line:
>
>       -lfoo -lQtPlatformSupport
>
> which is the wrong order. It needs to be the other way around.

You can do this...

QT += platformsupport-private
load(qt)
LIBS += -lfoo

-- 
Lincoln Ramsay - Senior Software Engineer
Qt Development Frameworks, Nokia - http://qt.nokia.com/
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to