Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
61a846e3
Commit
61a846e3
authored
Mar 16, 2018
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(tools): add an option to clean qt build in build_static_qt
parent
4a387eca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
5 deletions
+18
-5
build_static_qt
tools/build_static_qt
+18
-5
No files found.
tools/build_static_qt
View file @
61a846e3
...
...
@@ -21,8 +21,21 @@ cd "${SCRIPT_DIR}/.."
if
[
!
-d
"
${
REPO_FOLDER
}
/.git"
]
;
then
git clone
"
${
REPO_URL
}
"
"
${
REPO_FOLDER
}
"
fi
cd
"
${
REPO_FOLDER
}
"
while
test
$#
-gt
0
do
case
"
$1
"
in
--clean
)
echo
"Clean..."
git submodule foreach
'git clean -dfx'
;;
--
*
)
echo
"Invalid option:
$1
"
;;
esac
shift
done
git checkout
"
${
QT_VERSION
}
"
if
[[
$?
!=
0
]]
;
then
printf
"
${
RED
}
Unable to checkout
${
QT_VERSION
}
.
${
NC
}
\n
"
...
...
@@ -53,8 +66,8 @@ fi
-qtxmlpatterns
\
-f
./configure
-opensource
-confirm-license
-release
-
static
-
c
++std c++11
-ccache
-silent
-nomake
examples
-nomake
tests
\
-prefix
"/opt/qt
${
QT_VERSION
}
"
\
./configure
-opensource
-confirm-license
-release
-c
++std c++11
-ccache
-silent
-nomake
examples
-nomake
tests
\
-prefix
"/opt/qt
-
${
QT_VERSION
}
"
\
-qt-freetype
\
-qt-harfbuzz
\
-qt-libjpeg
\
...
...
@@ -72,5 +85,5 @@ fi
make
-r
-j5
printf
"
${
NC
}
Please export configuration variables like this:
${
NC
}
\n
"
printf
"
${
BLUE
}
export PATH=
\"
/opt/qt
${
QT_VERSION
}
/bin/:
\$
PATH
\"
${
NC
}
\n
"
printf
"
${
BLUE
}
export Qt5_DIR=
\"
/opt/qt
${
QT_VERSION
}
/lib/cmake/
\"
${
NC
}
\n
"
printf
"
${
BLUE
}
export PATH=
\"
/opt/qt
-
${
QT_VERSION
}
/bin/:
\$
PATH
\"
${
NC
}
\n
"
printf
"
${
BLUE
}
export Qt5_DIR=
\"
/opt/qt
-
${
QT_VERSION
}
/lib/cmake/
\"
${
NC
}
\n
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment