- Timestamp:
- Oct 2, 2008 4:48:50 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.kmk
r12833 r12948 161 161 # Install our Qt DLLs / Shared Objects / Frameworks. 162 162 # 163 ## @todo move to the root Makefile.kmk, and remove qt4-bin from INSTALLS below.164 163 INSTALLS += qt4-bin 165 qt4-bin_MODE = 644164 qt4-bin_MODE = 755 166 165 ifeq ($(KBUILD_TARGET),darwin) 167 qt4-bin_INST = $(INST_VIRTUALBOX)Contents/ Frameworks/166 qt4-bin_INST = $(INST_VIRTUALBOX)Contents/ 168 167 qt4-bin_SOURCES = \ 169 $(VBOX_PATH_QT4)/Frameworks/QtCore.framework/Versions/4/QtCore=>QtCore.framework/Versions/4/QtCore \ 170 $(VBOX_PATH_QT4)/Frameworks/QtGui.framework/Versions/4/QtGui=>QtGui.framework/Versions/4/QtGui 168 $(VBOX_PATH_QT4)/Frameworks/QtCore.framework/Versions/4/QtCore=>Frameworks/QtCore.framework/Versions/4/QtCore \ 169 $(VBOX_PATH_QT4)/Frameworks/QtGui.framework/Versions/4/QtGui=>Frameworks/QtGui.framework/Versions/4/QtGui \ 170 $(PATH_qt4-bin)/libqtaccessiblewidgets.dylib=>MacOS/accessible/libqtaccessiblewidgets.dylib 171 ## @todo r=bird: does this magic actually work for the hardended builds too? or is that handled in the installer??? 172 qt4-bin_CLEAN = $(PATH_qt4-bin)/libqtaccessiblewidgets.dylib 173 $$(PATH_qt4-bin)/libqtaccessiblewidgets.dylib: $$(VBOX_PATH_QT4)/plugins/accessible/libqtaccessiblewidgets.dylib | $$(dir $$@) 174 $(call MSG_TOOL,install_name_tool,accessible,$<,$@) 175 $(QUIET)$(INSTALL) $< $@ 176 $(QUIET)install_name_tool \ 177 -change QtCore.framework/Versions/4/QtCore \ 178 @executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore \ 179 -change QtGui.framework/Versions/4/QtGui \ 180 @executable_path/../Frameworks/QtGui.framework/Versions/4/QtGui \ 181 $@ 182 171 183 else ifeq ($(KBUILD_TARGET),win) 172 184 qt4-bin_INST = $(INST_BIN) 173 185 qt4-bin_SOURCES = \ 174 186 $(VBOX_PATH_QT4_LIB)/VBoxQtCore4.dll \ 175 $(VBOX_PATH_QT4_LIB)/VBoxQtGui4.dll 187 $(VBOX_PATH_QT4_LIB)/VBoxQtGui4.dll \ 188 $(VBOX_PATH_QT4)/plugins/accessible/qtaccessiblewidgets4.dll=>accessible/qtaccessiblewidgets4.dll 189 176 190 else 177 191 qt4-bin_INST = $(INST_BIN) 178 192 qt4-bin_SOURCES = \ 179 193 $(VBOX_PATH_QT4_LIB)/libVBoxQtCore.so.4 \ 180 $(VBOX_PATH_QT4_LIB)/libVBoxQtGui.so.4 194 $(VBOX_PATH_QT4_LIB)/libVBoxQtGui.so.4 \ 195 $(VBOX_PATH_QT4)/plugins/accessible/libqtaccessiblewidgets4$(SUFF_DLL)=>accessible/libqtaccessiblewidgets4$(SUFF_DLL) 181 196 endif 182 197 endif # VBOX_WITH_QT4_SUN -
trunk/src/VBox/Frontends/VirtualBox4/Makefile.kmk
r12947 r12948 481 481 482 482 483 if1of ($(KBUILD_TARGET), darwin win)484 #485 # Install the Qt accessible plugin.486 #487 ## @todo solaris, all linux distros where we distribute Qt4 on our own488 ## @todo r=bird: Does this really have to be in <appdir>/accessible? Why can489 # it be put together with the other Qt files? That way it will490 # be more generic wrt to places where we don't install Qt. It also491 # means this installing should be moved and doesn't belong in qt4.kmk.492 INSTALLS += VirtualBox4-accessible493 VirtualBox4-accessible_INST = $(INST_BIN)accessible/494 VirtualBox4-accessible_INST.darwin = $(INST_VIRTUALBOX)Contents/MacOS/accessible/495 VirtualBox4-accessible_MODE = 0755496 ifeq ($(KBUILD_TARGET),win)497 VirtualBox4-accessible_SOURCES = $(VBOX_PATH_QT4)/plugins/accessible/qtaccessiblewidgets4.dll498 else ifneq ($(KBUILD_TARGET,darwin))499 VirtualBox4-accessible_SOURCES = $(VBOX_PATH_QT4)/plugins/accessible/libqtaccessiblewidgets4$(SUFF_DLL)500 $(error fixme)501 else502 # We need to fix the dep lib paths here, so a bit extra work.503 ## @todo r=bird: does this magic actually work for the hardended builds too? or is that handled in the installer???504 VirtualBox4-accessible_SOURCES = $(VBOX_VIRTUALBOX4_OUT_DIR)/accessible/libqtaccessiblewidgets.dylib505 VirtualBox4-accessible_CLEAN = $(VirtualBox4-accessible_SOURCES)506 VirtualBox4-accessible_BLDDIRS = $(dir $(VirtualBox4-accessible_SOURCES))507 $(VirtualBox4-accessible_SOURCES): $(VBOX_PATH_QT4)/plugins/accessible/libqtaccessiblewidgets.dylib | $$(dir $$@)508 $(call MSG_TOOL,install_name_tool,accessible,$<,$@)509 $(QUIET)$(INSTALL) $< $@510 $(QUIET)install_name_tool \511 -change QtCore.framework/Versions/4/QtCore \512 @executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore \513 -change QtGui.framework/Versions/4/QtGui \514 @executable_path/../Frameworks/QtGui.framework/Versions/4/QtGui \515 $@516 endif517 endif518 519 483 ifeq ($(KBUILD_TARGET),darwin) 520 484 #
Note:
See TracChangeset
for help on using the changeset viewer.