VirtualBox

Changeset 2787 in kBuild


Ignore:
Timestamp:
Aug 13, 2015 9:16:00 AM (9 years ago)
Author:
bird
Message:

units/qt4.kmk: look for -qt4 suffixed binaries too when locating the SDK.

File:
1 edited

Legend:

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

    r2726 r2787  
    8080    # The Unices. Includes and esp. libs are tricky, so override the PATH_SDK_QT4_LIB* stuff if it doesn't work.
    8181    # Try find the general root of thing by looking for the qt3to4 program, if not found, then look for rcc.
    82     PATH_SDK_QT4 := $(patsubst %/bin/qt3to4,%,$(firstword $(wildcard \
    83         /usr/bin/qt3to4 \
    84         /usr/local/bin/qt3to4 \
    85         /usr/qt/4/bin/qt3to4 \
    86         /usr/share/qt4/bin/qt3to4 \
     82    PATH_SDK_QT4 := $(patsubst %/bin/qt3to4-qt4,%,$(firstword $(wildcard \
     83        /usr/bin/qt3to4-qt4 \
     84        /usr/local/bin/qt3to4-qt4 \
     85        /usr/qt/4/bin/qt3to4-qt4 \
     86        /usr/share/qt4/bin/qt3to4-qt4 \
    8787        )))
     88    ifeq ($(PATH_SDK_QT4),)
     89     PATH_SDK_QT4 := $(patsubst %/bin/qt3to4,%,$(firstword $(wildcard \
     90        /usr/bin/qt3to4 \
     91        /usr/local/bin/qt3to4 \
     92        /usr/qt/4/bin/qt3to4 \
     93        /usr/share/qt4/bin/qt3to4 \
     94        )))
     95    endif
     96    ifeq ($(PATH_SDK_QT4),)
     97     PATH_SDK_QT4 := $(patsubst %/bin/rcc-qt4,%,$(firstword $(wildcard \
     98        /usr/bin/rcc-qt4 \
     99        /usr/local/bin/rcc-qt4 \
     100        /usr/qt/4/bin/rcc-qt4 \
     101        /usr/share/qt4/bin/rcc-qt4 \
     102        )))
     103    endif
    88104    ifeq ($(PATH_SDK_QT4),)
    89105     PATH_SDK_QT4 := $(patsubst %/bin/rcc,%,$(firstword $(wildcard \
    90106        /usr/bin/rcc \
    91         /usr/local/bin/rcc \
     107        /usr/local/bin/rcc \
    92108        /usr/qt/4/bin/rcc \
    93109        /usr/share/qt4/bin/rcc \
    94         )))
     110        )))
    95111    endif
    96112    ifneq ($(PATH_SDK_QT4),)
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