Using Qt Installer Framework when doing the installation program to add a configuration file to the component in [mydata. Ini], but ready to install package is installed into [~] this file, don't know why will appear this kind of circumstance, the content in the configuration file is written according to the following code, if the configuration file mydata. Ini manually modify content, can be properly installed,
//memory user position the splitter bar
Void MainWindow: : SaveSplitPos ()
{
QList
LsMain=m_splMain - & gt; Sizes ();
QList LsSamp=m_splSamp - & gt; Sizes ();
QList LsCame=m_splCamera - & gt; Sizes ();
QList LsResult=m_splResult - & gt; Sizes ();
QFile file (" mydata. Ini ");
If (file. Open (QIODevice: : WriteOnly))
{
QDataStream out (& amp; The file);
The out & lt; The out & lt; The out & lt; The out & lt;
file.close();
}
}