Changeset 59970 in vbox
- Timestamp:
- Mar 9, 2016 3:51:42 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/darwin/Makefile.kmk
r59472 r59970 36 36 endif 37 37 VBOX_PATH_DIST_OTHER = $(error VBOX_PATH_DIST_OTHER used in a non-combined package deal) 38 39 ifeq ($(VBOX_WITH_QTGUI_V5),) 40 VBOX_QT_VERSION_MAJOR = 4 41 PATH_SDK_QT = $(PATH_SDK_QT4) 42 else # VBOX_WITH_QTGUI_V5 43 VBOX_QT_VERSION_MAJOR = 5 44 PATH_SDK_QT = $(PATH_SDK_QT5) 45 endif # VBOX_WITH_QTGUI_V5 38 46 39 47 # Unset this to speed up things during makefile hacking. … … 339 347 340 348 VBOX_DI_VBAPP_DYLIBS = \ 341 $(foreach qtmod, $(VBOX_QT_MOD_NAMES), Frameworks/$(qtmod).framework/Versions/ 4/$(qtmod)) \349 $(foreach qtmod, $(VBOX_QT_MOD_NAMES), Frameworks/$(qtmod).framework/Versions/$(VBOX_QT_VERSION_MAJOR)/$(qtmod)) \ 342 350 MacOS/VBoxDD.dylib \ 343 351 MacOS/VBoxDD2.dylib \ … … 509 517 MacOS/VBoxEFI64.fd 510 518 endif 519 ifeq ($(VBOX_WITH_QTGUI_V5),) 520 VBOX_DI_VBAPP_MISC_FILES += \ 521 Frameworks/QtGui$(VBOX_QT_INFIX).framework/Versions/$(VBOX_QT_VERSION_MAJOR)/Resources/qt_menu.nib/classes.nib \ 522 Frameworks/QtGui$(VBOX_QT_INFIX).framework/Versions/$(VBOX_QT_VERSION_MAJOR)/Resources/qt_menu.nib/info.nib \ 523 Frameworks/QtGui$(VBOX_QT_INFIX).framework/Versions/$(VBOX_QT_VERSION_MAJOR)/Resources/qt_menu.nib/keyedobjects.nib 524 else # VBOX_WITH_QTGUI_V5 525 VBOX_DI_VBAPP_MISC_FILES += \ 526 PlugIns/platforms/libqcocoa$(SUFF_DLL) \ 527 PlugIns/platforms/libqminimal$(SUFF_DLL) \ 528 PlugIns/platforms/libqoffscreen$(SUFF_DLL) 529 endif # VBOX_WITH_QTGUI_V5 511 530 VBOX_DI_VBAPP_MISC_FILES += \ 512 Frameworks/QtGui$(VBOX_QT_INFIX).framework/Versions/4/Resources/qt_menu.nib/classes.nib \ 513 Frameworks/QtGui$(VBOX_QT_INFIX).framework/Versions/4/Resources/qt_menu.nib/info.nib \ 514 Frameworks/QtGui$(VBOX_QT_INFIX).framework/Versions/4/Resources/qt_menu.nib/keyedobjects.nib \ 515 $(foreach qtmod, $(VBOX_QT_MOD_NAMES), Frameworks/$(qtmod).framework/Versions/4/Resources/Info.plist) 531 $(foreach qtmod, $(VBOX_QT_MOD_NAMES), Frameworks/$(qtmod).framework/Versions/$(VBOX_QT_VERSION_MAJOR)/Resources/Info.plist) 516 532 517 533 VBOX_DI_VBAPP_SYMLINKS = \ … … 519 535 Resources/vmstarter.app/Contents/MacOS=>../../../MacOS/ \ 520 536 $(foreach qtmod, $(VBOX_QT_MOD_NAMES) \ 521 ,Frameworks/$(qtmod).framework/Versions/Current=> 4)537 ,Frameworks/$(qtmod).framework/Versions/Current=>$(VBOX_QT_VERSION_MAJOR) ) 522 538 ifndef VBOX_NOT_OSX_105 523 539 VBOX_DI_VBAPP_SYMLINKS += $(foreach qtmod, $(VBOX_QT_MOD_NAMES) \ 524 ,Frameworks/$(qtmod).framework/$(qtmod)=>Versions/ 4/$(qtmod) \525 Frameworks/$(qtmod).framework/Resources=>Versions/ 4/Resources/ )540 ,Frameworks/$(qtmod).framework/$(qtmod)=>Versions/$(VBOX_QT_VERSION_MAJOR)/$(qtmod) \ 541 Frameworks/$(qtmod).framework/Resources=>Versions/$(VBOX_QT_VERSION_MAJOR)/Resources/ ) 526 542 endif 527 543 … … 679 695 @# We cannot use @executable_path together with setuid binaries, dyld gets upset about it. So, fix Qt libs and users. 680 696 $(foreach qtmod, $(VBOX_QT_MOD_NAMES) \ 681 ,install_name_tool -id /Applications/VirtualBox.app/Contents/Frameworks/$(qtmod).framework/Versions/ 4/$(qtmod) \682 $(VBOX_PATH_VBOX_APP_TMP)/Contents/Frameworks/$(qtmod).framework/Versions/ 4/$(qtmod)$(NLTAB) )697 ,install_name_tool -id /Applications/VirtualBox.app/Contents/Frameworks/$(qtmod).framework/Versions/$(VBOX_QT_VERSION_MAJOR)/$(qtmod) \ 698 $(VBOX_PATH_VBOX_APP_TMP)/Contents/Frameworks/$(qtmod).framework/Versions/$(VBOX_QT_VERSION_MAJOR)/$(qtmod)$(NLTAB) ) 683 699 $(foreach f, \ 684 700 $(VBOX_DI_VBAPP_DYLIBS) \ … … 687 703 ,install_name_tool \ 688 704 $(foreach qtmod, $(VBOX_QT_MOD_NAMES), \ 689 -change @executable_path/../Frameworks/$(qtmod).framework/Versions/ 4/$(qtmod) \690 /Applications/VirtualBox.app/Contents/Frameworks/$(qtmod).framework/Versions/ 4/$(qtmod) \691 -change $(VBOX_PATH_QT)/Frameworks/$(qtmod).framework/Versions/ 4/$(qtmod) \692 /Applications/VirtualBox.app/Contents/Frameworks/$(qtmod).framework/Versions/ 4/$(qtmod) \693 -change $(PATH_SDK_QT4)/$(qtmod).framework/Versions/4/$(qtmod) \694 /Applications/VirtualBox.app/Contents/Frameworks/$(qtmod).framework/Versions/ 4/$(qtmod) \695 -change $(qtmod).framework/Versions/ 4/$(qtmod) \696 /Applications/VirtualBox.app/Contents/Frameworks/$(qtmod).framework/Versions/ 4/$(qtmod) \705 -change @executable_path/../Frameworks/$(qtmod).framework/Versions/$(VBOX_QT_VERSION_MAJOR)/$(qtmod) \ 706 /Applications/VirtualBox.app/Contents/Frameworks/$(qtmod).framework/Versions/$(VBOX_QT_VERSION_MAJOR)/$(qtmod) \ 707 -change $(VBOX_PATH_QT)/Frameworks/$(qtmod).framework/Versions/$(VBOX_QT_VERSION_MAJOR)/$(qtmod) \ 708 /Applications/VirtualBox.app/Contents/Frameworks/$(qtmod).framework/Versions/$(VBOX_QT_VERSION_MAJOR)/$(qtmod) \ 709 -change $(PATH_SDK_QT)/$(qtmod).framework/Versions/$(VBOX_QT_VERSION_MAJOR)/$(qtmod) \ 710 /Applications/VirtualBox.app/Contents/Frameworks/$(qtmod).framework/Versions/$(VBOX_QT_VERSION_MAJOR)/$(qtmod) \ 711 -change $(qtmod).framework/Versions/$(VBOX_QT_VERSION_MAJOR)/$(qtmod) \ 712 /Applications/VirtualBox.app/Contents/Frameworks/$(qtmod).framework/Versions/$(VBOX_QT_VERSION_MAJOR)/$(qtmod) \ 697 713 ) \ 698 714 $(VBOX_PATH_VBOX_APP_TMP)/Contents/$(f)$(NLTAB) ) 699 715 endif 716 ifneq ($(VBOX_WITH_QTGUI_V5),) 717 $(QUIET)$(APPEND) $(VBOX_PATH_VBOX_APP_TMP)/Contents/Resources/qt.conf "[Paths]" 718 $(QUIET)$(APPEND) $(VBOX_PATH_VBOX_APP_TMP)/Contents/Resources/qt.conf "Prefix =" /Applications/VirtualBox.app/Contents 719 $(QUIET)$(APPEND) $(VBOX_PATH_VBOX_APP_TMP)/Contents/Resources/VirtualBoxVM.app/Contents/Resources/qt.conf "[Paths]" 720 $(QUIET)$(APPEND) $(VBOX_PATH_VBOX_APP_TMP)/Contents/Resources/VirtualBoxVM.app/Contents/Resources/qt.conf "Prefix =" /Applications/VirtualBox.app/Contents 721 endif # VBOX_WITH_QTGUI_V5 700 722 ifdef VBOX_WITH_DTRACE 701 723 @# DTrace library, testcases and scripts. … … 714 736 ifdef VBOX_SIGNING_MODE 715 737 $(foreach qtmod, $(VBOX_QT_MOD_NAMES) \ 716 ,$(NLTAB)$(call VBOX_SIGN_MACHO_FN,$(VBOX_PATH_VBOX_APP_TMP)/Contents/Frameworks/$(qtmod).framework/Versions/ 4/$(qtmod),org.virtualbox.app.frameworks.$(qtmod)) )738 ,$(NLTAB)$(call VBOX_SIGN_MACHO_FN,$(VBOX_PATH_VBOX_APP_TMP)/Contents/Frameworks/$(qtmod).framework/Versions/$(VBOX_QT_VERSION_MAJOR)/$(qtmod),org.virtualbox.app.frameworks.$(qtmod)) ) 717 739 $(foreach qtmod, $(VBOX_QT_MOD_NAMES) \ 718 ,$(NLTAB)$(call VBOX_SIGN_BUNDLE_FN,$(VBOX_PATH_VBOX_APP_TMP)/Contents/Frameworks/$(qtmod).framework/Versions/ 4,org.virtualbox.app.frameworks.$(qtmod)) )740 ,$(NLTAB)$(call VBOX_SIGN_BUNDLE_FN,$(VBOX_PATH_VBOX_APP_TMP)/Contents/Frameworks/$(qtmod).framework/Versions/$(VBOX_QT_VERSION_MAJOR),org.virtualbox.app.frameworks.$(qtmod)) ) 719 741 $(foreach dylib, \ 720 742 $(VBOX_DI_VBAPP_DYLIBS) \
Note:
See TracChangeset
for help on using the changeset viewer.