VirtualBox

Changeset 82854 in vbox


Ignore:
Timestamp:
Jan 25, 2020 12:05:21 PM (5 years ago)
Author:
vboxsync
Message:

/Makefile.kmk: Install the Qt .dSYM bits when VBOX_WITH_QT_DSYMS is defined. Also, use EXEC_SOURCES rather than stuff all into SOURCES with MODE=755.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.kmk

    r81150 r82854  
    156156 include $(KBUILD_PATH)/units/qt5.kmk
    157157 INSTALLS += qt5-bin
    158  qt5-bin_MODE = 755
    159158 qt5-bin_INST = $(INST_VIRTUALBOX)Contents/
     159 qt5-bin_EXEC_SOURCES = $(foreach qtmod,$(VBOX_QT_MOD_NAMES), \
     160        $(PATH_SDK_QT5_LIB)/$(qtmod).framework/Versions/5/$(qtmod)=>Frameworks/$(qtmod).framework/Versions/5/$(qtmod))
    160161 qt5-bin_SOURCES = $(foreach qtmod,$(VBOX_QT_MOD_NAMES), \
    161   $(PATH_SDK_QT5_LIB)/$(qtmod).framework/Versions/5/$(qtmod)=>Frameworks/$(qtmod).framework/Versions/5/$(qtmod) \
    162   $(PATH_SDK_QT5_LIB)/$(qtmod).framework/Versions/5/Resources/Info.plist=>Frameworks/$(qtmod).framework/Versions/5/Resources/Info.plist)
    163  qt5-bin_SOURCES += \
    164   $(PATH_SDK_QT5)/plugins/platforms/libqcocoa$(SUFF_DLL)=>plugins/platforms/libqcocoa$(SUFF_DLL) \
    165   $(PATH_SDK_QT5)/plugins/platforms/libqminimal$(SUFF_DLL)=>plugins/platforms/libqminimal$(SUFF_DLL) \
    166   $(PATH_SDK_QT5)/plugins/platforms/libqoffscreen$(SUFF_DLL)=>plugins/platforms/libqoffscreen$(SUFF_DLL)
     162        $(PATH_SDK_QT5_LIB)/$(qtmod).framework/Versions/5/Resources/Info.plist=>Frameworks/$(qtmod).framework/Versions/5/Resources/Info.plist)
     163 ifdef VBOX_WITH_QT_DSYMS
     164  qt5-bin_SOURCES += $(foreach qtmod,$(VBOX_QT_MOD_NAMES), \
     165        $(PATH_SDK_QT5_LIB)/$(qtmod).framework.dSYM/Contents/Info.plist=>Frameworks/$(qtmod).framework.dSYM/Contents/Info.plist \
     166        $(PATH_SDK_QT5_LIB)/$(qtmod).framework.dSYM/Contents/Resources/DWARF/$(qtmod)=>Frameworks/$(qtmod).framework.dSYM/Contents/Resources/DWARF/$(qtmod))
     167 endif
     168 qt5-bin_EXEC_SOURCES += \
     169        $(PATH_SDK_QT5)/plugins/platforms/libqcocoa$(SUFF_DLL)=>plugins/platforms/libqcocoa$(SUFF_DLL) \
     170        $(PATH_SDK_QT5)/plugins/platforms/libqminimal$(SUFF_DLL)=>plugins/platforms/libqminimal$(SUFF_DLL) \
     171        $(PATH_SDK_QT5)/plugins/platforms/libqoffscreen$(SUFF_DLL)=>plugins/platforms/libqoffscreen$(SUFF_DLL)
     172 ifdef VBOX_WITH_QT_DSYMS
     173  qt5-bin_SOURCES += $(foreach qtplat, libqcocoa libqminimal libqoffscreen, \
     174        $(PATH_SDK_QT5)/plugins/platforms/$(qtplat)$(SUFF_DLL).dSYM/Contents/Info.plist=>plugins/platforms/$(qtplat)$(SUFF_DLL).dSYM/Contents/Info.plist \
     175        $(PATH_SDK_QT5)/plugins/platforms/$(qtplat)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtplat)$(SUFF_DLL)=>plugins/platforms/$(qtplat)$(SUFF_DLL).dSYM/Contents/Resources/DWARF/$(qtplat)$(SUFF_DLL))
     176 endif
    167177 qt5-bin_SYMLINKS = $(foreach qtmod, $(VBOX_QT_MOD_NAMES), \
    168   Frameworks/$(qtmod).framework/Versions/Current=>5 \
    169   Frameworks/$(qtmod).framework/$(qtmod)=>Versions/5/$(qtmod) \
    170   Frameworks/$(qtmod).framework/Resources=>Versions/5/Resources)
     178        Frameworks/$(qtmod).framework/Versions/Current=>5 \
     179        Frameworks/$(qtmod).framework/$(qtmod)=>Versions/5/$(qtmod) \
     180        Frameworks/$(qtmod).framework/Resources=>Versions/5/Resources)
    171181else # win x11
    172182 if1of ($(KBUILD_TARGET), linux solaris)
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