Files
harbour-core/contrib/gtqtc/gtqtc.hbp
Przemysław Czerpak a5ad762cb0 2024-03-07 13:41 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/gtqtc/gtqtc.hbp
    ! do not detect QT5 when HB_BUILD_3RDEXT=no is set

  * debian/rules
    * removed LD_LIBRARY_PATH setting

  * src/rdd/dbcmd.c
  * src/rdd/wacore.c
    ! moved code checking WA number from DbSelectArea() PRG function
      to hb_rddSelectWorkAreaNumber() C function. It fixes few things
      like:
         DbSelectArea( 0 )
      and also:
         ? ( 0 )->( select() )
2024-03-07 13:41:15 +01:00

57 lines
1.6 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=qt5:qt5
-depkeyhead=qt5:QtCore/QJsonObject
-depcontrol=qt5:${HB_WITH_QT}
{HB_BUILD_3RDEXT='no'}-depoptional=qt5:no
-depoptional=qt5:yes
-depincpath=qt5:/usr/include/x86_64-linux-gnu/qt5{linux}
-depincpath=qt5:/usr/local/opt/qt5/include{darwin}
-depincpath=qt5:/usr/local/include/qt5{bsd}
-depfinish=qt5
{!HBMK_HAS_QT5&!darwin&!android}-deppkgname=qt:QtCore
{!HBMK_HAS_QT5}-deppkgname=qt:qt4
{!HBMK_HAS_QT5}-depkeyhead=qt:QtCore/qglobal.h
{!HBMK_HAS_QT5}-depcontrol=qt:${HB_WITH_QT}
{!HBMK_HAS_QT5&HB_BUILD_3RDEXT='no'}-depcontrol=qt:no
{!HBMK_HAS_QT5&!darwin&!android}-depincpath=qt:/usr/include/qt4
{!HBMK_HAS_QT5&!darwin&!android}-depincpath=qt:/usr/lib/qt4/include
{!HBMK_HAS_QT5&!darwin&!android}-depincpath=qt:/usr/include
{!HBMK_HAS_QT5&bsd}-depincpath=qt:/usr/local/include/qt4
{!HBMK_HAS_QT5&beos}-depincpath=qt:/boot/common/include
{!HBMK_HAS_QT5&darwin}-depincpath=qt:/Developer/qt/include
{!HBMK_HAS_QT5&darwin}-depincpath=qt:/Library/Frameworks
{!HBMK_HAS_QT5&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