Qt Creator 运行s60 Emulator

经过几天的痛苦经历折腾,终于顺利在Qt Creator 下成功运行了。

上一篇是:

Qt 有多少人折腾-qt for s60终于安装成功

上篇只是在Carbide环境下能新建Qt项目,由于CarbideC++的智能提示没Qt好,所以很多人都会想在Qt下直接运行。

说说过程:

Qt Creator 环境中

在新建Mobile Gui Application后

有两种调试方式:

Symbian Device 这种需要装pc套装+手机(默认就有)

--此种方式调试的错误就是:There is no device plugged in 没手机相连,这种错误是正常的。

Symbian Emalator 虚拟环境(我的默认不出来)

--此种方式调试的错误是:The process could not be started

有人说在.pro 文件后缀里加上

debug {

DESTDIR = bin/debug/
OBJECTS_DIR = tmp/debug/
RCC_DIR = tmp/debug/
}
release {
DESTDIR = bin/release/
OBJECTS_DIR = tmp/release/
RCC_DIR = tmp/release/
}

就可以解决

我是直接从release调试切换到debug调试状态下就可以运行了。

--此个调试状态默认没出来,通过加载从Carbide环境新建的Qt项目环境比较出才发现的。

--在Project上面的Symbian Device[Build|run]右边有个“+”号,点一下才出来。

--出来后,调试环境选这个,基本上就顺利了。

其它参考文章:http://developer.symbian.org/wiki/index.php/Qt_Quick_Start

转载于:https://my.oschina.net/secyaher/blog/274252

猜你喜欢

转载自blog.csdn.net/weixin_33813128/article/details/91966928