Totem, I just used -no-webkit to speed up the build -- do you mean webkit should be build for dependency? Thanks.
Totem, I just used -no-webkit to speed up the build -- do you mean webkit should be build for dependency? Thanks.
sr71, I am also getting same linker error. My setup is VS2005 + Qt 4.6.2 (precompiled libs that Qt provides)
I don't think -no-webkit is an issue.
I found that if I remove Q_OBJECT from .h file the application compiles ok. Also I exported the project to .pro and compiling it in Qt Creator also works fine (this is with Q_OBJECT) in .h file. I don't think that removing Q_OBJECT is a solution to this issue. Anybody???
My post is here
http://www.qtcentre.org/threads/3202...tPlot-staticMe
Probably, I've got exactly the same problem as yours.
Did you solve this problem already? If so, please do give me a hand.
Thank you very much in advance.
Best Regards
JIA
Welcome to Vision Open
http://www.visionopen.com
Yes, after removingfrom my .h file, I can get my application compiled and built.Q_OBJECT
However, when I ran it, I confronted another issue "Seg fault on program start", as posted here:
http://www.osgeo.org/pipermail/qgis-...ch/006230.html
Well, may I ask:
1)
What is the purpose of after my class definition? For example, my class looks like:
What isQt Code:
{ Q_OBJECT private: .... };To copy to clipboard, switch view to plain text modeused for?Q_OBJECT
2)
Without Q_OBJECT, I obtained this warning and the program won't start.
With Q_OBJECT, I obtained the following error compilation message:Warning: QObject::connect: Connecting from COMPAT signal (QAction::activated())
3) My Environments:error LNK2001: unresolved external symbol "public: static struct QMetaObject const QwtPlot::staticMetaObject" (?staticMetaObject@QwtPlot@@2UQMetaObject@@B)
WindowsXP+Visual Studio 2008+qt-vs-addin-1.1.5.exe+qwt-5.2.1
4)
In addition, under Ubuntu 10.04, the same program runs perfectly.
So, can anybody help please?
Best Regards
JIA
Welcome to Vision Open
http://www.visionopen.com
Bookmarks