Skip to content

Commit

Permalink
correct deployment: qmake requires { to be in same line is "isEmpty"
Browse files Browse the repository at this point in the history
adapt clickable.json file
  • Loading branch information
balcy committed Jan 6, 2018
1 parent c5d61b6 commit 00a48cb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,3 +1,4 @@
/.clickable/
/.make.cache
/Makefile
/bld.inf
Expand Down
2 changes: 1 addition & 1 deletion clickable.json
Expand Up @@ -3,6 +3,6 @@
"arch": "armhf",
"chroot": false,
"template": "custom",
"build": "bash -c 'cd .. ; qt5-qmake-arm-linux-gnueabihf CONFIG+=ubuntu clickBuildFolder=click_build; make install'",
"build": "bash -c 'cd .. ; qt5-qmake-arm-linux-gnueabihf CONFIG+=ubuntu clickBuildFolder=click_build; make clean ; make install'",
"dependencies": [ "libcurl4-gnutls-dev" ]
}
5 changes: 3 additions & 2 deletions deployment.pri
Expand Up @@ -111,10 +111,11 @@ symbian {
export(splash.path)
INSTALLS += splash
} else:ubuntu {
isEmpty(clickBuildFolder)
{

isEmpty(clickBuildFolder){
clickBuildFolder = /
}

installPrefix = $${clickBuildFolder}
desktopfile.files = data/$${TARGET}_ubuntu.desktop
desktopfile.path = $${clickBuildFolder}
Expand Down
5 changes: 3 additions & 2 deletions ubuntuBuildWithinContainer.sh
Expand Up @@ -2,10 +2,11 @@

# build inside libertine container on the phone

buildDir=$(readlink -f "./click_build")
buildDirName="click_build"
buildDir=$(readlink -f "./$buildDirName")
echo "builddir is $buildDir"
mkdir -p "$buildDir"
qmake . CONFIG+=ubuntu
qmake . CONFIG+=ubuntu clickBuildFolder=$buildDirName
make clean
make install
cd "$buildDir"
Expand Down

0 comments on commit 00a48cb

Please sign in to comment.