Hi everybody!

OS:WINXP
QT: 3.4
Compiler: .Net 2003

I am trying to use a very interesting Library for QT "QWT". I could run examples and use the new elements of this library in the Designer. But after compiliing my tutorial i get following error message:
Can somebody see the problem? Please see my detail steeps..
Qt Code:
  1. form1.obj : error LNK2019: unresolved external symbol "public: __thiscall QwtCom
  2. pass::QwtCompass(class QWidget *,char const *)" (??0QwtCompass@@QAE@PAVQWidget@@
  3. PBD@Z) referenced in function "public: __thiscall Form1::Form1(class QWidget *,c
  4. har const *,bool,unsigned int)" (??0Form1@@QAE@PAVQWidget@@PBD_NI@Z)
  5. tutorial1.exe : fatal error LNK1120: 1 unresolved externals
  6. NMAKE : fatal error U1077: 'link' : return code '0x460'
  7. Stop.
To copy to clipboard, switch view to plain text mode 


Detail Steeps:
Qt Code:
  1. Which version of qwt didi i download?
  2. - under: http://sourceforge.net/projects/qwt
  3. - i have download this version: qwt-4.2.0.zip
  4.  
  5.  
  6. How did i configure qwt:
  7.  
  8. - cd D:\Apps\qwt
  9. - qmake qwt.pro
  10. - nmake
  11. Result: i get 3 files: qwt.dll, qwt.lib, qwt.exp
  12.  
  13.  
  14.  
  15. How did i configure the Examples:
  16.  
  17. - cd D:\Apps\qwt\examples
  18. - qmake examples.pro
  19. - nmake
  20. Result: i get for all examples a .exe file and could run it (i had to copy qwt.dll to the directory)
  21.  
  22.  
  23.  
  24. How did i configure the qwtplugin for the designer?
  25.  
  26. - cd D:\Apps\qwt\designer
  27. - qmake qwtplugin.cpp
  28. - nmake
  29. Result: I get 4 files: qwtplugin.dll, qwtplugin.exp, qwtplugin.lib, qwtplugin.pdb
  30.  
  31.  
  32. How to use qwt plugin in the designer?
  33. - i copied qwtplugin.dll, qwtplugin.exp, qwtplugin.lib to D:\Apps\qt-3\plugins\designer
  34. - i copied qwt.dll to D:\Apps\qt-3\bin
  35. - i copied all includes (header files) from D:\Apps\qwt\include to D:\Apps\qt-3\include
  36. Result: I could start qtdesigner and use the new qwt elements (sliders, buttons)
  37.  
  38.  
  39.  
  40. Test qwt and compiling:
  41. - i have created a dialog with a new qwt element (a compass) and a main.cpp
  42. - qmake
  43. - nmake
  44. ERROR:
  45. form1.obj : error LNK2019: unresolved external symbol "public: __thiscall QwtCom
  46. pass::QwtCompass(class QWidget *,char const *)" (??0QwtCompass@@QAE@PAVQWidget@@
  47. PBD@Z) referenced in function "public: __thiscall Form1::Form1(class QWidget *,c
  48. har const *,bool,unsigned int)" (??0Form1@@QAE@PAVQWidget@@PBD_NI@Z)
  49. tutorial1.exe : fatal error LNK1120: 1 unresolved externals
  50. NMAKE : fatal error U1077: 'link' : return code '0x460'
  51. Stop.
To copy to clipboard, switch view to plain text mode