How to add the external libraries in the .pro file
-
Hi,
In my project am using qwt to plot the graph. In gui mode my project is running successfully. but when i am trying to cross compiling it is showing error like "qwt is not declared in the scope". please anybody tell me how to configure the qwt for the cross compiling. it will be more helpful for me. -
Hi,
i have included these in my .pro file and it is working in my pc. but when i try to cross compile i am getting the following error@mainwindow.cpp:6:22: error: qwt_plot.h: No such file or directory
| mainwindow.cpp:7:28: error: qwt_plot_curve.h: No such file or directory
| mainwindow.cpp: In constructor 'MainWindow::MainWindow(QWidget*)':
| mainwindow.cpp:36: error: 'QwtPlot' was not declared in this scope
| mainwindow.cpp:36: error: 'myPlot' was not declared in this scope
| mainwindow.cpp:36: error: expected type-specifier before 'QwtPlot'
| mainwindow.cpp:36: error: expected;' before 'QwtPlot' | mainwindow.cpp:51: error: 'QwtPlotCurve' was not declared in this scope | mainwindow.cpp:51: error: 'curve1' was not declared in this scope | mainwindow.cpp:51: error: expected type-specifier before 'QwtPlotCurve' | mainwindow.cpp:51: error: expected;' before 'QwtPlotCurve'
@ -
thank u shoyeb
-
no not yet
-
Hi shoyeb,
did u got the solution for this -
no but can u just check this link this might help you...