You are not logged in.

#1 2009-03-04 10:34:02

elflord
Member
From: France
Registered: 2008-11-09
Posts: 51

[solved]qwt programming problem( newbie questions about compiling)

Hi all:

I'm trying compile a qt program that use the technical widget qwt
the program is an example from qwt project


my .pro file is like this
TEMPLATE = app
TARGET =
DEPENDPATH += .
INCLUDEPATH += /usr/include/qwt
CONFIG += qt
LIBS += -L/usr/lib
# Input
SOURCES += simple.cpp

but make also gives these errors:
undefined reference to 'QwtPlot'
etc etc

what is wrong here

Last edited by elflord (2009-03-04 12:29:33)

Offline

#2 2009-03-04 12:29:51

elflord
Member
From: France
Registered: 2008-11-09
Posts: 51

Re: [solved]qwt programming problem( newbie questions about compiling)

solved by adding -lqwt in LIBS

Offline

Board footer

Powered by FluxBB