You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .devcontainer/setup.sh
+5-30Lines changed: 5 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ sudo apt install bash-completion
8
8
# Install tools/libraries required to build
9
9
sudo apt-get install -y \
10
10
gyp \
11
+
libdbus-1-dev \
11
12
libegl1-mesa-dev \
12
13
libglib2.0-dev \
13
14
libgstreamer1.0-dev \
@@ -20,38 +21,12 @@ sudo apt-get install -y \
20
21
libxslt1-dev \
21
22
libwebpdemux2 \
22
23
libwoff1 \
23
-
24
-
# Install Qt
25
-
sudo apt-get install -y \
26
-
libqt6core5compat6-dev \
27
-
libqt6sensors6-dev \
28
-
qt6-base-dev \
29
-
qt6-declarative-dev \
30
-
qt6-multimedia-dev \
31
-
qt6-positioning-dev \
32
-
33
-
# Qt executables go through "qtchooser" by default. It is broken. Just replace the "qtchooser" versions with a link to the executable we actually want to run
34
-
# If you see an error of "thng: could not find a Qt installation of ''" then that means that `thng` is another executable that needs the following treatment.
35
-
sudo rm /usr/bin/qmake
36
-
sudo ln -s /usr/lib/qt6/bin/qmake /usr/bin/qmake
37
-
sudo rm /usr/bin/moc
38
-
sudo ln -s /usr/lib/qt6/libexec/moc /usr/bin/moc
39
-
sudo rm /usr/bin/uic
40
-
sudo ln -s /usr/lib/qt6/libexec/uic /usr/bin/uic
24
+
libxkbcommon-dev \
41
25
42
26
# Alias python3 to python so the build script can find it
43
27
sudo ln -s /usr/bin/python3 /usr/bin/python
44
28
29
+
# Download our prebuilt version of Qt
30
+
curl -L https://github.com/constructpm/qt-build/releases/download/v6.7.1-1/qt-6.7.1-cpp17-ubuntu-22.04-x64.tar.gz | sudo tar xvJ -C /opt
45
31
# Download our prebuilt version of QtWebkit
46
-
curl -L https://github.com/constructpm/qtwebkit-build/releases/download/v6.212.0-1/qtwebkit-ee690e4-cpp17-ubuntu-22.04-x64.tar.gz | sudo tar xvJ -C /usr/include/x86_64-linux-gnu
47
-
48
-
# Move the files we downloaded so their locations match the locations used by the other Qt libraries we installed earlier
0 commit comments