Changeset 9604 in vbox for trunk/src/VBox
- Timestamp:
- Jun 11, 2008 12:17:54 PM (17 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox4
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/Makefile.kmk
r9568 r9604 60 60 endif 61 61 endif 62 VBOX_PATH_QT4 ?= /usr 63 VBOX_PATH_QT4_BIN ?= $(VBOX_PATH_QT4)/bin 64 VBOX_PATH_QT4_INCLUDE ?= $(VBOX_PATH_QT4)/include 65 VBOX_PATH_QT4_LIB ?= $(VBOX_PATH_QT4)/lib 66 VBOX_PATH_QT4_LIB64 ?= $(VBOX_PATH_QT4)/lib64 67 VBOX_PATH_QT4_SHARE ?= $(VBOX_PATH_QT4) 62 VBOX_PATH_QT4 ?= /usr 63 VBOX_PATH_QT4_BIN ?= $(VBOX_PATH_QT4)/bin 64 VBOX_PATH_QT4_INCLUDE ?= $(VBOX_PATH_QT4)/include 65 VBOX_PATH_QT4_LIB ?= $(VBOX_PATH_QT4)/lib 66 VBOX_PATH_QT4_LIB64 ?= $(VBOX_PATH_QT4)/lib64 67 VBOX_PATH_QT4_FRAMEWORKS ?= $(VBOX_PATH_QT4)/Frameworks 68 VBOX_PATH_QT4_SHARE ?= $(VBOX_PATH_QT4) 68 69 69 70 VBOX_MODULE_QT4 = QtCore QtGui QtNetwork … … 76 77 ifeq ($(KBUILD_TARGET),darwin) 77 78 # This is temporary until the tools server is updated: 78 VBOX_PATH_QT4_ LIB= /Library/Frameworks79 VBOX_PATH_QT4_FRAMEWORKS = /Library/Frameworks 79 80 # This is necessary because we didn't include the Qt header in framework 80 81 # notation (e.g.: <QtCore/QObject>)). 81 VBOX_INCS_QT4 = $(foreach mod, $(VBOX_MODULE_QT4), $(join $(join $(VBOX_PATH_QT4_LIB)/, $(mod)), .framework/Headers)) 82 VBOX_LIBS_QT4 = 82 VBOX_INCS_QT4 = $(patsubst %, $(VBOX_PATH_QT4_FRAMEWORKS)/%.framework/Headers, $(VBOX_MODULE_QT4)) 83 # No libs cause we are using frameworks 84 VBOX_PATH_QT4_LIB = 85 VBOX_LIBS_QT4 = 83 86 else 84 87 … … 141 144 endif 142 145 146 # All the following should be done in some root Makefile and removed from this 147 # one. 143 148 ifeq ($(KBUILD_TARGET),darwin) 144 # Create the targets of the form 145 # @executable_path/../Qt???.framework/Versions/4/Qt??? 146 QT_LIB_INSTALL=$(foreach mod, $(VBOX_MODULE_QT4), $(join $(join $(PATH_BIN)/../lib/, $(mod)), .framework/Versions/4/$(mod))) 147 # Todo: Only installing the libraries isn't sufficient. For user provided 148 # frameworks (usual installed in /Library/Frameworks) we must run 149 # install_name_tool on the VirtualBox4 app and *all* used libraries. This has 150 # to be done recursively for the library part. 151 $(QT_LIB_INSTALL): \ 152 $(PATH_BIN)/../lib/%: $(VBOX_PATH_QT4_LIB)/% 149 # The following is necessary on Non OSE only. On the OSE version the Qt 150 # frameworks provided by Trolltech have to be installed on the target system 151 # in the system wide Frameworks directory (/Library/Frameworks). 152 ifndef VBOX_OSE 153 # Create the targets of the form 154 # @executable_path/../Frameworks/Qt???.framework/Versions/4/Qt??? 155 QT_LIB_INSTALL=$(foreach mod, $(VBOX_MODULE_QT4), $(join $(join $(PATH_BIN)/../Frameworks/, $(mod)), .framework/Versions/4/$(mod))) 156 # The target for the libs. This is a special target cause is creates the 157 # necessary directory structure. @Bird: is there something for this in 158 # kBuild already? Todo: What about uninstall? 159 $(QT_LIB_INSTALL): $(PATH_BIN)/../Frameworks/%: $(VBOX_PATH_QT4_FRAMEWORKS)/% 153 160 $(call MSG_INST_FILE,$<,$@) 154 161 $(QUIET)$(MKDIR) -p $(@D) 155 162 $(QUIET)$(INSTALL) -m 0644 $< $(@D) 156 OTHERS = $(QT_LIB_INSTALL) 163 # Add the lib targets to the OTHER dependencies. 164 OTHERS = $(QT_LIB_INSTALL) 165 endif 157 166 else 158 167 # The Qt DLLs (move to the root Makefile.kmk, and remove bin from INSTALLS below). … … 247 256 # We have to add the framework path to both the linker and the compiler also. 248 257 # Note that the -F flag is apple gcc only. 249 TEMPLATE_VBOXQT4GUIEXE_LDFLAGS += -F$(VBOX_PATH_QT4_ LIB) $(foreach mod, $(VBOX_MODULE_QT4), -framework $(mod)) \258 TEMPLATE_VBOXQT4GUIEXE_LDFLAGS += -F$(VBOX_PATH_QT4_FRAMEWORKS) $(addprefix -framework , $(VBOX_MODULE_QT4)) \ 250 259 -framework Carbon -framework QuickTime -bind_at_load 251 TEMPLATE_VBOXQT4GUIEXE_CXXFLAGS += -F$(VBOX_PATH_QT4_ LIB)260 TEMPLATE_VBOXQT4GUIEXE_CXXFLAGS += -F$(VBOX_PATH_QT4_FRAMEWORKS) 252 261 TEMPLATE_VBOXQT4GUIEXE_LIBS += 253 262 TEMPLATE_VBOXQT4GUIEXE_LIBPATH += -
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxProblemReporter.h
r8947 r9604 302 302 static QString formatErrorInfo (const COMBase &aWrapper) 303 303 { 304 Assert (aWrapper.lastRC() != S_OK);304 // Assert (aWrapper.lastRC() != S_OK); 305 305 return formatErrorInfo (aWrapper.errorInfo(), aWrapper.lastRC()); 306 306 } -
trunk/src/VBox/Frontends/VirtualBox4/src/darwin/Info.plist
r8200 r9604 14 14 <key>CFBundleIconFile</key> <string>virtualbox</string> 15 15 <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> 16 <key>CFBundleHelpBookFolder</key> <string>VirtualBox-Help</string> 17 <key>CFBundleHelpBookName</key> <string>Sun xVM VirtualBox</string> 16 18 <key>LSCanProvideIMVideoDataSource</key> <true/> 17 19 </dict>
Note:
See TracChangeset
for help on using the changeset viewer.