Dear Pritpal, I installed Qt 5.9 and did the steps you recommended and I was not successful.
I would love to be able to use Qt with the harbor, but apparently it is complicated, I am using KUBUNTU 19.10. I have tried to compile in harbor 3.2 and 3.4 but the following errors are returned to me:
contrib/addons/qtcontribs-code/hbqt/qtcore/hbqt_bind.cpp:197:37: error: ‘Q_NULLPTR’ was not declared in this scope
lib/linux/gcc/.hbmk/hbqtcore/moc_hbqt_hbqevents.cpp:15:2: error: #error "This file was generated using the moc from 5.12.4. It"
lib/linux/gcc/.hbmk/hbqtcore/moc_hbqt_hbqevents.cpp:16:2: error: #error "cannot be used with the include files from this version of Qt.
lib/linux/gcc/.hbmk/hbqtcore/moc_hbqt_hbqevents.cpp:17:2: error: #error "(The moc has changed too much.)"
17 | #error "(The moc has changed too much.)"
lib/linux/gcc/.hbmk/hbqtcore/moc_hbqt_hbqevents.cpp:21:1: error: ‘QT_WARNING_PUSH’ does not name a type
21 | QT_WARNING_PUSH
/lib/linux/gcc/.hbmk/hbqtcore/moc_hbqt_hbqevents.cpp:32:14: error: ‘qt_meta_stringdata_HBQEvents_t’ does not name a type
32 | static const qt_meta_stringdata_HBQEvents_t qt_meta_stringdata_HBQEvents = {
/lib/linux/gcc/.hbmk/hbqtcore/moc_hbqt_hbqevents.cpp:65:1: error: ‘QT_INIT_METAOBJECT’ does not name a type
65 | QT_INIT_METAOBJECT const QMetaObject HBQEvents::staticMetaObject = { {contrib/addons/qtcontribs-code/hbqt/qtcore/=>contrib/addons/hbqt/qtcore/
Also show me the steps and your script from where you are issuing those steps.
Pritpal BediDear Pritpal, the procedures I did were as follows:
export HB_INSTALL_PREFIX=/usr/local
export
HB_INSTALL_BIN=/usr/local/bin
export
HB_INSTALL_LIB=/usr/local/lib
export
HB_INSTALL_ETC=/usr/local/etc
export
HB_INSTALL_INC=/usr/local/include
export
HB_INSTALL_DOC=/usr/local/share
export
HB_BUILD_SHARED=no
export
HB_QT_MAJOR_VER=5
export
HB_WITH_QT=/usr/local/Qt5/5.9.9/gcc_64/include/
export
HB_QTPATH=/usr/local/Qt5/5.9.9/gcc_64/bin/
export
LD_LIBRARY_PATH=/usr/local/Qt/5.9.9/gcc_64/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
export
QTCONTRIBS_REBUILD
$cd
harbour-core/
:~harbour-core$
cd addons
:~harbour-core/addons$
svn checkout https://svn.code.sf.net/p/qtcontribs/code/trunk
qtcontribs-code
:~harbour-core/addons$cd
..
:~harbour-core$
make
Dear Pritpal friend, thank you very much for your valuable clarifications ...
I managed to generate the lib. !!!!!!!
THANKSOOOOOOO !!!!!!!!!!