Changeset 10580 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jul 14, 2008 12:51:54 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 33273
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/Makefile.kmk
r10579 r10580 89 89 VBOX_PATH_QT4_SHARE ?= $(VBOX_PATH_QT4) 90 90 91 ifndef USE_KBUILD_QT_UNIT_PART_2 91 92 VBOX_MODULE_QT4 = QtCore QtGui 92 93 VBOX_DEFS_QT4 = QT_CORE_LIB QT_GUI_LIB 94 endif # !USE_KBUILD_QT_UNIT_PART_2 93 95 94 96 ifeq ($(KBUILD_TARGET),darwin) 95 # This is necessary because we didn't include the Qt header in framework 96 # notation (e.g.: <QtCore/QObject>)). 97 VBOX_INCS_QT4 = $(patsubst %, $(VBOX_PATH_QT4_FRAMEWORKS)/%.framework/Headers, $(VBOX_MODULE_QT4)) 98 # No libs cause we are using frameworks 99 VBOX_PATH_QT4_LIB = 100 VBOX_LIBS_QT4 = 97 ifndef USE_KBUILD_QT_UNIT_PART_2 98 # This is necessary because we didn't include the Qt header in framework 99 # notation (e.g.: <QtCore/QObject>)). 100 VBOX_INCS_QT4 = $(patsubst %, $(VBOX_PATH_QT4_FRAMEWORKS)/%.framework/Headers, $(VBOX_MODULE_QT4)) 101 # No libs cause we are using frameworks 102 VBOX_PATH_QT4_LIB = 103 VBOX_LIBS_QT4 = 104 endif # !USE_KBUILD_QT_UNIT_PART_2 101 105 else 102 106 … … 290 294 $(VBOX_LIBPATH_X11) 291 295 else ifeq ($(KBUILD_TARGET),darwin) 296 ifndef USE_KBUILD_QT_UNIT_PART_2 292 297 # We have to add the framework path to both the linker and the compiler also. 293 298 # Note that the -F flag is apple gcc only. 294 TEMPLATE_VBOXQT4GUIEXE_LDFLAGS += -F$(VBOX_PATH_QT4_FRAMEWORKS) $(addprefix -framework , $(VBOX_MODULE_QT4)) \ 295 -framework Carbon -framework QuickTime -bind_at_load 299 TEMPLATE_VBOXQT4GUIEXE_LDFLAGS += -F$(VBOX_PATH_QT4_FRAMEWORKS) $(addprefix -framework , $(VBOX_MODULE_QT4)) 296 300 TEMPLATE_VBOXQT4GUIEXE_CXXFLAGS += -F$(VBOX_PATH_QT4_FRAMEWORKS) 301 endif 302 TEMPLATE_VBOXQT4GUIEXE_LDFLAGS += -framework Carbon -framework QuickTime -bind_at_load 297 303 TEMPLATE_VBOXQT4GUIEXE_LIBS += 298 304 TEMPLATE_VBOXQT4GUIEXE_LIBPATH += … … 503 509 endif 504 510 endif 511 # r=bird: what is -lz doing here? it belongs in LIBS 505 512 VirtualBox4_LDFLAGS.darwin = -framework IOKit -framework AppKit -framework ApplicationServices -framework Foundation -lz 506 513 ifdef VBOX_WITH_ICHAT_THEATER … … 683 690 ## @todo Move to the appropriate places. 684 691 692 ifndef USE_KBUILD_QT_UNIT_PART_2 693 # The Qt modules we're using. 694 # (The include directory and lib/framework for each module will be added by the Qt4 unit.) 695 VirtualBox4_QT_MODULES = Core Gui 696 endif 697 685 698 # Import QDesigner UI sources and translations from VBoxUI.pro. 686 699 # Note that the OSE about dialog is always required by lupdate/lrelease.
Note:
See TracChangeset
for help on using the changeset viewer.