Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Q
Qt
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Avionics
Software Development
Docker Containers
Qt
Commits
b3e13245
Unverified
Commit
b3e13245
authored
1 year ago
by
Giacomo Caironi
Browse files
Options
Downloads
Patches
Plain Diff
Draft
parents
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+81
-0
81 additions, 0 deletions
Dockerfile
LICENSE.md
+16
-0
16 additions, 0 deletions
LICENSE.md
README.md
+1
-0
1 addition, 0 deletions
README.md
with
98 additions
and
0 deletions
Dockerfile
0 → 100644
+
81
−
0
View file @
b3e13245
FROM
ubuntu:22.04
# Update apt cache
RUN
apt-get update
# Install base dependencies
RUN
apt-get
install
-y
python3
RUN
apt-get
install
-y
python3-pip
RUN
apt-get
install
-y
git
RUN
apt-get
install
-y
build-essential
RUN
apt-get
install
-y
cppcheck
# Install aqt
RUN
python3
-m
pip
install
aqtinstall
# Install QT dependencies
RUN
apt-get
install
-y
libxcb-icccm4
RUN
apt-get
install
-y
libxcb-image0
RUN
apt-get
install
-y
libxcb-keysyms1
RUN
apt-get
install
-y
libxcb-render-util0
RUN
apt-get
install
-y
libxcb-xinerama0
RUN
apt-get
install
-y
libxcb-xkb1
RUN
apt-get
install
-y
libxkbcommon-x11-0
RUN
apt-get
install
-y
libxcb-randr0
RUN
apt-get
install
-y
libegl1
# Install QT
RUN
aqt install-qt linux desktop 5.15.2 gcc_64
-m
all
-O
/opt/qt/
# Install Appimage dependencies
RUN
apt-get
install
-y
libfuse2
# Install Appimage tools
ADD
https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage /usr/local/bin/linuxdeploy
RUN
chmod
+x /usr/local/bin/linuxdeploy
ADD
https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage /usr/local/bin/linuxdeploy-plugin-qt
RUN
chmod
+x /usr/local/bin/linuxdeploy-plugin-qt
ADD
https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage /usr/local/bin/appimagetool
RUN
chmod
+x /usr/local/bin/appimagetool
# Install MXE requirements
RUN
apt-get
install
-y
autoconf
RUN
apt-get
install
-y
automake
RUN
apt-get
install
-y
autopoint
RUN
apt-get
install
-y
bison
RUN
apt-get
install
-y
bzip2
RUN
apt-get
install
-y
flex
RUN
apt-get
install
-y
g++
RUN
apt-get
install
-y
g++-multilib
RUN
apt-get
install
-y
gettext
RUN
apt-get
install
-y
gperf
RUN
apt-get
install
-y
intltool
RUN
apt-get
install
-y
libc6-dev-i386
RUN
apt-get
install
-y
libgdk-pixbuf2.0-dev
RUN
apt-get
install
-y
libltdl-dev
RUN
apt-get
install
-y
libgl-dev
RUN
apt-get
install
-y
libssl-dev
RUN
apt-get
install
-y
libtool-bin
RUN
apt-get
install
-y
libxml-parser-perl
RUN
apt-get
install
-y
lzip
RUN
apt-get
install
-y
make
RUN
apt-get
install
-y
openssl
RUN
apt-get
install
-y
p7zip-full
RUN
apt-get
install
-y
patch
RUN
apt-get
install
-y
perl
RUN
apt-get
install
-y
python3-mako
RUN
apt-get
install
-y
python3-pkg-resources
RUN
apt-get
install
-y
ruby
RUN
apt-get
install
-y
sed
RUN
apt-get
install
-y
xz-utils
# Download MXE
RUN
git clone https://github.com/mxe/mxe
RUN
apt-get
install
-y
wget
RUN
apt-get
install
-y
python-is-python3
# Compile MXE
RUN
\
--mount
=
type
=
cache,target
=
/mxe/usr/bin
\
cd
mxe
&&
make
MXE_TARGETS
=
x86_64-w64-mingw32.static qt5
This diff is collapsed.
Click to expand it.
LICENSE.md
0 → 100644
+
16
−
0
View file @
b3e13245
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
README.md
0 → 100644
+
1
−
0
View file @
b3e13245
QT Docker Image
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment