VirtualBox

Changeset 10580 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jul 14, 2008 12:51:54 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
33273
Message:

USE_KBUILD_QT_UNIT_PART_2 stuff.

File:
1 edited

Legend:

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

    r10579 r10580  
    8989VBOX_PATH_QT4_SHARE      ?= $(VBOX_PATH_QT4)
    9090
     91ifndef USE_KBUILD_QT_UNIT_PART_2
    9192VBOX_MODULE_QT4     = QtCore QtGui
    9293VBOX_DEFS_QT4       = QT_CORE_LIB QT_GUI_LIB
     94endif # !USE_KBUILD_QT_UNIT_PART_2
    9395
    9496ifeq ($(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
    101105else
    102106
     
    290294    $(VBOX_LIBPATH_X11)
    291295 else ifeq ($(KBUILD_TARGET),darwin)
     296ifndef USE_KBUILD_QT_UNIT_PART_2
    292297  # We have to add the framework path to both the linker and the compiler also.
    293298  # 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))
    296300  TEMPLATE_VBOXQT4GUIEXE_CXXFLAGS += -F$(VBOX_PATH_QT4_FRAMEWORKS)
     301endif
     302  TEMPLATE_VBOXQT4GUIEXE_LDFLAGS += -framework Carbon -framework QuickTime -bind_at_load
    297303  TEMPLATE_VBOXQT4GUIEXE_LIBS +=
    298304  TEMPLATE_VBOXQT4GUIEXE_LIBPATH +=
     
    503509 endif
    504510endif
     511# r=bird: what is -lz doing here? it belongs in LIBS
    505512VirtualBox4_LDFLAGS.darwin = -framework IOKit -framework AppKit -framework ApplicationServices -framework Foundation -lz
    506513ifdef VBOX_WITH_ICHAT_THEATER
     
    683690 ## @todo Move to the appropriate places.
    684691
     692ifndef 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
     696endif
     697
    685698 # Import QDesigner UI sources and translations from VBoxUI.pro.
    686699 # Note that the OSE about dialog is always required by lupdate/lrelease.
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette