当前位置:编程学习 > wap >>

QT新手错误 错误:Parse Error ('锘)

错误的概要信息是:
c:/qtsdk/symbian/sdks/symbian3qt474/mkspecs/symbian-sbsv2/qmake.conf(8): 'option' is not a recognized test function

C:/QtSDK/test/sha/sha.pro(1): Extra characters after test expression.
这是一个发送短信的例子,代码是现成的,应该没有问题。
但这个问题出的实在是不知道该如何解决,求助高手。。。

# Add more folders to ship with the application, here
folder_01.source = qml/sha
folder_01.target = qml
DEPLOYMENTFOLDERS = folder_01

# Additional import path used to resolve QML modules in Creator's code model
QML_IMPORT_PATH =

symbian:TARGET.UID3 = 0xE1649F6C

# Smart Installer package's UID
# This UID is from the protected range and therefore the package will
# fail to install if self-signed. By default qmake uses the unprotected
# range value if unprotected UID is defined for the application and
# 0x2002CCCF value if protected UID is given to the application
#symbian:DEPLOYMENT.installer_header = 0x2002CCCF

# Allow network access on Symbian

symbian:TARGET.CAPABILITY += NetworkServices

# If your application uses the Qt Mobility libraries, uncomment the following
# lines and add the respective components to the MOBILITY variable.
# CONFIG += mobility
# MOBILITY +=

# Speed up launching on MeeGo/Harmattan when using applauncherd daemon
# CONFIG += qdeclarative-boostable

# Add dependency to Symbian components
# CONFIG += qt-components

# The .cpp file which was generated for your project. Feel free to hack it.
SOURCES += main.cpp
LIBS+=C:\QtSDK\Symbian\SDKs\Symbian3Qt474\epoc32\release\armv5\lib\esock.lib
LIBS+=C:\QtSDK\Symbian\SDKs\Symbian3Qt474\epoc32\release\armv5\lib\smsu.lib
LIBS+=C:\QtSDK\Symbian\SDKs\Symbian3Qt474\epoc32\release\armv5\lib\efsrv.lib
LIBS+=C:\QtSDK\Symbian\SDKs\Symbian3Qt474\epoc32\release\armv5\lib\gsmu.lib
# Please do not modify the following two lines. Required for deployment.
include(qmlapplicationviewer/qmlapplicationviewer.pri)
qtcAddDeployment()




--------------------编程问答-------------------- 'option' is not a recognized test function

没有测试功能。。主要是看功能环境是否配置正确!。。 --------------------编程问答--------------------
引用 1 楼  的回复:
'option' is not a recognized test function

没有测试功能。。主要是看功能环境是否配置正确!。。

我用的是QtSdk-offline-win-x86-v1_2_1.exe这个版本还用配置环境变量吗?等答。。。
补充:移动开发 ,  Qt
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,