天嵌 ARM开发社区

 找回密码
 注册
查看: 2548|回复: 2

uic: File generated with too old version of Qt Designer

[复制链接]
sdhgood 发表于 2013-4-13 15:46:02 | 显示全部楼层 |阅读模式
最近在<<按照C++ GUI QT4编程>>学qt,用QT Designer设计了界面,保存为xxxx.ui文件,然后使用qmake-qt4 -project命令生成xxxx.pro文件,使用qmake-qt4命令生成Makefile时,提示uic: File generated with too old version of Qt Designer,我没管它,继续用make时提示错误

g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG -I/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/include -I/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/include -o main.o main.cpp
main.cpp: In function ‘QWidget* create_gotocelldialog(QWidget*, const char*, uint)’:
main.cpp:5: error: expected type-specifier before ‘gotocelldialog’
main.cpp:5: error: cannot convert ‘int*’ to ‘QWidget*’ in return
main.cpp:5: error: expected ‘;’ before ‘gotocelldialog’
main.cpp:5: error: ‘gotocelldialog’ was not declared in this scope
make: *** [main.o] Error 1
希望大家帮帮忙,是哪里出了问题?
美丽天使不爱你 发表于 2013-4-13 16:26:55 | 显示全部楼层
你用Qt4嘛!这些命令都不用了,你这些都多老啦!初学的话建议你用那个!我就是用的那个!
亚瑟王 发表于 2013-4-15 09:13:46 | 显示全部楼层
天嵌科技提供了qt4的开发教程的,使用qt-creater来做开发。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-5-8 05:23 , Processed in 1.078125 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表