QT Creator problem

程叙远 2013-02-19 10:06:49
***Unknown option -r
11:10:15: The process "/home/markton/Bernese/qt/qmake/qmake" exited with code 154.
Error while building project menu (target: Desktop)
When executing build step 'qmake'
RT,Help~~
...全文
179 14 打赏 收藏 转发到动态 举报
写回复
用AI写文章
14 条回复
切换为时间正序
请发表友善的回复…
发表回复
乔巴好萌 2013-02-25
  • 打赏
  • 举报
回复
引用 12 楼 whysnlc 的回复:
引用 10 楼 openXMPP 的回复:qmake -v 看看你的qmake 版本及引用的Qt配置 里面有一个参数 -r 是不被qmake支持的 你可以看下make或nmake时 是否有-r参数 如果有的话 修改下.pro或makefile试试 怎么看make时是否有有-r参数?
qmake -help可以看到支持的参数 qmake -help Usage: qmake [mode] [options] [files] QMake has two modes, one mode for generating project files based on some heuristics, and the other for generating makefiles. Normally you shouldn't need to specify a mode, as makefile generation is the default mode for qmake, but you may use this to test qmake on an existing project Mode: -project Put qmake into project file generation mode In this mode qmake interprets files as files to be built, defaults to *.c; *.ui; *.y; *.l; *.ts; *.xlf; *.qrc; *.h; *.hpp; *.hh; *.hxx; *.H; *.cpp; *.cc; *.cxx; *.C Note: The created .pro file probably will need to be edited. For example add the QT variable to specify what modules are required. -makefile Put qmake into makefile generation mode (default) In this mode qmake interprets files as project files to be processed, if skipped qmake will try to find a project file in your current working directory Warnings Options: -Wnone Turn off all warnings; specific ones may be re-enabled by later -W options -Wall Turn on all warnings -Wparser Turn on parser warnings -Wlogic Turn on logic warnings (on by default) -Wdeprecated Turn on deprecation warnings (on by default) Options: * You can place any variable assignment in options and it will be * * processed as if it was in [files]. These assignments will be parsed * * before [files]. * -o file Write output to file -d Increase debug level -t templ Overrides TEMPLATE as templ -tp prefix Overrides TEMPLATE so that prefix is prefixed into the value -help This help -v Version information -after All variable assignments after this will be parsed after [files] -norecursive Don't do a recursive search -recursive Do a recursive search -set <prop> <value> Set persistent property -unset <prop> Unset persistent property -query <prop> Query persistent property. Show all if <prop> is empty. -cache file Use file as cache [makefile mode only] -spec spec Use spec as QMAKESPEC [makefile mode only] -nocache Don't use a cache file [makefile mode only] -nodepend Don't generate dependencies [makefile mode only] -nomoc Don't generate moc targets [makefile mode only] -nopwd Don't look for files in pwd [project mode only]
程叙远 2013-02-25
  • 打赏
  • 举报
回复
引用 13 楼 openXMPP 的回复:
引用 12 楼 whysnlc 的回复:引用 10 楼 openXMPP 的回复:qmake -v 看看你的qmake 版本及引用的Qt配置 里面有一个参数 -r 是不被qmake支持的 你可以看下make或nmake时 是否有-r参数 如果有的话 修改下.pro或makefile试试 怎么看make时是否有有-r参数? qmake -help可以看到支……
我看了,里面没有-r,这下该怎么办?
青松2 2013-02-24
  • 打赏
  • 举报
回复
乔巴好萌 2013-02-24
  • 打赏
  • 举报
回复
qmake -v 看看你的qmake 版本及引用的Qt配置 里面有一个参数 -r 是不被qmake支持的 你可以看下make或nmake时 是否有-r参数 如果有的话 修改下.pro或makefile试试
程叙远 2013-02-24
  • 打赏
  • 举报
回复
引用 8 楼 DannyPassante 的回复:
就是一个运行快捷方式,我的qt以前也是这样的
表示没明白你的意思。。
DannyPassante 2013-02-24
  • 打赏
  • 举报
回复
就是一个运行快捷方式,我的qt以前也是这样的
程叙远 2013-02-24
  • 打赏
  • 举报
回复
引用 5 楼 DannyPassante 的回复:
qt.exe的图标是不是改动了?
qt.exe?在哪里
DannyPassante 2013-02-24
  • 打赏
  • 举报
回复
右键run as administor
DannyPassante 2013-02-24
  • 打赏
  • 举报
回复
qt.exe的图标是不是改动了?
程叙远 2013-02-24
  • 打赏
  • 举报
回复
引用 3 楼 Loaden 的回复:
3.x的Qt已经被抛弃了。 在Project页面,可以尝试下修改qmake选项。
我要用的就是QT 3.X!
老邓 2013-02-24
  • 打赏
  • 举报
回复
3.x的Qt已经被抛弃了。 在Project页面,可以尝试下修改qmake选项。
程叙远 2013-02-24
  • 打赏
  • 举报
回复
引用 10 楼 openXMPP 的回复:
qmake -v 看看你的qmake 版本及引用的Qt配置 里面有一个参数 -r 是不被qmake支持的 你可以看下make或nmake时 是否有-r参数 如果有的话 修改下.pro或makefile试试
怎么看make时是否有有-r参数?
FingerStyle 2013-02-19
  • 打赏
  • 举报
回复
clean下 再 qmake试试
程叙远 2013-02-19
  • 打赏
  • 举报
回复
引用 1 楼 classpatterns 的回复:
clean下 再 qmake试试
不行啊,我是在Ubuntu中用QT Creator 2.4.1,用的是QT 3.3.6,是不是QT Creator不支持QT 3.x的版本啊?

64,685

社区成员

发帖
与我相关
我的任务
社区描述
C++ 语言相关问题讨论,技术干货分享,前沿动态等
c++ 技术论坛(原bbs)
社区管理员
  • C++ 语言社区
  • encoderlee
  • paschen
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
  1. 请不要发布与C++技术无关的贴子
  2. 请不要发布与技术无关的招聘、广告的帖子
  3. 请尽可能的描述清楚你的问题,如果涉及到代码请尽可能的格式化一下

试试用AI创作助手写篇文章吧