From d6a10c2514bc5e72aa47c57cfbac13227e1bb09a Mon Sep 17 00:00:00 2001 From: Louis Date: Thu, 31 Jul 2014 00:09:34 +0100 Subject: [PATCH] $qtbase is used _before_ assigning the variable... `echo "$qtbase/bin"` and `.../lib` will just point to `/bin` and `/lib` preventing the `qmake -r` executing later... ! --- linux-build.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/linux-build.md b/linux-build.md index 1d56c587b2..7a1a74b98f 100644 --- a/linux-build.md +++ b/linux-build.md @@ -42,16 +42,6 @@ chmod +x qt-linux-opensource-5.1.0-x86_64-offline.run ``` ...run through the installation with default settings, although there is no reason to run Qt Creator. -If you do have Qt installed, this will force Qt to use. Don't do this if you don't need/want to. It will impact other Qt-based environments. -```bash -##if multiple qts are present, this let's us choose without changing path -sudo mkdir /etc/xdg/qtchooser -echo "$qtbase/bin" > default.conf -echo "$qtbase/lib" >> default.conf -sudo mv default.conf /etc/xdg/qtchooser/default.conf - -``` - Now we need to get our build environment to use this version of Qt. (Note: only tested on Qt-less systems so far.) ```bash #64-bit @@ -63,6 +53,16 @@ export PATH=$PATH:$qtbase/bin cd ../../../ ``` +If you do have Qt installed, this will force Qt to use. Don't do this if you don't need/want to. It will impact other Qt-based environments. +```bash +##if multiple qts are present, this lets us choose without changing path +sudo mkdir /etc/xdg/qtchooser +echo "$qtbase/bin" > default.conf +echo "$qtbase/lib" >> default.conf +sudo mv default.conf /etc/xdg/qtchooser/default.conf + +``` + Time for Julia Studio. Clone from github and then build. ```bash #anon clone