Okay, I commented out the line as commanded. Following are two typescript, one from doing hbmk2 against qtcontrib.hbp and the second against qtcontrib4.hbp (in case that made any difference)
bugmagnet@Phenomenon2:~/Downloads/qtcontribs-code$ hbmk2 qt contribs. hbp
hbmk2: Building sub-project (level 2): hbqt/qtcore/hbqtcore.hbp
hbmk2: Building sub-project (level 3): hbqt/qtcore/hbqtcores.hbp
hbmk2: Dependency 'qt' found: /usr/include/qt4 (4.8.7)
hbmk2: Target up to date: ../lib/linux/gcc/libhbqtcore.a
hbmk2[hbqtcore]: Warning: Copying hbqt/qtcore/hbqtcore.ch to /usr/share/harbour/addons/hbqt/hbqtcore.ch failed with 5. hbmk2[hbqtcore]: Warning: Copying hbqt/qtcore/hbqtcore.hbx to
/usr/share/harbour/addons/hbqt/hbqtcore.hbx failed with 5.
hbmk2: Building sub-project (level 2): hbqt/qtgui/hbqtgui.hbp
hbmk2: Building sub-project (level 3): hbqt/qtgui/hbqtguis.hbp
hbmk2: Dependency 'qt' found: /usr/include/qt4 (4.8.7)
hbmk2: Target up to date: ../lib/linux/gcc/libhbqtgui.a
hbmk2[hbqtgui]: Warning: Copying hbqt/qtgui/hbqtgui.ch to /usr/share/harbour/addons/hbqt/hbqtgui.ch failed with 5. hbmk2[hbqtgui]: Warning: Copying hbqt/qtgui/hbqtgui.hbx to
/usr/share/harbour/addons/hbqt/hbqtgui.hbx failed with 5.
hbmk2: Building sub-project (level 2): hbqt/qtnetwork/hbqtnetwork.hbp
hbmk2: Building sub-project (level 3): hbqt/qtnetwork/hbqtnetworks.hbp
hbmk2: Dependency 'qt' found: /usr/include/qt4 (4.8.7)
hbmk2: Target up to date: ../lib/linux/gcc/libhbqtnetwork.a
hbmk2[hbqtnetwork]: Warning: Copying hbqt/qtnetwork/hbqtnetwork.hbx to
/usr/share/harbour/addons/hbqt/hbqtnetwork.hbx failed with
hbmk2: Building sub-project (level 2): hbqt/qtdeclarative/hbqtdeclarative.hbp
hbmk2: Building sub-project (level 3): hbqt/qtdeclarative/hbqtdeclaratives.hbp
hbmk2: Dependency 'qt' found: /usr/include/qt4 (4.8.7)
hbmk2: Dependency 'qtdeclarative' found: /usr/include/qt4 (4.8.7)
hbmk2: Target up to date: ../lib/linux/gcc/libhbqtdeclarative.a
hbmk2[hbqtdeclarative]: Warning: Copying hbqt/qtdeclarative/hbqtdeclarative.hbx
to /usr/share/harbour/addons/hbqt/hbqtdeclarative.hbx
hbmk2: Building sub-project (level 2): hbqt/qtlocation/hbqtlocation.hbp
hbmk2: Building sub-project (level 3): hbqt/qtlocation/hbqtlocations.hbp
hbmk2: Dependency 'qt' found: /usr/include/qt4 (4.8.7)
hbmk2: Target up to date: ../lib/linux/gcc/libhbqtlocation.a
hbmk2[hbqtlocation]: Warning: Copying hbqt/qtlocation/hbqtlocation.hbx to
/usr/share/harbour/addons/hbqt/hbqtlocation.hbx failed
hbmk2: Building sub-project (level 2): hbqt/qtmultimedia/hbqtmultimedia.hbp
hbmk2: Building sub-project (level 3): hbqt/qtmultimedia/hbqtmultimedias.hbp
hbmk2: Dependency 'qt' found: /usr/include/qt4 (4.8.7)
hbmk2[hbqtmultimedia]: Error: Missing dependency: qtmultimedia
bugmagnet@Phenomenon2:~/Downloads/qtcontribs-code$ hbmk2 qtcontribs4 .hbp
hbmk2: Building sub-project (level 2): hbqt/qtcore/hbqtcore.hbp
hbmk2: Building sub-project (level 3): hbqt/qtcore/hbqtcores.hbp
hbmk2: Dependency 'qt' found: /usr/include/qt4 (4.8.7)
hbmk2: Target up to date: ../lib/linux/gcc/libhbqtcore.a
hbmk2[hbqtcore]: Warning: Copying hbqt/qtcore/hbqtcore.ch to /usr/share/harbour/addons/hbqt/hbqtcore.ch failed with 5. hbmk2[hbqtcore]: Warning: Copying hbqt/qtcore/hbqtcore.hbx to
/usr/share/harbour/addons/hbqt/hbqtcore.hbx failed with 5.
hbmk2: Building sub-project (level 2): hbqt/qtgui/hbqtgui.hbp
hbmk2: Building sub-project (level 3): hbqt/qtgui/hbqtguis.hbp
hbmk2: Dependency 'qt' found: /usr/include/qt4 (4.8.7)
hbmk2: Target up to date: ../lib/linux/gcc/libhbqtgui.a
hbmk2[hbqtgui]: Warning: Copying hbqt/qtgui/hbqtgui.ch to /usr/share/harbour/addons/hbqt/hbqtgui.ch failed with 5. hbmk2[hbqtgui]: Warning: Copying hbqt/qtgui/hbqtgui.hbx to
/usr/share/harbour/addons/hbqt/hbqtgui.hbx failed with 5.
hbmk2: Building sub-project (level 2): hbqt/qtnetwork/hbqtnetwork.hbp
hbmk2: Building sub-project (level 3): hbqt/qtnetwork/hbqtnetworks.hbp
hbmk2: Dependency 'qt' found: /usr/include/qt4 (4.8.7)
hbmk2: Target up to date: ../lib/linux/gcc/libhbqtnetwork.a
hbmk2[hbqtnetwork]: Warning: Copying hbqt/qtnetwork/hbqtnetwork.hbx to
/usr/share/harbour/addons/hbqt/hbqtnetwork.hbx failed with
hbmk2: Building sub-project (level 2): hbqtwidgets/hbqtwidgets.hbp
hbmk2[hbqtwidgets]: Warning: Cannot nest deeper in
/usr/share/harbour/addons/hbqt/gtqtc.hbc
hbmk2: Target up to date: ../lib/linux/gcc/libhbqtwidgets.a
hbmk2: Building sub-project (level 2): hbxbp/hbxbp.hbp
hbmk2[hbxbp]: Warning: Cannot nest deeper in
/usr/share/harbour/addons/hbqt/gtqtc.hbc
hbmk2: Target up to date: ../lib/linux/gcc/libhbxbp.a
hbmk2: Building sub-project (level 2): hbide/hbide.hbp
hbmk2[hbide]: Warning: Cannot nest deeper in
/usr/share/harbour/addons/hbqt/gtqtc.hbc
hbmk2[hbide]: Warning: Cannot nest deeper in
/usr/share/harbour/addons/hbqt/gtqtc.hbc
hbmk2[hbide]: Warning: Cannot nest deeper in
/usr/share/harbour/addons/hbqt/gtqtc.hbc
hbmk2: Linking... ../bin/linux/gcc/hbide
/usr/bin/ld: cannot find -lhbqtcore
/usr/bin/ld: cannot find -lQt5Core
/usr/bin/ld: cannot find -lhbqtgui
/usr/bin/ld: cannot find -lQt5Gui
/usr/bin/ld: cannot find -lQt5Widgets
/usr/bin/ld: cannot find -lQt5PrintSupport
/usr/bin/ld: cannot find -lhbqtnetwork
/usr/bin/ld: cannot find -lQt5Network
/usr/bin/ld: cannot find -lhbqtwidgets
/usr/bin/ld: cannot find -lhbxbp
collect2: error: ld returned 1 exit status
hbmk2[hbide]: Error: Running linker. 1
gcc hbide/.hbmk/linux/gcc/hbide/main.o hbide/.hbmk/linux/gcc/hbide/parts.o hbide/.hbmk/linux/gcc/hbide/object.o hbide/.hbmk/linux/gcc/hbide/stylesheets.o hbide/.hbmk/linux/gcc/hbide/tags.o hbide/.hbmk/linux/gcc/hbide/misc.o hbide/.hbmk/linux/gcc/hbide/actions.o hbide/.hbmk/linux/gcc/hbide/editor.o hbide/.hbmk/linux/gcc/hbide/findreplace.o hbide/.hbmk/linux/gcc/hbide/docks.o hbide/.hbmk/linux/gcc/hbide/saveload.o hbide/.hbmk/linux/gcc/hbide/themes.o hbide/.hbmk/linux/gcc/hbide/projmanager.o hbide/.hbmk/linux/gcc/hbide/sources.o hbide/.hbmk/linux/gcc/hbide/harbourhelp.o hbide/.hbmk/linux/gcc/hbide/environ.o hbide/.hbmk/linux/gcc/hbide/home.o hbide/.hbmk/linux/gcc/hbide/functions.o hbide/.hbmk/linux/gcc/hbide/docwriter.o hbide/.hbmk/linux/gcc/hbide/skeletons.o hbide/.hbmk/linux/gcc/hbide/wizard.o hbide/.hbmk/linux/gcc/hbide/tools.o hbide/.hbmk/linux/gcc/hbide/shortcuts.o hbide/.hbmk/linux/gcc/hbide/plugins.o hbide/.hbmk/linux/gcc/hbide/dict.o hbide/.hbmk/linux/gcc/hbide/format.o hbide/.hbmk/linux/gcc/hbide/changelog.o hbide/.hbmk/linux/gcc/hbide/console.o hbide/.hbmk/linux/gcc/hbide/uisrcmanager.o hbide/.hbmk/linux/gcc/hbide/projectwizard.o hbide/.hbmk/linux/gcc/hbide/dbumgr.o hbide/.hbmk/linux/gcc/hbide/debugger.o hbide/.hbmk/linux/gcc/hbide/hbqtoolbar.o 'hbide/.hbmk/linux/gcc/hbide/rcc_hbide.o' 'hbide/.hbmk/linux/gcc/hbide/rcc_settings.o' 'hbide/.hbmk/linux/gcc/hbide/uic_docviewgenerator.o' 'hbide/.hbmk/linux/gcc/hbide/uic_docwriter.o' 'hbide/.hbmk/linux/gcc/hbide/uic_editor.o' 'hbide/.hbmk/linux/gcc/hbide/uic_environ.o' 'hbide/.hbmk/linux/gcc/hbide/uic_environments.o' 'hbide/.hbmk/linux/gcc/hbide/uic_finddialog.o' 'hbide/.hbmk/linux/gcc/hbide/uic_findinfiles.o' 'hbide/.hbmk/linux/gcc/hbide/uic_findinfilesex.o' 'hbide/.hbmk/linux/gcc/hbide/uic_findsource.o' 'hbide/.hbmk/linux/gcc/hbide/uic_funclist.o' 'hbide/.hbmk/linux/gcc/hbide/uic_mainwindow.o' 'hbide/.hbmk/linux/gcc/hbide/uic_projectpropertiesex.o' 'hbide/.hbmk/linux/gcc/hbide/uic_searchreplace.o' 'hbide/.hbmk/linux/gcc/hbide/uic_searchreplacepanel.o' 'hbide/.hbmk/linux/gcc/hbide/uic_selectionlist.o' 'hbide/.hbmk/linux/gcc/hbide/uic_selectproject.o' 'hbide/.hbmk/linux/gcc/hbide/uic_setup.o' 'hbide/.hbmk/linux/gcc/hbide/uic_shortcuts.o' 'hbide/.hbmk/linux/gcc/hbide/uic_skeletons.o' 'hbide/.hbmk/linux/gcc/hbide/uic_themes.o' 'hbide/.hbmk/linux/gcc/hbide/uic_themesex.o' 'hbide/.hbmk/linux/gcc/hbide/uic_toolsutilities.o' 'hbide/.hbmk/linux/gcc/hbide/uic_updown.o' 'hbide/.hbmk/linux/gcc/hbide/uic_fetchdate.o' 'hbide/.hbmk/linux/gcc/hbide/uic_updown_v.o' 'hbide/.hbmk/linux/gcc/hbide/uic_format.o' 'hbide/.hbmk/linux/gcc/hbide/uic_changelog.o' 'hbide/.hbmk/linux/gcc/hbide/uic_projectwizard.o' 'hbide/.hbmk/linux/gcc/hbide/uic_panels.o' 'hbide/.hbmk/linux/gcc/hbide/uic_functionsmap.o' 'hbide/.hbmk/linux/gcc/hbide/uic_selectsources.o' 'hbide/.hbmk/linux/gcc/hbide/uic_debugger.o' 'hbide/.hbmk/linux/gcc/hbide/uic_debugger1.o' 'hbide/.hbmk/linux/gcc/hbide/uic_debugger2.o' hbide/.hbmk/linux/gcc/hbide/parseexpr.o 'hbide/.hbmk/linux/gcc/hbide/_hbmkaut_main.o' -L\..\lib -Wl,--start-group -l'supc++' -lhbqtcore -lQt5Core -lhbqtgui -lQt5Gui -lQt5Widgets -lQt5PrintSupport -lhbqtnetwork -lQt5Network -lhbqtwidgets -lhbxbp -lhbformat -lhbct -lhbnf -lhbtip -lhbnetio -lhbmxml -lmxml -lhbmemio -lhbmzip -lminizip -lhbsms -lhbtcpio -lhbzebra -lhbziparc -lhbcplr -lhbdebug -lharbour -Wl,--end-group -o../bin/linux/gcc/hbide -L/usr/lib/harbour
Bruce.