[Qt-interest] Basic qmake question
Donal O'Connor
donaloconnor at gmail.com
Fri Aug 21 12:49:54 CEST 2009
This i s part of my project file that uses it:
INCLUDEPATH += /home/donal/project/libs/qextserialport
QMAKE_LIBDIR += /home/donal/project/libs/qextserialport/build
LIBS += -L/home/donal/project/libs/qextserialport/build/ \
-lqextserialport
unix:DEFINES = _TTY_POSIX_
win32:DEFINES = _TTY_WIN_ \
QWT_DLL \
QT_DLL
But i've my compiled libs in /home/donal/project/libs/qextserialport/build
Might help you.
On Fri, Aug 21, 2009 at 11:29 AM, Phil <phillor at telstra.com> wrote:
> Thank you for reading this.
>
> I'm attempting to create an application with Qtcreator that uses the
> qextserialport library.
>
> I have compiled qextserialport and saved a link to the generated library
> file (libqextserialport.so.1.0.0) in /usr/lib/. My application .pro file
> includes the line "LIBS += -lqextserialport".
>
> My application compiles correctly except for this error:
> "/usr/bin/ld: cannot find -lqextserialport".
>
> I've fiddled with this for most of the afternoon to get this far and I feel
> that I must be close to the answer, but not quite. Can anyone offer a
> suggestion?
>
> --
> Regards,
> Phil
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090821/8ece1046/attachment.html
More information about the Qt-interest-old
mailing list