* utils/hbmk2/hbmk2.prg
* do not interrupt whole build process when optional dependency package
is disabled explicitly by -depcontrol=<optdeppkg>:no
* contrib/gtqtc/gtqtc.hbc
* contrib/gtqtc/gtqtc.hbp
* respect QT_SELECT envvar looking for QT dependencies
67 lines
2.3 KiB
Plaintext
67 lines
2.3 KiB
Plaintext
-hblib
|
|
-inc
|
|
|
|
-o${hb_name}
|
|
|
|
-w3 -es2
|
|
|
|
# Tone down warnings for both QT4 and QT5
|
|
-warn=low{allclang}
|
|
|
|
-stop{dos|watcom|bcc|pocc|pocc64|poccarm|msvcia64|pcc|(hbdyn&android)}
|
|
|
|
-pic
|
|
|
|
# NOTE: You can override auto-detection of QT 'moc' tool by using HB_QTPATH and
|
|
# optionally HB_QTSUFFIX envvars. This may only be necessary on some *nix
|
|
# systems. E.g.:
|
|
#
|
|
# HB_QTPATH=/opt/qt5/bin/
|
|
# HB_QTSUFFIX=
|
|
|
|
-plugin=hbmk2_qtgt.hb
|
|
|
|
-deppkgname=qt6:qt6
|
|
-depkeyhead=qt6:QtCore/QAdoptSharedDataTag
|
|
-depcontrol=qt6:${HB_WITH_QT}
|
|
{HB_BUILD_3RDEXT='no'|(QT_SELECT&QT_SELECT<'6')}-depcontrol=qt6:no
|
|
-depoptional=qt6:yes
|
|
-depincpath=qt6:/usr/include/x86_64-linux-gnu/qt6{linux}
|
|
-depincpath=qt6:/usr/local/opt/qt6/include{darwin}
|
|
-depincpath=qt6:/usr/local/include/qt6{bsd}
|
|
-depfinish=qt6
|
|
|
|
{!HBMK_HAS_QT6}-deppkgname=qt5:qt5
|
|
{!HBMK_HAS_QT6}-depkeyhead=qt5:QtCore/QJsonObject
|
|
{!HBMK_HAS_QT6}-depcontrol=qt5:${HB_WITH_QT}
|
|
{!HBMK_HAS_QT6&(HB_BUILD_3RDEXT='no'|QT_SELECT='4')}-depcontrol=qt5:no
|
|
{!HBMK_HAS_QT6}-depoptional=qt5:yes
|
|
{!HBMK_HAS_QT6&linux}-depincpath=qt5:/usr/include/x86_64-linux-gnu/qt5
|
|
{!HBMK_HAS_QT6&darwin}-depincpath=qt5:/usr/local/opt/qt5/include
|
|
{!HBMK_HAS_QT6&bsd}-depincpath=qt5:/usr/local/include/qt5
|
|
{!HBMK_HAS_QT6}-depfinish=qt5
|
|
|
|
{!(HBMK_HAS_QT5|HBMK_HAS_QT6)&!darwin&!android}-deppkgname=qt:QtCore
|
|
{!(HBMK_HAS_QT5|HBMK_HAS_QT6)}-deppkgname=qt:qt4
|
|
{!(HBMK_HAS_QT5|HBMK_HAS_QT6)}-depkeyhead=qt:QtCore/qglobal.h
|
|
{!(HBMK_HAS_QT5|HBMK_HAS_QT6)}-depcontrol=qt:${HB_WITH_QT}
|
|
{!(HBMK_HAS_QT5|HBMK_HAS_QT6)&(HB_BUILD_3RDEXT='no'|QT_SELECT>'4')}-depcontrol=qt:no
|
|
{!(HBMK_HAS_QT5|HBMK_HAS_QT6)&!darwin&!android}-depincpath=qt:/usr/include/qt4
|
|
{!(HBMK_HAS_QT5|HBMK_HAS_QT6)&!darwin&!android}-depincpath=qt:/usr/lib/qt4/include
|
|
{!(HBMK_HAS_QT5|HBMK_HAS_QT6)&!darwin&!android}-depincpath=qt:/usr/include
|
|
{!(HBMK_HAS_QT5|HBMK_HAS_QT6)&bsd}-depincpath=qt:/usr/local/include/qt4
|
|
{!(HBMK_HAS_QT5|HBMK_HAS_QT6)&beos}-depincpath=qt:/boot/common/include
|
|
{!(HBMK_HAS_QT5|HBMK_HAS_QT6)&darwin}-depincpath=qt:/Developer/qt/include
|
|
{!(HBMK_HAS_QT5|HBMK_HAS_QT6)&darwin}-depincpath=qt:/Library/Frameworks
|
|
{!(HBMK_HAS_QT5|HBMK_HAS_QT6)&darwin}-depincpath=qt:/usr/local/include
|
|
|
|
{HB_QT_SOUND='yes'}-cflag+=-DHB_QT_SOUND
|
|
|
|
${hb_name}.hbx
|
|
|
|
# Required for 5.7.0 or upper
|
|
-cpp=iso11{HBMK_HAS_QT5}
|
|
|
|
gtqtc1.cpp
|
|
gtqtc.h
|