Hello,

I imported the lib qt????.lib from qt????.dll using "script postinst.bat" to compile with MSVC2008.

I have SED.EXE for Windows. ---------------------------
  echo /[ \t]*ordinal hint/,/^^[ \t]*Summary/{> _hbtemp.sed
  echo  /^^[ \t]\+[0-9]\+/{>> _hbtemp.sed
echo s/^^[ \t]\+[0-9]\+[ \t]\+[0-9A-Fa-f]\+[ \t]\+[0-9A-Fa-f]\+[ \t]\+\(.*\)/\1/p>> _hbtemp.sed
  echo  }>> _hbtemp.sed
  echo }>> _hbtemp.sed
  dumpbin /exports "%1" > _dump.tmp
  echo LIBRARY "%1" > _temp.def
  echo EXPORTS >> _temp.def
  sed -nf _hbtemp.sed < _dump.tmp >> _temp.def
  lib /machine:x86 /def:_temp.def /out:"%2"
  del _dump.tmp
  del _temp.def
  del _hbtemp.sed
---------------------------------
The make_gnu creates the libs, but generates errors when compiling:
Generating Code...
hbqt.lib(hbqt_qwebview.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall QWebView::QWebView(class QWidget *)" (__imp_??0QWebView@@q...@pavqwidget@@@Z) referenced in function _HB_FUN_QT_QWEBVIEW hbqt.lib(hbqt_qwebview.obj) : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall QWebView::metaObject(void)const " (?metaobj...@qwebview@@UBEPBUQMetaObject@@XZ) hbqt.lib(hbqt_qwebview.obj) : error LNK2001: unresolved external symbol "public: virtual void * __thiscall QWebView::qt_metacast(char const *)" (?qt_metac...@qwebview@@uaepax...@z)
.....
demoqt.exe : fatal error LNK1120: 2989 unresolved externals
hbmk: Error: Running linker. 1120

I'm using Vista, Harbour SVN, MSVC 2008.


Adauto Medeiros


_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to