如何更改/隐藏/删除 Qt 安装程序的标题?

问题描述

使用 Qt Installer Controller Script 我看到了如何更改简介页面上某些标签的文本。我做过

function Controller()
{
}

Controller.prototype.IntroductionPageCallback = function()
{

    var widget = gui.currentPageWidget();
    if (widget != null) {
        widget.title = "New title."; 
        widget.MessageLabel.setText("New Message."); 
    }
}

在图像中,我们看到 titleMessageLabel 实际上已设置。

TheTitle Setup 来自 config.xml,实际上只有 TheTitle 来自那里。但是 Setup 字符串来自哪里?我怎样才能删除它?我检查了所有的例子,它出现在所有的例子中。

<?xml version="1.0" encoding="UTF-8"?>
<Installer>
    <Name>company</Name>
    <Version>2.0.0</Version>
    <Title>TheTitle</Title>
    <WizardShowPagelist>false</WizardShowPagelist>
    <ControlScript>control.js</ControlScript>
</Installer>

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)