• 4021阅读
  • 1回复

请教,关于qtopia2.1.1/examples/inputmethod/composing [复制链接]

上一主题 下一主题
离线denixleen
 

只看楼主 倒序阅读 楼主  发表于: 2006-04-08
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,还是我的源码不全?
[ 此贴被XChinux在2006-04-08 11:47重新编辑 ]
离线denixleen

只看该作者 1楼 发表于: 2006-04-21
快速回复
限100 字节
 
上一个 下一个