VirtualBox

Changeset 1770 in kBuild for trunk


Ignore:
Timestamp:
Sep 8, 2008 12:27:28 AM (16 years ago)
Author:
bird
Message:

qt3: Load the .prl file for the library.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/units/qt3.kmk

    r1766 r1770  
    789789 endif
    790790else
    791  $(eval $(target)_LIBS    += $(PATH_SDK_QT3_LIB)/lib$(qt_prefix)qt-mt$(SUFF_DLL) )
     791 local qt_lib := $(PATH_SDK_QT3_LIB)/lib$(qt_prefix)qt-mt$(SUFF_DLL)
     792 $(eval $(target)_LIBS    += $(qt_lib) )
    792793endif
    793794$(eval $(target)_INCS     += $(PATH_SDK_QT3_INC) )
     795
     796# On Qt3 we will try pickup the QMAKE_PRL_DEFINES listed in the .prl file (in libs).
     797local qt_prl := $(firstword $(wildcard \
     798        $(patsubst %$(SUFF_DLL),%,$(patsubst %$(SUFF_LIB),%,$(qt_lib))).prl \
     799        $(dir $(qt_lib))/$(qt_prefix)qt-mt.prl \
     800        $(dir $(qt_lib))/*qt-mt*.prl \
     801        $(dir $(qt_lib))/*qt*.prl \
     802        ))
     803ifneq ($(qt_prl),)
     804 include $(qt_prl)
     805 $(eval $(target)_DEFS    += $(QMAKE_PRL_DEFINES))
     806endif
    794807
    795808# Autodetect source files with Q_OBJECT references if QT_MOCSRCS is undefined. (slow)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette