QTIFW 精灵风格
QTIFW wizardstyle
在 QTIFW 中设置 WizardStyle 时遇到一些问题我已阅读文档但无法理解为什么以下内容不起作用。
<'WizardStyle>Mac<'/WizardStyle>
<'Background>logo.png<'Background>
(Obviously excluding ' char)
Qt 文档:
Background - Filename for an image used as QWizard::BackgroundPixmap
(only used by MacStyle). WizardStyle - Set the wizard style to be used
("Modern", "Mac", "Aero" or "Classic").
我收到以下错误:
Caught exception: Error in config\config.xml, line 8, column 17: Unexpected element 'WizardStyle'
<?xml version="1.0" encoding="UTF-8"?>
<Installer>
<Name>Dave Installer</Name>
<Version>1.2.3</Version>
<Title>Dave Installer</Title>
<Publisher>Dave</Publisher>
<Icon>qticon</Icon>
<WizardStyle>Mac</WizardStyle>
<Background>logo.png</Background>
<StartMenuDir>Super App</StartMenuDir>
<TargetDir>@RootDir@InstallationDirectory</TargetDir>
<RunProgram>@TargetDir@/qt</RunProgram>
<RunProgramDescription>Qt Installer</RunProgramDescription>
</Installer>
在 QTIFW 中设置 WizardStyle 时遇到一些问题我已阅读文档但无法理解为什么以下内容不起作用。
<'WizardStyle>Mac<'/WizardStyle>
<'Background>logo.png<'Background>
(Obviously excluding ' char)
Qt 文档:
Background - Filename for an image used as QWizard::BackgroundPixmap (only used by MacStyle). WizardStyle - Set the wizard style to be used ("Modern", "Mac", "Aero" or "Classic").
我收到以下错误:
Caught exception: Error in config\config.xml, line 8, column 17: Unexpected element 'WizardStyle'
<?xml version="1.0" encoding="UTF-8"?>
<Installer>
<Name>Dave Installer</Name>
<Version>1.2.3</Version>
<Title>Dave Installer</Title>
<Publisher>Dave</Publisher>
<Icon>qticon</Icon>
<WizardStyle>Mac</WizardStyle>
<Background>logo.png</Background>
<StartMenuDir>Super App</StartMenuDir>
<TargetDir>@RootDir@InstallationDirectory</TargetDir>
<RunProgram>@TargetDir@/qt</RunProgram>
<RunProgramDescription>Qt Installer</RunProgramDescription>
</Installer>