Ignore:
Timestamp:
Jan 28, 2016, 12:29:19 PM (9 years ago)
Author:
bird
Message:

units/qt5.kmk: /4/ -> /5/

File:
1 edited

Legend:

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

    r2805 r2806  
    6767#       PATH_SDK_QT5_LIB       - The lib directory for KBUILD_TARGET.
    6868ifndef PATH_SDK_QT5
    69  PATH_SDK_QT5 := $(firstword $(rsort $(wildcard $(KBUILD_DEVTOOLS_TRG)/qt/v4*)))
     69 PATH_SDK_QT5 := $(firstword $(rsort $(wildcard $(KBUILD_DEVTOOLS_TRG)/qt/v5*)))
    7070 ifeq ($(PATH_SDK_QT5),)
    7171  # If target == host, try look for Qt in the various platform specific places.
    7272  ifeq ($(KBUILD_TARGET),$(KBUILD_HOST))
    7373   ifeq ($(KBUILD_TARGET),darwin)
    74     PATH_SDK_QT5 := $(patsubst %/Frameworks/QtCore.framework/Versions/4,%,$(firstword $(wildcard /Library/Frameworks/QtCore.framework/Versions/4)))
     74    PATH_SDK_QT5 := $(patsubst %/Frameworks/QtCore.framework/Versions/5,%,$(firstword $(wildcard /Library/Frameworks/QtCore.framework/Versions/5)))
    7575   else ifeq ($(KBUILD_TARGET),win)
    7676    # No idea here yet...
     
    8383        /usr/bin/qt4to5-qt5 \
    8484        /usr/local/bin/qt4to5-qt5 \
    85         /usr/qt/4/bin/qt4to5-qt5 \
     85        /usr/qt/5/bin/qt4to5-qt5 \
    8686        /usr/share/qt5/bin/qt4to5-qt5 \
    8787        )))
     
    9090        /usr/bin/qt4to5 \
    9191        /usr/local/bin/qt4to5 \
    92         /usr/qt/4/bin/qt4to5 \
     92        /usr/qt/5/bin/qt4to5 \
    9393        /usr/share/qt5/bin/qt4to5 \
    9494        )))
     
    9898        /usr/bin/rcc-qt5 \
    9999        /usr/local/bin/rcc-qt5 \
    100         /usr/qt/4/bin/rcc-qt5 \
     100        /usr/qt/5/bin/rcc-qt5 \
    101101        /usr/share/qt5/bin/rcc-qt5 \
    102102        )))
     
    106106        /usr/bin/rcc \
    107107        /usr/local/bin/rcc \
    108         /usr/qt/4/bin/rcc \
     108        /usr/qt/5/bin/rcc \
    109109        /usr/share/qt5/bin/rcc \
    110110        )))
     
    234234endif
    235235ifndef PATH_TOOL_QT5_BIN
    236  PATH_TOOL_QT5_BIN := $(firstword $(rsort $(wildcard $(KBUILD_DEVTOOLS_HST)/qt/v4*/bin)))
     236 PATH_TOOL_QT5_BIN := $(firstword $(rsort $(wildcard $(KBUILD_DEVTOOLS_HST)/qt/v5*/bin)))
    237237 if "$(PATH_TOOL_QT5_BIN)" == "" && "$(KBUILD_DEVTOOLS_HST_ALT)" != ""
    238   PATH_TOOL_QT5_BIN := $(firstword $(rsort $(wildcard $(KBUILD_DEVTOOLS_HST_ALT)/qt/v4*/bin)))
     238  PATH_TOOL_QT5_BIN := $(firstword $(rsort $(wildcard $(KBUILD_DEVTOOLS_HST_ALT)/qt/v5*/bin)))
    239239 endif
    240240 ifeq ($(PATH_TOOL_QT5_BIN),)
     
    246246   PATH_TOOL_QT5_BIN := $(patsubst %/moc$(TOOL_QT5_BIN_SUFF),%,$(firstword $(wildcard \
    247247         /usr/lib/qt5/bin/moc$(TOOL_QT5_BIN_SUFF) \
    248          /usr/qt/4/bin/moc$(TOOL_QT5_BIN_SUFF) \
     248         /usr/qt/5/bin/moc$(TOOL_QT5_BIN_SUFF) \
    249249         /usr/share/qt5/bin/moc$(TOOL_QT5_BIN_SUFF) \
    250250         /usr/local/bin/moc$(TOOL_QT5_BIN_SUFF) \
     
    254254   PATH_TOOL_QT5_BIN := $(patsubst %/moc-qt5,%,$(firstword $(wildcard \
    255255        /usr/lib/qt5/bin/moc-qt5 \
    256         /usr/qt/4/bin/moc-qt5 \
     256        /usr/qt/5/bin/moc-qt5 \
    257257        /usr/share/qt5/bin/moc-qt5 \
    258258        /usr/local/bin/moc-qt5 \
     
    265265    PATH_TOOL_QT5_BIN := $(patsubst %/moc,%,$(firstword $(wildcard \
    266266        /usr/lib/qt5/bin/moc \
    267         /usr/qt/4/bin/moc \
     267        /usr/qt/5/bin/moc \
    268268        /usr/share/qt5/bin/moc \
    269269        )))
     
    274274   PATH_TOOL_QT5_BIN := $(patsubst %/qt4to5,%,$(firstword $(wildcard \
    275275        /usr/lib/qt5/bin/qt4to5 \
    276         /usr/qt/4/bin/qt4to5 \
     276        /usr/qt/5/bin/qt4to5 \
    277277        /usr/share/qt5/bin/qt4to5 \
    278278        /usr/local/bin/qt4to5 \
     
    283283   PATH_TOOL_QT5_BIN := $(patsubst %/rcc$(TOOL_QT5_BIN_SUFF),%,$(firstword $(wildcard \
    284284        /usr/lib/qt5/bin/rcc$(TOOL_QT5_BIN_SUFF) \
    285         /usr/qt/4/bin/rcc$(TOOL_QT5_BIN_SUFF) \
     285        /usr/qt/5/bin/rcc$(TOOL_QT5_BIN_SUFF) \
    286286        /usr/share/qt5/bin/rcc$(TOOL_QT5_BIN_SUFF) \
    287287        /usr/local/bin/rcc$(TOOL_QT5_BIN_SUFF) \
     
    292292   PATH_TOOL_QT5_BIN := $(patsubst %/rcc,%,$(firstword $(wildcard \
    293293        /usr/lib/qt5/bin/rcc \
    294         /usr/qt/4/bin/rcc \
     294        /usr/qt/5/bin/rcc \
    295295        /usr/share/qt5/bin/rcc \
    296296        /usr/local/bin/rcc \
     
    981981 $(eval $(target)_OBJCXXFLAGS += -F$(PATH_SDK_QT5_LIB) )
    982982 $(eval $(target)_LDFLAGS  += -F$(PATH_SDK_QT5_LIB) $(foreach module,$(qt_modules), -framework $(qt_prefix)Qt$(module)$(qt_infix)) )
    983  $(eval $(target)_INCS     += $(foreach module,$(qt_modules), $(PATH_SDK_QT5_LIB)/$(qt_prefix)Qt$(module)$(qt_infix).framework/Versions/4/Headers) )
     983 $(eval $(target)_INCS     += $(foreach module,$(qt_modules), $(PATH_SDK_QT5_LIB)/$(qt_prefix)Qt$(module)$(qt_infix).framework/Versions/5/Headers) )
    984984else
    985985 ifeq ($(bld_trg),win)
Note: See TracChangeset for help on using the changeset viewer.