QT 支持中文显示的一个实例
源代码在线查看: makefilebak
############################################################################# # Makefile for building: menu # Generated by qmake (1.07a) (Qt 3.3.8) on: Sat Feb 2 16:07:51 2008 # Project: menu.pro # Template: app # Command: $(QMAKE) -spec /root/qt_build/arm_build/qt-embedded-free-3.3.8/mkspecs/qws/linux-arm-g++ -o Makefile menu.pro ############################################################################# ####### Compiler, tools and options CC = arm-linux-gcc CXX = arm-linux-g++ LEX = flex YACC = yacc CFLAGS = -pipe -I/root/qt_build/arm_build/tslib-install/include -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED CXXFLAGS = -pipe -DQWS -fno-exceptions -fno-rtti -I/root/qt_build/arm_build/tslib-install/include -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED LEXFLAGS = YACCFLAGS= -d INCPATH = -I/root/qt_build/arm_build/qt-embedded-free-3.3.8/mkspecs/qws/linux-arm-g++ -I. -I../../include -I.moc/release-shared-mt-emb-arm/ LINK = arm-linux-g++ LFLAGS = -Wl,-rpath,/root/qt_build/arm_build/qt-embedded-free-3.3.8/lib LIBS = $(SUBLIBS) -L/root/qt_build/arm_build/tslib-install/lib -L/root/qt_build/arm_build/qt-embedded-free-3.3.8/lib -lts -lqte-mt -ldl -lpthread AR = ar cqs RANLIB = MOC = /root/qt_build/arm_build/qt-embedded-free-3.3.8/bin/moc UIC = /root/qt_build/arm_build/qt-embedded-free-3.3.8/bin/uic -L /root/qt_build/arm_build/qt-embedded-free-3.3.8/plugins QMAKE = /root/qt_build/arm_build/qt-embedded-free-3.3.8/bin/qmake TAR = tar -cf GZIP = gzip -9f COPY = cp -f COPY_FILE= $(COPY) COPY_DIR = $(COPY) -R INSTALL_FILE= $(COPY_FILE) INSTALL_DIR = $(COPY_DIR) DEL_FILE = rm -f SYMLINK = ln -sf DEL_DIR = rmdir MOVE = mv -f CHK_DIR_EXISTS= test -d MKDIR = mkdir -p ####### Output directory OBJECTS_DIR = .obj/release-shared-mt-emb-arm/ ####### Files HEADERS = menu.h SOURCES = menu.cpp OBJECTS = .obj/release-shared-mt-emb-arm/menu.o FORMS = UICDECLS = UICIMPLS = SRCMOC = .moc/release-shared-mt-emb-arm/moc_menu.cpp OBJMOC = .obj/release-shared-mt-emb-arm/moc_menu.o DIST = menu.pro QMAKE_TARGET = menu DESTDIR = TARGET = menu first: all ####### Implicit rules .SUFFIXES: .c .o .cpp .cc .cxx .C .cpp.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $ .cc.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $ .cxx.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $ .C.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $ .c.o: $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $ ####### Build rules all: Makefile $(TARGET) $(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(OBJCOMP) $(LIBS) mocables: $(SRCMOC) uicables: $(UICDECLS) $(UICIMPLS) $(MOC): ( cd /root/qt_build/arm_build/qt-embedded-free-3.3.8/src/moc && $(MAKE) ) Makefile: menu.pro ../../.qmake.cache /root/qt_build/arm_build/qt-embedded-free-3.3.8/mkspecs/qws/linux-arm-g++/qmake.conf ../../lib/libqte-mt.prl $(QMAKE) -spec /root/qt_build/arm_build/qt-embedded-free-3.3.8/mkspecs/qws/linux-arm-g++ -o Makefile menu.pro qmake: @$(QMAKE) -spec /root/qt_build/arm_build/qt-embedded-free-3.3.8/mkspecs/qws/linux-arm-g++ -o Makefile menu.pro dist: @mkdir -p .obj/release-shared-mt-emb-arm/menu && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .obj/release-shared-mt-emb-arm/menu/ && $(COPY_FILE) --parents qianfont.ts .obj/release-shared-mt-emb-arm/menu/ && ( cd `dirname .obj/release-shared-mt-emb-arm/menu` && $(TAR) menu.tar menu && $(GZIP) menu.tar ) && $(MOVE) `dirname .obj/release-shared-mt-emb-arm/menu`/menu.tar.gz . && $(DEL_FILE) -r .obj/release-shared-mt-emb-arm/menu mocclean: -$(DEL_FILE) $(OBJMOC) -$(DEL_FILE) $(SRCMOC) uiclean: yaccclean: lexclean: clean: mocclean -$(DEL_FILE) $(OBJECTS) -$(DEL_FILE) *~ core *.core ####### Sub-libraries distclean: clean -$(DEL_FILE) $(TARGET) $(TARGET) FORCE: ####### Compile .obj/release-shared-mt-emb-arm/menu.o: menu.cpp menu.h \ ../../include/qcursor.h \ ../../include/qpopupmenu.h \ ../../include/qapplication.h \ ../../include/qmessagebox.h \ ../../include/qpixmap.h \ ../../include/qpainter.h \ ../../include/qwidget.h \ ../../include/qmenubar.h \ ../../include/qlabel.h \ ../../include/qwindowdefs.h \ ../../include/qobject.h \ ../../include/qpaintdevice.h \ ../../include/qpalette.h \ ../../include/qfont.h \ ../../include/qfontmetrics.h \ ../../include/qfontinfo.h \ ../../include/qsizepolicy.h \ ../../include/qwinexport.h \ ../../include/qobjectdefs.h \ ../../include/qstring.h \ ../../include/qnamespace.h \ ../../include/qglobal.h \ ../../include/qconfig-minimal.h \ ../../include/qconfig-small.h \ ../../include/qconfig-medium.h \ ../../include/qconfig-large.h \ ../../include/qconfig.h \ ../../include/qmodules.h \ ../../include/qfeatures.h \ ../../include/qcstring.h \ ../../include/qmemarray.h \ ../../include/qgarray.h \ ../../include/qshared.h \ ../../include/qevent.h \ ../../include/qregion.h \ ../../include/qmime.h \ ../../include/qpair.h \ ../../include/qrect.h \ ../../include/qsize.h \ ../../include/qpoint.h \ ../../include/qmap.h \ ../../include/qptrlist.h \ ../../include/qdatastream.h \ ../../include/qvaluelist.h \ ../../include/qiodevice.h \ ../../include/qtl.h \ ../../include/qtextstream.h \ ../../include/qglist.h \ ../../include/qptrcollection.h \ ../../include/qcolor.h \ ../../include/qbrush.h \ ../../include/qstringlist.h \ ../../include/qstrlist.h \ ../../include/qframe.h \ ../../include/qmenudata.h \ ../../include/qiconset.h \ ../../include/qkeysequence.h \ ../../include/qsignal.h \ ../../include/qvariant.h \ ../../include/qdesktopwidget.h \ ../../include/qasciidict.h \ ../../include/qtranslator.h \ ../../include/qgdict.h \ ../../include/qdialog.h \ ../../include/qpen.h \ ../../include/qpointarray.h \ ../../include/qwmatrix.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release-shared-mt-emb-arm/menu.o menu.cpp .obj/release-shared-mt-emb-arm/moc_menu.o: .moc/release-shared-mt-emb-arm/moc_menu.cpp menu.h ../../include/qwidget.h \ ../../include/qmenubar.h \ ../../include/qlabel.h \ ../../include/qwindowdefs.h \ ../../include/qobject.h \ ../../include/qpaintdevice.h \ ../../include/qpalette.h \ ../../include/qfont.h \ ../../include/qfontmetrics.h \ ../../include/qfontinfo.h \ ../../include/qsizepolicy.h \ ../../include/qwinexport.h \ ../../include/qobjectdefs.h \ ../../include/qstring.h \ ../../include/qnamespace.h \ ../../include/qglobal.h \ ../../include/qconfig-minimal.h \ ../../include/qconfig-small.h \ ../../include/qconfig-medium.h \ ../../include/qconfig-large.h \ ../../include/qconfig.h \ ../../include/qmodules.h \ ../../include/qfeatures.h \ ../../include/qcstring.h \ ../../include/qmemarray.h \ ../../include/qgarray.h \ ../../include/qshared.h \ ../../include/qevent.h \ ../../include/qregion.h \ ../../include/qmime.h \ ../../include/qpair.h \ ../../include/qrect.h \ ../../include/qsize.h \ ../../include/qpoint.h \ ../../include/qmap.h \ ../../include/qptrlist.h \ ../../include/qdatastream.h \ ../../include/qvaluelist.h \ ../../include/qiodevice.h \ ../../include/qtl.h \ ../../include/qtextstream.h \ ../../include/qglist.h \ ../../include/qptrcollection.h \ ../../include/qcolor.h \ ../../include/qbrush.h \ ../../include/qstringlist.h \ ../../include/qstrlist.h \ ../../include/qpopupmenu.h \ ../../include/qframe.h \ ../../include/qmenudata.h \ ../../include/qiconset.h \ ../../include/qkeysequence.h \ ../../include/qsignal.h \ ../../include/qpixmap.h \ ../../include/qvariant.h $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release-shared-mt-emb-arm/moc_menu.o .moc/release-shared-mt-emb-arm/moc_menu.cpp .moc/release-shared-mt-emb-arm/moc_menu.cpp: $(MOC) menu.h $(MOC) menu.h -o .moc/release-shared-mt-emb-arm/moc_menu.cpp ####### Install install: uninstall: