当我在编译qt-extended-4.4.3时,总是提示这个错误我表示很不解,能保忙回答一下吗???谢谢 很急,现在,高手指点
时间:2011-10-07
来源:互联网
Project () ERROR: An error occured while evaluating a QBuild script extension.
File: /witech/qt-extended-4.4.3/qbuild.pro@87
Error: SyntaxError: Parse error
<anonymous>()@:6732
用的是ubuntu10.04 ,编译器是arm-linux-gcc 4.4.1.
[code=C/C++][/code]
这是源码:
qbuild.pro的源码:
UNIFIED_NCT_LUPDATE=1
TEMPLATE=subdirs
SUBDIRS=src etc/themes examples
# qbuild cleanimage
cleanimage [
TYPE=RULE
commands=\
"#(eh)echo $$shellQuote(Removing $$QTOPIA_IMAGE)"\
"#(e)rm -rf $$shellQuote($$QTOPIA_IMAGE)"
]
# qbuild clearDBlocks
clearDBlocks [
TYPE=RULE
commands=\
"#(e)$$path(QtopiaSdk:/bin/content_installer,generated) -clearlocks $$QTOPIA_IMAGE/qtopia_db.sqlite"\
"#(e)for qtopia in /tmp/qtopia-*; do \
if [ -f $$shellQuote($qtopia/$$QTOPIA_IMAGE/qtopia_db.sqlite) ]; then \
$$path(QtopiaSdk:/bin/content_installer,generated) -clearlocks $$shellQuote($qtopia/$$QTOPIA_IMAGE/qtopia_db.sqlite); \
fi; \
done"
prerequisiteActions=\
"#(oh)/src/tools/content_installer/check_enabled"\
"#(oh)/src/tools/content_installer/target"
]
# Before qbuild image, remove the image and clear the DB locks
PREIMAGE_RULES=cleanimage clearDBlocks sub_prep_db
# QBuild append_image skips the removing part. Not so useful now but will be once the install
# rules set inputFiles and outputFiles correctly (ie. only update what isn't already up-to-date).
append_image [
TYPE=RULE
prerequisiteActions=clearDBlocks sub_prep_db sub_image makeimagedone
serial=true
]
# print a message when qbuild is done
makedone [
TYPE=RULE
commands=\
"#(eh)echo $$shellQuote()"\
"#(eh)echo $$shellQuote(Qt Extended has been built.)"\
"#(eh)echo $$shellQuote()"\
"#(eh)echo $$shellQuote(You must now install Qt Extended by running 'bin/qbuild image'.)"\
"#(eh)echo $$shellQuote(This will put the files required to run Qt Extended into the image:)"\
"#(eh)echo $$shellQuote("$$QTOPIA_IMAGE")"\
"#(eh)echo $$shellQuote()"\
"#(eh)echo $$shellQuote(Before you can use the SDK you must finalize it by running 'bin/qbuild sdk'.)"\
"#(eh)echo $$shellQuote(This will put the required files into the SDK:)"\
"#(eh)echo $$shellQuote("$$SDKROOT")"\
"#(eh)echo $$shellQuote()"
]
POSTRUN_RULES=makedone
# print a message when qbuild image is done
makeimagedone.TYPE=RULE 58行
makeimagedone.commands=\ 59行
"#(eh)echo $$shellQuote()"\
"#(eh)echo $$shellQuote(Qt Extended has been installed.)"\
"#(eh)echo $$shellQuote()"\
"#(eh)echo $$shellQuote(The files required to run Qt Extended are in the image:)"\
"#(eh)echo $$shellQuote($$QTOPIA_IMAGE)"\
"#(eh)echo $$shellQuote()"
equals(QTOPIA_IMAGE,$$QTOPIA_PREFIX):makeimagedone.commands+=\
"#(eh)echo $$shellQuote(Please note that Qt Extended cannot be moved. It must be run from the image.)"
else:makeimagedone.commands+=\
"#(eh)echo $$shellQuote(Please note that Qt Extended cannot be run from the image.)"\
"#(eh)echo $$shellQuote(You must move Qt Extended to the prefix first. The prefix is:)"\
"#(eh)echo $$shellQuote($$QTOPIA_PREFIX)"
!enable_rpath:makeimagedone.commands+=\
"#(eh)echo $$shellQuote()"\
"#(eh)echo $$shellQuote(Note that you will need to set)"\
"#(eh)echo $$shellQuote(LD_LIBRARY_PATH=$$QTOPIA_PREFIX/lib)"\
"#(eh)echo $$shellQuote(unless you are using bin/runqtopia or Qt Extended will not start.)"
makeimagedone.commands+=\
"#(eh)echo $$shellQuote()"
POSTIMAGE_RULES=makeimagedone
# Setup some default targets
installs_getImage()
!equals(SDKROOT,$$path(/,generated)) {
# make the SDK stand-alone
<script> 86行
var script = project.property("SDK_SCRIPT"); 87行
var file = qbuild.invoke("path", "/src/build/bin/sdkcache", "project");
script.setValue(file);
if ( script.strValue() == "" ) {
project.warning("Unable to locate sdkcache script.");
return;
}
</script>
sdk.TYPE=RULE
#sdk.prerequisiteActions=default
sdk.commands=\
"#(eh)echo $$shellQuote(Finalizing the SDK)"\
"#(E)$$SDK_SCRIPT $$SDKROOT"\
"#(eh)echo $$shellQuote()"\
"#(eh)echo $$shellQuote(The SDK has been finalized.)"\
"#(eh)echo $$shellQuote(It can now be deployed to another computer.)"\
"#(eh)echo $$shellQuote()"\
"#(eh)echo $$shellQuote(Note that you should run configure before building again.)"\
"#(eh)echo $$shellQuote()"
}共105行。
现在在做qt的移植,但是就是没有移植过去,希望能够尽快解决,谢谢
File: /witech/qt-extended-4.4.3/qbuild.pro@87
Error: SyntaxError: Parse error
<anonymous>()@:6732
用的是ubuntu10.04 ,编译器是arm-linux-gcc 4.4.1.
[code=C/C++][/code]
这是源码:
qbuild.pro的源码:
UNIFIED_NCT_LUPDATE=1
TEMPLATE=subdirs
SUBDIRS=src etc/themes examples
# qbuild cleanimage
cleanimage [
TYPE=RULE
commands=\
"#(eh)echo $$shellQuote(Removing $$QTOPIA_IMAGE)"\
"#(e)rm -rf $$shellQuote($$QTOPIA_IMAGE)"
]
# qbuild clearDBlocks
clearDBlocks [
TYPE=RULE
commands=\
"#(e)$$path(QtopiaSdk:/bin/content_installer,generated) -clearlocks $$QTOPIA_IMAGE/qtopia_db.sqlite"\
"#(e)for qtopia in /tmp/qtopia-*; do \
if [ -f $$shellQuote($qtopia/$$QTOPIA_IMAGE/qtopia_db.sqlite) ]; then \
$$path(QtopiaSdk:/bin/content_installer,generated) -clearlocks $$shellQuote($qtopia/$$QTOPIA_IMAGE/qtopia_db.sqlite); \
fi; \
done"
prerequisiteActions=\
"#(oh)/src/tools/content_installer/check_enabled"\
"#(oh)/src/tools/content_installer/target"
]
# Before qbuild image, remove the image and clear the DB locks
PREIMAGE_RULES=cleanimage clearDBlocks sub_prep_db
# QBuild append_image skips the removing part. Not so useful now but will be once the install
# rules set inputFiles and outputFiles correctly (ie. only update what isn't already up-to-date).
append_image [
TYPE=RULE
prerequisiteActions=clearDBlocks sub_prep_db sub_image makeimagedone
serial=true
]
# print a message when qbuild is done
makedone [
TYPE=RULE
commands=\
"#(eh)echo $$shellQuote()"\
"#(eh)echo $$shellQuote(Qt Extended has been built.)"\
"#(eh)echo $$shellQuote()"\
"#(eh)echo $$shellQuote(You must now install Qt Extended by running 'bin/qbuild image'.)"\
"#(eh)echo $$shellQuote(This will put the files required to run Qt Extended into the image:)"\
"#(eh)echo $$shellQuote("$$QTOPIA_IMAGE")"\
"#(eh)echo $$shellQuote()"\
"#(eh)echo $$shellQuote(Before you can use the SDK you must finalize it by running 'bin/qbuild sdk'.)"\
"#(eh)echo $$shellQuote(This will put the required files into the SDK:)"\
"#(eh)echo $$shellQuote("$$SDKROOT")"\
"#(eh)echo $$shellQuote()"
]
POSTRUN_RULES=makedone
# print a message when qbuild image is done
makeimagedone.TYPE=RULE 58行
makeimagedone.commands=\ 59行
"#(eh)echo $$shellQuote()"\
"#(eh)echo $$shellQuote(Qt Extended has been installed.)"\
"#(eh)echo $$shellQuote()"\
"#(eh)echo $$shellQuote(The files required to run Qt Extended are in the image:)"\
"#(eh)echo $$shellQuote($$QTOPIA_IMAGE)"\
"#(eh)echo $$shellQuote()"
equals(QTOPIA_IMAGE,$$QTOPIA_PREFIX):makeimagedone.commands+=\
"#(eh)echo $$shellQuote(Please note that Qt Extended cannot be moved. It must be run from the image.)"
else:makeimagedone.commands+=\
"#(eh)echo $$shellQuote(Please note that Qt Extended cannot be run from the image.)"\
"#(eh)echo $$shellQuote(You must move Qt Extended to the prefix first. The prefix is:)"\
"#(eh)echo $$shellQuote($$QTOPIA_PREFIX)"
!enable_rpath:makeimagedone.commands+=\
"#(eh)echo $$shellQuote()"\
"#(eh)echo $$shellQuote(Note that you will need to set)"\
"#(eh)echo $$shellQuote(LD_LIBRARY_PATH=$$QTOPIA_PREFIX/lib)"\
"#(eh)echo $$shellQuote(unless you are using bin/runqtopia or Qt Extended will not start.)"
makeimagedone.commands+=\
"#(eh)echo $$shellQuote()"
POSTIMAGE_RULES=makeimagedone
# Setup some default targets
installs_getImage()
!equals(SDKROOT,$$path(/,generated)) {
# make the SDK stand-alone
<script> 86行
var script = project.property("SDK_SCRIPT"); 87行
var file = qbuild.invoke("path", "/src/build/bin/sdkcache", "project");
script.setValue(file);
if ( script.strValue() == "" ) {
project.warning("Unable to locate sdkcache script.");
return;
}
</script>
sdk.TYPE=RULE
#sdk.prerequisiteActions=default
sdk.commands=\
"#(eh)echo $$shellQuote(Finalizing the SDK)"\
"#(E)$$SDK_SCRIPT $$SDKROOT"\
"#(eh)echo $$shellQuote()"\
"#(eh)echo $$shellQuote(The SDK has been finalized.)"\
"#(eh)echo $$shellQuote(It can now be deployed to another computer.)"\
"#(eh)echo $$shellQuote()"\
"#(eh)echo $$shellQuote(Note that you should run configure before building again.)"\
"#(eh)echo $$shellQuote()"
}共105行。
现在在做qt的移植,但是就是没有移植过去,希望能够尽快解决,谢谢
作者: ljasdf123 发布时间: 2011-10-07
换编译器试试,4.3.2通过率比较高
作者: yiyaaixuexi 发布时间: 2011-10-07
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28