2009-06-07 14:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* contrib/hbqt/Makefile
  * contrib/hbqt/tests/hbqt.hbc
  * contrib/gtqtc/Makefile
  * contrib/gtqtc/tests/gtqtc.hbc
    + If HB_QT_STATIC is set, Harbour build will automatically
      create a hbqt lib to be used with static qt libs.
      The static version of hbqt is called hbqts to allow
      it to exist in parallel with default dynamic version.

  * contrib/hbqt/tests/hbqt.hbc
    + Added two Windows system libs which are needed for
      some QT parts (path/dir handling), but aren't part of 
      default hbmk2 Windows system lib list.

  * contrib/gtalleg/Makefile
  * contrib/gtalleg/tests/gtalleg.hbc
    + If HB_ALLEGRO_STATIC is set, Harbour build will automatically
      create a gtalleg lib to be used with static allegro libs.
      The static version of gtalleg is called gtallegs to allow
      it to exist in parallel with default dynamic version.
This commit is contained in:
Viktor Szakats
2009-06-07 12:24:10 +00:00
parent 4e59887d15
commit 98c5f3d8b6
7 changed files with 44 additions and 3 deletions

View File

@@ -17,6 +17,28 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-06-07 14:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/Makefile
* contrib/hbqt/tests/hbqt.hbc
* contrib/gtqtc/Makefile
* contrib/gtqtc/tests/gtqtc.hbc
+ If HB_QT_STATIC is set, Harbour build will automatically
create a hbqt lib to be used with static qt libs.
The static version of hbqt is called hbqts to allow
it to exist in parallel with default dynamic version.
* contrib/hbqt/tests/hbqt.hbc
+ Added two Windows system libs which are needed for
some QT parts (path/dir handling), but aren't part of
default hbmk2 Windows system lib list.
* contrib/gtalleg/Makefile
* contrib/gtalleg/tests/gtalleg.hbc
+ If HB_ALLEGRO_STATIC is set, Harbour build will automatically
create a gtalleg lib to be used with static allegro libs.
The static version of gtalleg is called gtallegs to allow
it to exist in parallel with default dynamic version.
2009-06-07 13:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/tests/hbqt.hbc
* contrib/gtqtc/tests/gtqtc.hbc

View File

@@ -24,6 +24,11 @@ HB_INC_ALLEGRO_OK += $(foreach d, $(HB_INC_ALLEGRO), $(if $(wildcard $(d)/allegr
ifneq ($(strip $(HB_INC_ALLEGRO_OK)),)
ifneq ($(HB_ALLEGRO_STATIC),)
LIBNAME=gtallegs
HB_USER_CFLAGS += -DALLEGRO_STATICLINK
endif
HB_USER_CFLAGS += $(foreach d, $(HB_INC_ALLEGRO_OK), -I$(d))
C_SOURCES=\

View File

@@ -2,7 +2,8 @@
# $Id$
#
libs=gtalleg
{!HB_ALLEGRO_STATIC}libs=gtalleg
{HB_ALLEGRO_STATIC}libs=gtallegs
{win&HB_ALLEGRO_STATIC}libs=alleg_s d3d9 dsound
{win&!HB_ALLEGRO_STATIC}libs=alleg

View File

@@ -57,6 +57,11 @@ endif
ifneq ($(strip $(HB_INC_QT_OK)),)
ifneq ($(HB_QT_STATIC),)
LIBNAME=gtqtcs
HB_USER_CFLAGS += -DQT_NODLL
endif
ifneq ($(strip $(HB_INC_QT_OK)),spec)
HB_USER_CFLAGS += $(foreach d, $(HB_INC_QT_OK), -I$(d) -I$(d)/Qt -I$(d)/QtCore -I$(d)/QtGui -I$(d)/QtNetwork -I$(d)/QtWebKit)
endif

View File

@@ -13,6 +13,7 @@
{darwin}libs=/Library/Frameworks/QtNetwork.framework/QtNetwork
{darwin}libs=/Library/Frameworks/QtWebKit.framework/QtWebKit
gui=yes
gt=gtqtc
{!HB_QT_STATIC}gt=gtqtc
{HB_QT_STATIC}gt=gtqtcs
# optional
mt=yes

View File

@@ -57,6 +57,11 @@ endif
ifneq ($(strip $(HB_INC_QT_OK)),)
ifneq ($(HB_QT_STATIC),)
LIBNAME=hbqts
HB_USER_CFLAGS += -DQT_NODLL
endif
ifneq ($(strip $(HB_INC_QT_OK)),spec)
HB_USER_CFLAGS += $(foreach d, $(HB_INC_QT_OK), -I$(d) -I$(d)/Qt -I$(d)/QtCore -I$(d)/QtGui -I$(d)/QtNetwork -I$(d)/QtWebKit)
endif

View File

@@ -5,7 +5,9 @@
{allwin}libpaths=${HB_DIR_QT}\lib
{mingw|mingwce|(gcc&(linux|darwin))}libs=supc++
libs=hbqt
{!HB_QT_STATIC}libs=hbqt
{HB_QT_STATIC}libs=hbqts
{win}libs=version shlwapi
{allwin&!HB_QT_STATIC}libs=QtCore4 QtGui4 QtNetwork4 QtWebKit4
{allwin&HB_QT_STATIC}libs=QtCore QtGui QtNetwork QtWebKit
{linux}libs=QtCore QtGui QtNetwork QtWebKit