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
4ef1241b
Commit
4ef1241b
authored
Mar 15, 2018
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(tools): improve build_static_qt script, install output in /opt/$qt_version
parent
92d7b46e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
9 deletions
+44
-9
build_static_qt
tools/build_static_qt
+41
-6
check_qml_syntax
tools/check_qml_syntax
+1
-1
test_qml
tools/test_qml
+1
-1
update_resources
tools/update_resources
+1
-1
No files found.
tools/build_static_qt
View file @
4ef1241b
...
...
@@ -13,23 +13,58 @@ RED='\e[1;31m'
NC
=
'\e[0m'
SCRIPT_DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
cd
$SCRIPT_DIR
/..
cd
"
${
SCRIPT_DIR
}
/.."
# ==============================================================================
if
[
!
-d
"
${
REPO_FOLDER
}
/.git"
]
;
then
git clone
$REPO_URL
$REPO_FOLDER
git clone
"
${
REPO_URL
}
"
"
${
REPO_FOLDER
}
"
fi
cd
$REPO_FOLDER
git checkout
$QT_VERSION
cd
"
${
REPO_FOLDER
}
"
git checkout
"
${
QT_VERSION
}
"
if
[[
$?
!=
0
]]
;
then
printf
"
${
RED
}
Unable to checkout
${
QT_VERSION
}
.
${
NC
}
\n
"
exit
1
fi
./init-repository
--module-subset
=
default,-qtwebengine,-qtandroidextras,-qtcharts,-qtscript,-qtmacextras,-qtdoc,-qtlocation,-qtnetworkauth,-qtpurchasing,-qtremoteobjects,-qtrepotools,-qtscxml,-qtsensors,-qtspeech,-qtspeech,-qttools,-qtwebchannel,-qtwebglplugin,-qtwebsockets,-qtwebview,-qtwinextras,-qtx11extras,-qtxmlpatterns
-f
./configure
-opensource
-confirm-license
-release
-static
-c
++std c++11
-ccache
-silent
-nomake
examples
-nomake
tests
-system-zlib
-qt-libjpeg
-qt-libpng
-qt-xcb
-qt-xkbcommon
-qt-freetype
-qt-pcre
-qt-harfbuzz
./init-repository
--module-subset
=
default,
\
-qtandroidextras
,
\
-qtcharts
,
\
-qtdoc
,
\
-qtlocation
,
\
-qtmacextras
,
\
-qtnetworkauth
,
\
-qtpurchasing
,
\
-qtremoteobjects
,
\
-qtrepotools
,
\
-qtscript
,
\
-qtscxml
,
\
-qtsensors
,
\
-qtspeech
,
\
-qtspeech
,
\
-qttools
,
\
-qtwebchannel
,
\
-qtwebengine
,
\
-qtwebglplugin
,
\
-qtwebsockets
,
\
-qtwebview
,
\
-qtwinextras
,
\
-qtx11extras
,
\
-qtxmlpatterns
\
-f
./configure
-opensource
-confirm-license
-release
-static
-c
++std c++11
-ccache
-silent
-nomake
examples
-nomake
tests
\
-prefix
"/opt/
${
QT_VERSION
}
"
\
-qt-freetype
\
-qt-harfbuzz
\
-qt-libjpeg
\
-qt-libpng
\
-qt-pcre
\
-qt-xcb
\
-qt-xkbcommon
\
-system-zlib
if
[[
$?
!=
0
]]
;
then
printf
"
${
RED
}
Unknown configure option.
${
NC
}
\n
"
exit
1
...
...
tools/check_qml_syntax
View file @
4ef1241b
...
...
@@ -13,7 +13,7 @@ BLUE='\e[1;34m'
NC
=
'\e[0m'
SCRIPT_DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
cd
$SCRIPT_DIR
/..
cd
"
${
SCRIPT_DIR
}
/.."
# ==============================================================================
...
...
tools/test_qml
View file @
4ef1241b
...
...
@@ -19,7 +19,7 @@ BLUE='\e[1;34m'
NC
=
'\e[0m'
SCRIPT_DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
cd
$SCRIPT_DIR
/..
cd
"
${
SCRIPT_DIR
}
/.."
# ==============================================================================
...
...
tools/update_resources
View file @
4ef1241b
...
...
@@ -13,7 +13,7 @@
RESOURCES_FILE
=
'resources.qrc'
SCRIPT_DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
cd
$SCRIPT_DIR
/..
cd
"
${
SCRIPT_DIR
}
/.."
echo
'<!DOCTYPE RCC><RCC version="1.0">
<qresource prefix="/">'
>
$RESOURCES_FILE
...
...
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