| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [View Raw Code] [Original HTTPS Page] |
GCodeWorkShop is written in C++ using the Qt5 framework. In general, the following steps are needed to build it:
Install the following packages.
apt update
apt install build-essential \
qtbase5-dev qttools5-dev-tools libqt5serialport5-devSwitch to the folder with sources. Now you can either build the application step by step or use the script to automatically build the application and create an installation package.
mkdir -p build
cd build
qmake -r ..
make -j $(nproc)
make -j $(nproc) i18nRun script:
install/build-deb.shThe script creates a .deb package in the current folder and does not require root privileges.
Install the following packages. Note that Ubuntu jammy (version 22) does not have the qt6-serialport-dev package and libqt6serialport6-dev should be installed instead.
apt update
apt install build-essential \
qt6-base-dev qt6-base-dev-tools qt6-serialport-dev qt6-5compat-dev \
qt6-l10n-tools qt6-translations-l10nNext, when building step-by-step, you should type qmake6 instead of qmake or add the -q qmake6 switch when running the automatic build script.
In addition to the listed above packages you should install qt5-default or specify the full path /usr/lib/i386-linux-gnu/qt5/bin/qmake instead of qmake.
If the build crashes at the linking stage because the GL library is missing even after installing the libgl-dev package, it may be needed to link /usr/lib/lib/libGL.so to the regular library:
sudo ln /usr/lib/i386-linux-gnu/libGL.so.1.7.0 /usr/lib/libGL.so
Install the following packages.
pacman -Syu
pacman -S make mingw-w64-x86_64-gcc mingw-w64-x86_64-nsis \
mingw-w64-x86_64-qt5-tools mingw-w64-x86_64-qt5-translations \
mingw-w64-x86_64-qt5-base mingw-w64-x86_64-qt5-serialportSwitch to the folder with sources. Now you can either build the application step by step or use the script to automatically build the application and create an installer.
mkdir -p build
cd build
qmake -r ..
make -j $(nproc)
make -j $(nproc) i18nRun script:
install/build-win-msys2.shThe script creates a .exe installer in the current folder.
| Back | FazBrowse Home | New Git URL |