Skip to content
Snippets Groups Projects
Commit ab0fa89b authored by Juhapekka Piiroinen's avatar Juhapekka Piiroinen Committed by Alessandro Portale
Browse files

Fix bug QTSDK-1228 Qt SDK does not add all necessary fields to the debian...

Fix bug QTSDK-1228 Qt SDK does not add all necessary fields to the debian control file of Harmattan applications.

Added missing control fields for Harmattan target.

Change-Id: Ida39bc0581b8f454433fe83b065876c30adc7250
Reviewed-by: default avatarAlessandro Portale <alessandro.portale@nokia.com>
parent 4ab19de4
Branches
Tags
No related merge requests found
......@@ -1208,7 +1208,9 @@ void Qt4HarmattanTarget::handleTargetAddedSpecial()
void Qt4HarmattanTarget::addAdditionalControlFileFields(QByteArray &controlContents)
{
Q_UNUSED(controlContents);
adaptControlFileField(controlContents, "XB-Maemo-Flags", "visible");
adaptControlFileField(controlContents, "XB-MeeGo-Desktop-Entry-Filename", QString::fromLatin1("%1_harmattan").arg(project()->displayName()).toUtf8());
adaptControlFileField(controlContents, "XB-MeeGo-Desktop-Entry", QString::fromLatin1("\n [Desktop Entry]\n Type=Application\n Name=%1\n Icon=/usr/share/icons/hicolor/80x80/apps/%1%2.png").arg(project()->displayName()).arg(80).toUtf8());
}
QString Qt4HarmattanTarget::debianDirName() const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment