VirtualBox

Changeset 7307 in vbox


Ignore:
Timestamp:
Mar 5, 2008 1:41:30 PM (17 years ago)
Author:
vboxsync
Message:

Mac OS X: Build against the qt4 framesworks on Mac OS X.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/Makefile.kmk

    r7282 r7307  
    5151VBOX_MODULE_QT4     = QtCore QtGui QtNetwork Qt3Support
    5252VBOX_DEFS_QT4       = QT_CORE_LIB QT_GUI_LIB QT_NETWORK_LIB QT_QT3SUPPORT_LIB
     53
     54ifeq ($(BUILD_TARGET),darwin)
     55VBOX_MODULE_QT4         += QtSql QtXml
     56VBOX_DEFS_QT4       = QT_SQL_LIB QT_XML_LIB
     57VBOX_INCS_QT4       = $(foreach mod, $(VBOX_MODULE_QT4), $(join $(join /Library/Frameworks/, $(mod)), .framework/Headers))
     58VBOX_LIBS_QT4       =
     59else
    5360VBOX_INCS_QT4       = $(VBOX_PATH_QT4_SHARE)/mkspecs/linux-g++ \
    5461                      $(foreach mod, $(VBOX_MODULE_QT4), $(join $(VBOX_PATH_QT4_INCLUDE)/, $(mod))) \
    5562                      $(VBOX_PATH_QT4_INCLUDE)/Qt $(VBOX_PATH_QT4_INCLUDE)
    5663VBOX_LIBS_QT4       = $(VBOX_MODULE_QT4)
     64endif
    5765
    5866# Warn about all what you know about porting qt3->qt4.
     
    153161  TEMPLATE_VBOXQT4GUIEXE_LDFLAGS += $(VBOX_LD_as_needed)
    154162 else ifeq ($(BUILD_TARGET),darwin)
    155   TEMPLATE_VBOXQT4GUIEXE_LDFLAGS += -framework Carbon -framework QuickTime -bind_at_load
     163  TEMPLATE_VBOXQT4GUIEXE_LDFLAGS += $(foreach mod, $(VBOX_MODULE_QT4), -framework $(mod)) \
     164        -framework Carbon -framework QuickTime -bind_at_load
    156165  TEMPLATE_VBOXQT4GUIEXE_LIBS +=
    157166  TEMPLATE_VBOXQT4GUIEXE_LIBPATH +=
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