Skip to content

Update doc #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 20 additions & 3 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ the following steps are needed to build it:
- Run make to build the application.


Building in Debian
Building in Ubuntu
------------------

Install the following packages.

```
```sh
apt update
apt install build-essential qtbase5-dev qttools5-dev-tools libqt5serialport5-dev
apt install build-essential \
qtbase5-dev qttools5-dev-tools libqt5serialport5-dev
```

Switch to the folder with sources. Now you can either build the application
Expand Down Expand Up @@ -53,6 +54,22 @@ The script creates a .deb package in the current folder and does not require
root privileges.


### Peculiarities of building with Qt6

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.

```sh
apt update
apt install build-essential \
qt6-base-dev qt6-base-dev-tools qt6-serialport-dev qt6-l10n-tools qt6-translations-l10n
```

Next, when building step-by-step, you should type qmake6 instead of qmake
or add the `-q qmake6` switch when running the automatic build script.


Building in windows with MSYS2
------------------------------

Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ On the [release page](https://github.com/GCodeProjects/GCodeWorkShop/releases/la
you can find binary builds for Debian, Ubuntu and Windows. For building the
application yourself, the [build instructions](INSTALL.md) may be useful.

In addition, third-party builds are available:

- For [ALT Linux](https://packages.altlinux.org/ru/sisyphus/srpms/gcodeworkshop/),
thanks to Anton Midyukov (antohami).
- For [OpenSuse](https://build.opensuse.org/package/show/home:AndnoVember:LXQt:Qt6/gcodeworkshop),
thanks to Андрей Алыпов (AndnoVember).


Command line options
------------------
Expand Down
Loading