Changeset 10488 in vbox for trunk/src/VBox/Frontends/VirtualBox4
- Timestamp:
- Jul 11, 2008 2:01:44 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/Makefile.kmk
r10468 r10488 202 202 USES += qt4 203 203 TEMPLATE_VBOXQT4GUIEXE_USES = qt4 204 TEMPLATE_VBOXQT4GUIEXE_QTTOOL = QT4 204 205 TEMPLATE_VBOXQT4GUIEXE_MOCTOOL = QT4 205 206 TEMPLATE_VBOXQT4GUIEXE_UICTOOL = QT4 206 207 TEMPLATE_VBOXQT4GUIEXE_RCCTOOL = QT4 208 TEMPLATE_VBOXQT4GUIEXE_LRCTOOL = QT4 207 209 TEMPLATE_VBOXQT4GUIEXE_SDKS = QT4 208 210 endif # USE_KBUILD_QT_UNIT … … 697 699 VirtualBox_NonOSE.qrc_RCCFLAGS = -name NonOSE 698 700 699 # Import the translation source from VBoxUI.pro and add the qt_xx_YY counterparts. 700 # # @todo figure out how/if to do the translations in the qt4 unit, it doesn't quite fit it really. :-/701 702 # Import the translation source from VBoxUI.pro and add the qt_xx_YY counterparts 701 703 VirtualBox4_QT_TRANSLATIONS := $(TRANSLATIONS) \ 702 704 $(patsubst nls/VirtualBox_%.ts,nls/qt_%.ts, $(filter nls/VirtualBox_%.ts,$(TRANSLATIONS))) 705 # Compress the translation units. 706 VirtualBox4_LRCFLAGS = -compress 707 # Where to install the translations (a separate install target, VirtualBox4-nls-inst is created). 708 VirtualBox4_QT_TRANSLATIONS_INST = $(INST_BIN)nls/ 709 703 710 704 711 else # !USE_KBUILD_QT_UNIT … … 1082 1089 1083 1090 1091 ifdef USE_KBUILD_QT_UNIT 1092 # 1093 # Update all known NLS translation (.ts) files in the nls/ subdirectory. 1094 # 1095 # NOTE: This target is intened to be run only by the GUI maintainer shortly 1096 # before a new product release. VirtualBox_xx_YY.ts is a template for new 1097 # languages and should never be actually translated or installed. 1098 # 1099 updatenls:: \ 1100 $(VirtualBox4_QT_UISRCS) \ 1101 $(filter-out %.qrc,$(VirtualBox4_SOURCES)) \ 1102 $(wildcard include/*.h) 1103 $(call MSG_L1,lupdate all languages (nls/*.ts)) 1104 $(QUIET)$(TOOL_QT4_LUPDATE) \ 1105 $^ \ 1106 -ts \ 1107 $(filter-out nls/qt_%.ts,$(VirtualBox4_QT_TRANSLATIONS)) \ 1108 nls/VirtualBox_xx_YY.ts 1109 1110 else 1084 1111 # 1085 1112 # Custom targets … … 1090 1117 # before a new product release. VirtualBox_xx_YY.ts is a template for new 1091 1118 # languages and should never be actually translated or installed. 1092 ## @todo Dmitry, why aren't the .ui files here? I guess this is why the .gen.h files are included.1093 # But I completely fail to see what purpose the .moc files has in this list... From what I can tell1094 # lupdate doesn't require anything to be built to run, at least not the trolltech examples, it will1095 # eat the .ui files directly unless I'm much mistaken.1096 1119 updatenls:: $(VirtualBox4_SOURCES) $(VirtualBox4_HEADERS) 1097 1120 $(call MSG_L1,lupdate all languages (nls/*.ts)) 1098 1121 $(QUIET)$(VBOX_LUPDATE4) $^ -ts $(VirtualBox4_QT_TRANSLATIONS) nls/VirtualBox_xx_YY.ts 1099 1122 1100 1101 ifndef USE_KBUILD_QT_UNIT1102 1123 # 1103 1124 # Test targets … … 1120 1141 test3: 1121 1142 @echo $(VirtualBox4_HEADERS) | $(SED) -e "s/ /\n/g" 1122 endif # USE_KBUILD_QT_UNIT1143 endif # !USE_KBUILD_QT_UNIT 1123 1144 1124 1145 # alias for generating the COM Wrappers file.
Note:
See TracChangeset
for help on using the changeset viewer.