天嵌 ARM开发社区

 找回密码
 注册
查看: 1520|回复: 1

使用TQ2440提供的QT教程和源码无法编译通过

[复制链接]
xhcdream 发表于 2015-4-29 10:36:19 | 显示全部楼层 |阅读模式
我发现网上有不少人也遇到了这个问题。根据天嵌的QT教程,同时采用提供的源码,但是却无法编译通过。错误如下:
main.cpp: At global scope:
main.cpp:5: error: expected constructor, destructor, or type conversion before '(' token
make: *** [main.o] 错误 1
不仅仅是first这个例子,其他例子也有这个问题。
源码是通过直接解压EmbedSky_apps.tar.bz2得来的
源码路径:/opt/EmbedSky/Qte/x86-qtopia-2.2.0/pro/first

TQ-lkp 发表于 2015-4-29 12:40:02 | 显示全部楼层
qtopia的太旧了,而且不好用
现在都是用的qt4.5,适合开发
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-4-29 20:43 , Processed in 1.078118 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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