Mobile + QML qizard: Fix deployment.

This commit is contained in:
Christian Kandeler
2010-09-13 16:49:04 +02:00
parent 463488f7d7
commit 8194d2287d
2 changed files with 20 additions and 2 deletions

View File

@@ -17,9 +17,14 @@ symbian {
desktopfile.path = /usr/share/applications
}
icon.files = $${TARGET}.png
icon.path = /usr/share/icons/hicolor/64x64
icon.path = /usr/share/icons/hicolor/64x64/apps
desktopfile.files = $${TARGET}.desktop
target.path = $${installPrefix}/bin
export(icon.files)
export(icon.path)
export(desktopfile.files)
export(desktopfile.path)
export(target.path)
INSTALLS += desktopfile icon target
}

View File

@@ -27,6 +27,10 @@ for(deploymentfolder, DEPLOYMENTFOLDERS) {
$$itemsources = $$eval($${deploymentfolder}.source)
itempath = $${item}.path
$$itempath= $$eval($${deploymentfolder}.target)
export($$itemsources)
export($$itempath)
export(first.depends)
export(copydeploymentfolders.commands)
DEPLOYMENT += $$item
}
@@ -47,6 +51,8 @@ symbian {
}
copydeploymentfolders.commands = $$copyCommand
first.depends = $(first) copydeploymentfolders
export(first.depends)
export(copydeploymentfolders.commands)
QMAKE_EXTRA_TARGETS += first copydeploymentfolders
}
} else:unix {
@@ -78,12 +84,19 @@ symbian {
$$itemfiles = $$eval($${deploymentfolder}.source)
itempath = $${item}.path
$$itempath = $${installPrefix}/share/$${TARGET}/$$eval($${deploymentfolder}.target)
export($$itemfiles)
export($$itempath)
INSTALLS += $$item
}
icon.files = $${TARGET}.png
icon.path = /usr/share/icons/hicolor/64x64
icon.path = /usr/share/icons/hicolor/64x64/apps
desktopfile.files = $${TARGET}.desktop
target.path = $${installPrefix}/bin
export(icon.files)
export(icon.path)
export(desktopfile.files)
export(desktopfile.path)
export(target.path)
INSTALLS += desktopfile icon target
}