标题:请教,关于qtopia2.1.1/examples/inputmethod/composing
作者:denixleen
日期:2006-04-08 11:39
内容:
qtopia2.1.1/examples/inputmethod/composing/composing.pro的内容如下:
#=======================================================
# can be built in two different ways.
# the first is as an application to demonstrate the composing nature of the
# input method without bringing in complications to do with making it a plugin.
# the second method shows how it can then be turned into a plugin.
# coment the following line if you want to make the input method as an
# application
CONFIG += composeim_as_plugin
TARGET = composeim
composeim_as_plugin {
CONFIG += qtopiaplugin
HEADERS = composeim.h composeimpl.h
SOURCES = composeim.cpp composeimpl.cpp
} else {
CONFIG += qtopiaapp
CONFIG -= buildQuicklaunch
HEADERS = composeim.h
SOURCES = composeim.cpp main.cpp
}
TRANSLATABLES=$$HEADERS $$SOURCES
composeim_as_plugin:QTOPIA_PROJECT_TYPE=inputmethods
#=======================================================================
plugin 方法编译没问题,想试试application
我想知道的是composing目录下怎么没有main.cpp,还是我的源码不全?
#1 [denixleen 04-21 16:37]
done:
http://www.qtopia.org.cn/phpBB2/viewtopic.php?t=193&highlight=&sid=f6f02dab9fa7220c1cc55c4f2e8dddde