Pritpal, thanks:

>I know nothing about OS2 and hence not in a position to comment.
>One point which comes in mind is that Harbour is supporting Qt 5.5.3

 ( do you have secret access to future Qt releases ? :-) )

>and your experiments are centered around 4.5.1. There is likelyhood
>that some of the methods may not be available in 4.5.1. But to be
>doubly sure, can you some short log of errors ?

>Mostly these errors are the results of wrong headers.

Previous tests were made:
  Harbour 2.0.0 (13372)
  Qt 4.5.1 on OS/2, beta 5
  It use os2gcc 3.3.5 in OMF type libraries

We know Qt451 for OS/2 and Harbour-hbqt are evolving, so I repeated tests with current code:
  Harbour 13848
  Qt 4.5.1 GA Release (for OS/2)
  os2gcc442 (OMF type libraries)
  set HB_WITH_QT=E:\ecs\system\qt4\include
  set HB_QT_MOC_BIN=E:\ecs\system\qt4\bin\moc.exe

Previous tests failed first with hbqt_hbdbfmodel.cpp, but current tests does not fail here

Below are make_gnu.log which end in first error

David Macias


! Building Harbour 2.1.0dev from source - http://www.harbour-project.org
! MAKE: make 3.81 E:\OS2\CMD.EXE
! HB_USER_CFLAGS: -DTCPV40HDRS -DHB_FM_STATISTICS_OFF
! HB_USER_LDFLAGS: -Le:\usr\lib\tcpipv4
! HB_HOST_PLAT: os2 (x86)  HB_SHELL: os2
! HB_PLATFORM: os2 (x86) (autodetected)
! HB_COMPILER: gccomf
! Component: 'zlib' found in E:/harbour102/harbour/external/zlib (local)
! Component: 'pcre' found in E:/harbour102/harbour/external/pcre (local)
! Component: 'openssl' not found. Configure with HB_WITH_OPENSSL.
! Component: 'gpm' not supported on os2 platform
! Component: 'slang' not found. Configure with HB_WITH_SLANG.
! Component: 'curses' not supported on os2 platform
! Component: 'x11' not found. Configure with HB_WITH_X11.
! Component: 'wattcp/watt-32' not supported on os2 platform
! HB_INSTALL_PREFIX automatically set to: E:\harbour102\harbour
! Using QT 'moc' executable: E:\ecs\system\qt4\bin\moc.exe
gcc -I. -I../../../../../include -Zomf -Wall -W -O3 -DHB_LEGACY_TYPES_OFF -IE:\ecs\system\qt4\include -IE:\ecs\system\qt4\include/QtCore -IE:\ecs\system\qt4\include/QtGui -IE:\ecs\system\qt4\include/QtNetwork -DTCPV40HDRS -DHB_FM_STATISTICS_OFF -ohbqt_base.o -c ../../../hbqt_base.cpp gcc -I. -I../../../../../include -Zomf -Wall -W -O3 -DHB_LEGACY_TYPES_OFF -IE:\ecs\system\qt4\include -IE:\ecs\system\qt4\include/QtCore -IE:\ecs\system\qt4\include/QtGui -IE:\ecs\system\qt4\include/QtNetwork -DTCPV40HDRS -DHB_FM_STATISTICS_OFF -ohbqt_utils.o -c ../../../hbqt_utils.cpp gcc -I. -I../../../../../include -Zomf -Wall -W -O3 -DHB_LEGACY_TYPES_OFF -IE:\ecs\system\qt4\include -IE:\ecs\system\qt4\include/QtCore -IE:\ecs\system\qt4\include/QtGui -IE:\ecs\system\qt4\include/QtNetwork -DTCPV40HDRS -DHB_FM_STATISTICS_OFF -ohbqt_destruct.o -c ../../../hbqt_destruct.cpp gcc -I. -I../../../../../include -Zomf -Wall -W -O3 -DHB_LEGACY_TYPES_OFF -IE:\ecs\system\qt4\include -IE:\ecs\system\qt4\include/QtCore -IE:\ecs\system\qt4\include/QtGui -IE:\ecs\system\qt4\include/QtNetwork -DTCPV40HDRS -DHB_FM_STATISTICS_OFF -ohbqt_hbdbfmodel.o -c ../../../hbqt_hbdbfmodel.cpp gcc -I. -I../../../../../include -Zomf -Wall -W -O3 -DHB_LEGACY_TYPES_OFF -IE:\ecs\system\qt4\include -IE:\ecs\system\qt4\include/QtCore -IE:\ecs\system\qt4\include/QtGui -IE:\ecs\system\qt4\include/QtNetwork -DTCPV40HDRS -DHB_FM_STATISTICS_OFF -ohbqt_hbevents.o -c ../../../hbqt_hbevents.cpp gcc -I. -I../../../../../include -Zomf -Wall -W -O3 -DHB_LEGACY_TYPES_OFF -IE:\ecs\system\qt4\include -IE:\ecs\system\qt4\include/QtCore -IE:\ecs\system\qt4\include/QtGui -IE:\ecs\system\qt4\include/QtNetwork -DTCPV40HDRS -DHB_FM_STATISTICS_OFF -ohbqt_hbqmainwindow.o -c ../../../hbqt_hbqmainwindow.cpp
En el fichero incluÝdo de E:\ecs\system\qt4\include/QtGui/qmime.h:118,
                 de E:\ecs\system\qt4\include/QtGui/qevent.h:52,
                 de E:\ecs\system\qt4\include/QtGui/QMouseEvent:1,
                 de ../../../hbqt_hbqmainwindow.h:62,
                 de ../../../hbqt_hbqmainwindow.cpp:63:
E:\ecs\system\qt4\include/QtCore/qt_os2.h:59:33: error: API_FPU_CW_Wrappers.h: No such file or directory
In file included from E:\ecs\system\qt4\include/QtGui/qmime.h:118,
                 from E:\ecs\system\qt4\include/QtGui/qevent.h:52,
                 from E:\ecs\system\qt4\include/QtGui/QMouseEvent:1,
                 from ../../../hbqt_hbqmainwindow.h:62,
                 from ../../../hbqt_hbqmainwindow.cpp:63:
E:\ecs\system\qt4\include/QtCore/qt_os2.h: In function 'LONG __FPU_CW_WinQueryClipRegion(HWND, HRGN)': E:\ecs\system\qt4\include/QtCore/qt_os2.h:72: error: '__FPU_CW_Restore' was not declared in this scope E:\ecs\system\qt4\include/QtCore/qt_os2.h: In function 'LONG __FPU_CW_WinSetClipRegion(HWND, HRGN)': E:\ecs\system\qt4\include/QtCore/qt_os2.h:82: error: '__FPU_CW_Restore' was not declared in this scope
In file included from E:\ecs\system\qt4\include/QtGui/qevent.h:52,
                 from E:\ecs\system\qt4\include/QtGui/QMouseEvent:1,
                 from ../../../hbqt_hbqmainwindow.h:62,
                 from ../../../hbqt_hbqmainwindow.cpp:63:
E:\ecs\system\qt4\include/QtGui/qmime.h: At global scope:
E:\ecs\system\qt4\include/QtGui/qmime.h:150: error: ISO C++ forbids declaration of 'DRAGINFO' with no type E:\ecs\system\qt4\include/QtGui/qmime.h:150: error: 'DRAGINFO' declared as a 'virtual' field E:\ecs\system\qt4\include/QtGui/qmime.h:150: error: expected ';' before '*' token E:\ecs\system\qt4\include/QtGui/qmime.h:153: error: expected ';' before 'virtual' E:\ecs\system\qt4\include/QtGui/qmime.h:154: error: 'DRAGITEM' has not been declared E:\ecs\system\qt4\include/QtGui/qmime.h:177: error: 'DRAGITEM' has not been declared E:\ecs\system\qt4\include/QtGui/qmime.h:210: error: ISO C++ forbids declaration of 'DRAGINFO' with no type E:\ecs\system\qt4\include/QtGui/qmime.h:210: error: expected ';' before '*' token E:\ecs\system\qt4\include/QtGui/qmime.h:212: error: expected ';' before 'virtual' E:\ecs\system\qt4\include/QtGui/qmime.h:222: error: ISO C++ forbids declaration of 'DRAGINFO' with no type E:\ecs\system\qt4\include/QtGui/qmime.h:222: error: expected ';' before '*' token E:\ecs\system\qt4\include/QtGui/qmime.h:256: error: 'DRAGITEM' has not been declared E:\ecs\system\qt4\include/QtGui/qmime.h:257: error: 'DRAGITEM' has not been declared E:\ecs\system\qt4\include/QtGui/qmime.h:291: error: 'dropWorkerFor' declared as a 'virtual' field E:\ecs\system\qt4\include/QtGui/qmime.h:291: error: expected ';' before '(' token E:\ecs\system\qt4\include/QtGui/qmime.h:294: error: expected ';' before 'protected' E:\ecs\system\qt4\include/QtGui/qmime.h:307: error: 'HSTR' has not been declared E:\ecs\system\qt4\include/QtGui/qmime.h:308: error: 'DRAGITEM' has not been declared E:\ecs\system\qt4\include/QtGui/qmime.h:309: error: 'DRAGITEM' has not been declared E:\ecs\system\qt4\include/QtGui/qmime.h:310: error: 'HSTR' has not been declared E:\ecs\system\qt4\include/QtGui/qmime.h:311: error: 'HSTR' has not been declared
E:\ecs\system\qt4\include/QtGui/qmime.h:154: warning: unused parameter 'drm'
E:\ecs\system\qt4\include/QtGui/qmime.h:154: warning: unused parameter 'drf'
E:\ecs\system\qt4\include/QtGui/qmime.h:154: warning: unused parameter 'item' E:\ecs\system\qt4\include/QtGui/qmime.h:154: warning: unused parameter 'itemIndex' E:\ecs\system\qt4\include/QtGui/qmime.h:156: warning: unused parameter 'type'
E:\ecs\system\qt4\include/QtGui/qmime.h:156: warning: unused parameter 'ext'
E:\ecs\system\qt4\include/QtGui/qmime.h:190: warning: unused parameter 'drf'
E:\ecs\system\qt4\include/QtGui/qmime.h:190: warning: unused parameter 'type'
E:\ecs\system\qt4\include/QtGui/qmime.h:190: warning: unused parameter 'ext'
E:\ecs\system\qt4\include/QtGui/qmime.h: In constructor 'QPMMime::DropWorker::DropWorker()': E:\ecs\system\qt4\include/QtGui/qmime.h:207: error: class 'QPMMime::DropWorker' does not have any field named 'nfo'
E:\ecs\system\qt4\include/QtGui/qmime.h: At global scope:
E:\ecs\system\qt4\include/QtGui/qmime.h:213: warning: unused parameter 'isAccepted' E:\ecs\system\qt4\include/QtGui/qmime.h:289: warning: unused parameter 'mimeType' E:\ecs\system\qt4\include/QtGui/qmime.h:289: warning: unused parameter 'mimeData'
make[1]: *** [hbqt_hbqmainwindow.o] Error 1
make: *** [descend] Error 2

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to