1

我正在为 Playbook 开发 QtCreator。在 bar-descriptor.xml 中,我将启动的路径设置如下:

<asset path="splash.jpg">splash.jpg</asset>

为了设置启动画面,我试过:

<splashscreen>splash.jpg</splashscreen>
<splashScreen>splash.jpg</splashScreen>
<splash>splash.jpg</splash>
<splashscreen><image>splash.jpg</image></splashscreen>
<splashScreen><image>splash.jpg</image></splashScreen>
<splash><image>splash.jpg</image></splash>

但闪屏显示为带有 BB 标志的默认黑色图像。有人知道怎么改吗?

不管怎样,谢谢!

4

1 回答 1

1

Qt 需要横向和纵向启动图像。所以,就我而言,横向和纵向是相同的,编辑方式如下:

<splashscreen>splash.jpg:splash.jpg</splashscreen>

在其他情况下,当两个图像都存在时,编辑方式如下:

<splashscreen>splash_landscape.jpg:splash_portrait.jpg</splashscreen>
于 2013-02-25T21:11:56.923 回答