A problem of rc1, you need rc2.
Uwe
A problem of rc1, you need rc2.
Uwe
yeah, it worked fine now.
My last problem (I hope so!): I included qwt in my pro file:
QT += core gui network sql qwt
CONFIG += qwt
But I'm still incapable of accessing the classes. What is missing? I read in the install file about a QWT_DLL that I should include somewhere, but neither I understood where, nor I was able to find that DLL.
That's enough, when you did a "make install" before.
QWT_DLL is mentioned in the section about what to do, when not working with qmake. Instead this is what you need to do:read in the install file about a QWT_DLL that I should include somewhere, ...
- configure qmake to find qwt.prf ( C:\Qwt-6.1-rc2\features ) : https://qt-project.org/doc/qt-4.8/qm...ation-features
- extend your PATH so that qwt libraries can be found
Uwe
yes - a mingw32-make install.
well since I use qmake, I don't need QWT_DLL then.
Now The first part I understood that that is what I did: CONFIGURE += qwt , and qmake understand it to be qwt.prf. (this is what I understood from the link you provided).
Now what about that PATH? In fact, since I began working with Qt I hear about this PATH and dever actually found it :P where exactly is that thing and how to edit it?
Edit: if by PATH you mean the environment variable we can change in Windows by going to System and System Advanced Proprieties and adding ";C:\Qwt-6.1.0-rc2\lib" to the end, OK, I did that step already, but how does that relates to Qt?
Last edited by Momergil; 12th January 2013 at 17:00.
OK, i think i managed to do some things...
after more carefull search, I understood the PATH variable and edited it so to include ";C:\Qwt-6.0.1\lib" as indicated in this post: http://www.qtcentre.org/threads/4715...ht=qwt+install
I have the CONFIG += qwt in my .pro file as well. Now what more is needed in order to be able to include that files?
Ok, I think everything is right now - despite the fact that I'm not sure this was the way I was supposed to do.
In case, I create a no-extension file with includes of the .h from C:\... that I needed to my project and included it in mainwindow.h:
Qt Code:
/* Copyright (c) 2013 - Martin Bittencourt This file includes all relevant qwt classes for mShare. */ #ifndef QWTMSHARE_H #define QWTMSHARE_H #include "C:\Qwt-6.1.0-rc2\include\qwt.h" #include "C:\Qwt-6.1.0-rc2\include\qwt_plot.h" #include "C:\Qwt-6.1.0-rc2\include\qwt_plot_curve.h" #include "C:\Qwt-6.1.0-rc2\include\qwt_plot_grid.h" #include "C:\Qwt-6.1.0-rc2\include\qwt_plot_tradingcurve.h" #endif // QWTMSHARE_HTo copy to clipboard, switch view to plain text mode
So thanks Uwe for everything!
Last question: where should I give the feedback? I already have some ideas!![]()
Bookmarks