[Development] Breaking up QtPlatformSupport

Lincoln Ramsay lincoln.ramsay at nokia.com
Wed Mar 14 01:56:26 CET 2012


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/



More information about the Development mailing list