Commit 8194d228 authored by Christian Kandeler's avatar Christian Kandeler
Browse files

Mobile + QML qizard: Fix deployment.

parent 463488f7
......@@ -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
}
......
......@@ -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
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment