VirtualBox

Changeset 31967 in vbox for trunk/src


Ignore:
Timestamp:
Aug 25, 2010 6:12:00 PM (14 years ago)
Author:
vboxsync
Message:

Installer-OSX: use current Qt version in the installer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/darwin/Makefile.kmk

    r31940 r31967  
    554554
    555555VBOX_DI_VBAPP_DYLIBS = \
    556         $(foreach qtmod, $(VBOX_DI_VBAPP_QTMODS), Frameworks/$(qtmod)VBox.framework/Versions/4/$(qtmod)VBox) \
     556        $(foreach qtmod, $(VBOX_DI_VBAPP_QTMODS), Frameworks/$(qtmod)$(VBOX_QT4_INFIX).framework/Versions/4/$(qtmod)$(VBOX_QT4_INFIX)) \
    557557        MacOS/VBoxDD.dylib \
    558558        MacOS/VBoxDD2.dylib \
     
    680680ifdef VBOX_WITH_COCOA_QT
    681681VBOX_DI_VBAPP_MISC_FILES += \
    682         Frameworks/QtGuiVBox.framework/Versions/4/Resources/qt_menu.nib/classes.nib \
    683         Frameworks/QtGuiVBox.framework/Versions/4/Resources/qt_menu.nib/info.nib \
    684         Frameworks/QtGuiVBox.framework/Versions/4/Resources/qt_menu.nib/keyedobjects.nib
     682        Frameworks/QtGui$(VBOX_QT4_INFIX).framework/Versions/4/Resources/qt_menu.nib/classes.nib \
     683        Frameworks/QtGui$(VBOX_QT4_INFIX).framework/Versions/4/Resources/qt_menu.nib/info.nib \
     684        Frameworks/QtGui$(VBOX_QT4_INFIX).framework/Versions/4/Resources/qt_menu.nib/keyedobjects.nib
    685685endif
    686686
     
    688688        Resources/VirtualBoxVM.app/Contents/MacOS=>../../../MacOS/ \
    689689        Resources/VirtualBoxVM.app/Contents/Resources=>../../../Resources/ \
    690         $(foreach qtmod, $(VBOX_DI_VBAPP_QTMODS), Frameworks/$(qtmod)VBox.framework/$(qtmod)VBox=>Versions/4/$(qtmod)VBox)
     690        $(foreach qtmod, $(VBOX_DI_VBAPP_QTMODS), Frameworks/$(qtmod)$(VBOX_QT4_INFIX).framework/$(qtmod)$(VBOX_QT4_INFIX)=>Versions/4/$(qtmod)$(VBOX_QT4_INFIX))
    691691ifdef VBOX_WITH_COCOA_QT
    692692VBOX_DI_VBAPP_SYMLINKS += \
    693         Frameworks/QtGuiVBox.framework/Resources=>Versions/4/Resources/
     693        Frameworks/QtGui$(VBOX_QT4_INFIX).framework/Resources=>Versions/4/Resources/
    694694endif
    695695
     
    741741                $(if-expr defined(VBOX_WITH_PYTHON), $(addprefix $(VBOX_PATH_DIST)/, $(VBOX_DI_VBAPP_PYTHON_FILES)),) \
    742742                $(if-expr defined(VBOX_WITH_JXPCOM), $(addprefix $(VBOX_PATH_DIST)/, sdk/bindings/xpcom/java/vboxjxpcom.jar),) \
    743                 $(if $(VBOX_WITH_WEBSERVICES),$(VBOX_PATH_DI_SRC)/VirtualBox/org.virtualbox.vboxwebsrv.plist,) \
     743        $(if $(VBOX_WITH_WEBSERVICES),$(VBOX_PATH_DI_SRC)/VirtualBox/org.virtualbox.vboxwebsrv.plist,) \
    744744                $(VBOX_DARWIN_INST_DEP_ON_MAKEFILE)
    745745        $(call MSG_TOOL,PackageMaker,,,$@)
     
    891891        @# We cannot use @executable_path together with setuid binaries, dyld gets upset about it. So, fix Qt libs and users.
    892892        $(foreach qtmod, $(VBOX_DI_VBAPP_QTMODS) \
    893                 ,install_name_tool -id /Applications/VirtualBox.app/Contents/Frameworks/$(qtmod)VBox.framework/Versions/4/$(qtmod)VBox \
    894                         $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/Frameworks/$(qtmod)VBox.framework/Versions/4/$(qtmod)VBox$(NLTAB) )
     893                ,install_name_tool -id /Applications/VirtualBox.app/Contents/Frameworks/$(qtmod)$(VBOX_QT4_INFIX).framework/Versions/4/$(qtmod)$(VBOX_QT4_INFIX) \
     894                        $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/Frameworks/$(qtmod)$(VBOX_QT4_INFIX).framework/Versions/4/$(qtmod)$(VBOX_QT4_INFIX)$(NLTAB) )
    895895        $(foreach f, \
    896896                $(VBOX_DI_VBAPP_DYLIBS) \
     
    905905                ,install_name_tool \
    906906                        $(foreach qtmod, $(VBOX_DI_VBAPP_QTMODS), \
    907                                 -change           @executable_path/../Frameworks/$(qtmod)VBox.framework/Versions/4/$(qtmod)VBox \
    908                                 /Applications/VirtualBox.app/Contents/Frameworks/$(qtmod)VBox.framework/Versions/4/$(qtmod)VBox \
    909                                 -change                                          $(qtmod)VBox.framework/Versions/4/$(qtmod)VBox \
    910                                 /Applications/VirtualBox.app/Contents/Frameworks/$(qtmod)VBox.framework/Versions/4/$(qtmod)VBox \
     907                                -change           @executable_path/../Frameworks/$(qtmod)$(VBOX_QT4_INFIX).framework/Versions/4/$(qtmod)$(VBOX_QT4_INFIX) \
     908                                /Applications/VirtualBox.app/Contents/Frameworks/$(qtmod)$(VBOX_QT4_INFIX).framework/Versions/4/$(qtmod)$(VBOX_QT4_INFIX) \
     909                                -change                                          $(qtmod)$(VBOX_QT4_INFIX).framework/Versions/4/$(qtmod)$(VBOX_QT4_INFIX) \
     910                                /Applications/VirtualBox.app/Contents/Frameworks/$(qtmod)$(VBOX_QT4_INFIX).framework/Versions/4/$(qtmod)$(VBOX_QT4_INFIX) \
    911911                                ) \
    912912                        $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(f)$(NLTAB) )
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