[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#337297: libqt4-dev: -lXxf86vm missing with qt3support for qmake



José Ramón Álvarez Sánchez <jras@dia.uned.es> writes:

> After trying to build a external program that uses libxxf86vm
> and with a line QT += qt3support in the .pro file for qmake,
> i got linking errors about symbols XF86VidModeQueryVersion and
> XF86VidModeGetModeLine not defined.
>
> Just added "-lXxf86vm" to the line QMAKE_PRL_LIBS
> in file /usr/lib/libQt3Support.prl  and it worked OK,
> although I am not sure if that is the best way it must be corrected
> (or, is libxxf86vm not considered system library?)

AFAIK, Qt4 doesn't have native support for Xxf86vm, so if you use it,
you're responsible for modifying the build system of your application to
link against it.

For example, using qmake, you'd add something like this to your .pro:

LIBS += -lXxf86vm

Or am I misunderstanding this bug report?

-- 
Captain Logic is not steering this tugboat.



Reply to: