Changeset 67067 in vbox for trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
- Timestamp:
- May 24, 2017 3:43:59 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r67060 r67067 92 92 # VirtualBox - The GUI program. 93 93 # 94 ifndef VBOX_WITH_QTGUI_V5 95 USES += qt4 96 else # VBOX_WITH_QTGUI_V5 97 USES += qt5 98 endif # VBOX_WITH_QTGUI_V5 94 USES += qt5 99 95 VirtualBox_TEMPLATE := $(if $(VBOX_WITH_HARDENING),VBOXQTGUI,VBOXQTGUIEXE) 100 96 VirtualBox_NAME = VirtualBox … … 227 223 VirtualBox_LIBS.freebsd += Xinerama 228 224 229 ifdef VBOX_WITH_QTGUI_V5 230 # No Qt5 without Xcb under X11: 231 VirtualBox_LIBS.linux += xcb 232 VirtualBox_LIBS.solaris += xcb 233 VirtualBox_LIBS.freebsd += xcb 234 endif # VBOX_WITH_QTGUI_V5 225 VirtualBox_LIBS.linux += xcb 226 VirtualBox_LIBS.solaris += xcb 227 VirtualBox_LIBS.freebsd += xcb 235 228 236 229 ifneq ($(KBUILD_TARGET),win) … … 852 845 src/platform/win/WinKeyboard.cpp 853 846 854 if defined(VBOX_WITH_ QTGUI_V5) && (defined(VBOX_WITH_ORACLE_QT) || defined(VBOX_WITH_QT_PAYLOAD))847 if defined(VBOX_WITH_ORACLE_QT) || defined(VBOX_WITH_QT_PAYLOAD) 855 848 INSTALLS.linux += VirtualBox.qt.conf 856 849 INSTALLS.solaris += VirtualBox.qt.conf … … 906 899 907 900 # The Qt modules we're using. 908 # (The include directory and lib/framework for each module will be added by the Qt4 unit.) 909 VirtualBox_QT_MODULES = Core Gui 910 ifdef VBOX_WITH_QTGUI_V5 911 # Qt5 requires additional modules: 912 VirtualBox_QT_MODULES += Widgets PrintSupport 913 VirtualBox_QT_MODULES.linux += X11Extras 914 VirtualBox_QT_MODULES.solaris += X11Extras 915 VirtualBox_QT_MODULES.freebsd += X11Extras 916 VirtualBox_QT_MODULES.darwin += MacExtras 917 VirtualBox_QT_MODULES.win += WinExtras 918 endif # VBOX_WITH_QTGUI_V5 901 # (The include directory and lib/framework for each module will be added by the Qt unit.) 902 VirtualBox_QT_MODULES = Core Gui Widgets PrintSupport 903 VirtualBox_QT_MODULES.linux += X11Extras 904 VirtualBox_QT_MODULES.solaris += X11Extras 905 VirtualBox_QT_MODULES.freebsd += X11Extras 906 VirtualBox_QT_MODULES.darwin += MacExtras 907 VirtualBox_QT_MODULES.win += WinExtras 919 908 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL) 920 909 VirtualBox_QT_MODULES += OpenGL … … 1121 1110 $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-hdd.icns=>Resources/virtualbox-hdd.icns 1122 1111 1123 ifdef VBOX_WITH_QTGUI_V51124 1112 # Qt5 requires qt.conf on Mac OS X: 1125 1113 VirtualBox.app_SOURCES += \ 1126 1114 $(VirtualBox.app_0_OUTDIR)/qt.conf=>Resources/qt.conf 1127 endif # VBOX_WITH_QTGUI_V51128 1115 1129 1116 $$(VirtualBox.app_0_OUTDIR)/Info.plist: $(PATH_SUB_CURRENT)/src/platform/darwin/Info.plist $(VBOX_VERSION_MK) | $$(@D)/ … … 1244 1231 PROGRAMS += tstSSLCertDownloads 1245 1232 tstSSLCertDownloads_TEMPLATE = VBOXQTGUIEXE 1246 ifndef VBOX_WITH_QTGUI_V5 1247 tstSSLCertDownloads_USES = qt4 1248 tstSSLCertDownloads_QTTOOL = QT4 1249 else # VBOX_WITH_QTGUI_V5 1250 tstSSLCertDownloads_USES = qt5 1251 tstSSLCertDownloads_QTTOOL = QT5 1252 endif # VBOX_WITH_QTGUI_V5 1233 tstSSLCertDownloads_USES = qt5 1234 tstSSLCertDownloads_QTTOOL = QT5 1253 1235 tstSSLCertDownloads_QT_MODULES = Core Gui 1254 1236 tstSSLCertDownloads_DEFS = VBOX_GUI_IN_TST_SSL_CERT_DOWNLOADS … … 1383 1365 $(filter-out %.qrc,$(VirtualBox_SOURCES) $(VirtualBox_VBOX_EXTRA_NLS_SOURCES)) 1384 1366 $(call MSG_L1,lupdate all languages (nls/*.ts)) 1385 $(QUIET)$( if $(VBOX_WITH_QTGUI_V5),$(TOOL_QT5_LUPDATE),$(TOOL_QT4_LUPDATE)) \1367 $(QUIET)$(TOOL_QT5_LUPDATE) \ 1386 1368 $^ \ 1387 1369 -ts \ … … 1395 1377 $(filter-out %.qrc,$(VirtualBox_SOURCES) $(VirtualBox_VBOX_EXTRA_NLS_SOURCES)) 1396 1378 $(call MSG_L1,lupdate $@) 1397 $(QUIET)$( if $(VBOX_WITH_QTGUI_V5),$(TOOL_QT5_LUPDATE),$(TOOL_QT4_LUPDATE)) \1379 $(QUIET)$(TOOL_QT5_LUPDATE) \ 1398 1380 $^ \ 1399 1381 -ts \
Note:
See TracChangeset
for help on using the changeset viewer.