qttermtcp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
qttermtcp [2023/03/27 12:41] – [Raspbian Desktop] m0ukf | qttermtcp [2023/05/21 16:21] – [Raspbian Desktop] ab4mw | ||
---|---|---|---|
Line 73: | Line 73: | ||
==== Raspbian Desktop ==== | ==== Raspbian Desktop ==== | ||
+ | === NOTE: the following instructions work exactly the same for Ubuntu 22.04 === | ||
- | QTTermTCP | + | QtTermTCP |
< | < | ||
- | sudo apt-get install -y qt5-qmake qtbase5-dev libqt5serialport5-dev | + | # First let's install the support packages. |
- | git clone git://vps1.g8bpq.net/ | + | sudo apt-get install -y qt5-qmake qtbase5-dev libqt5serialport5-dev git |
- | mv QtTermTCP src | + | |
+ | # Move to the user's home folder and create a source folder. | ||
+ | # If it already exists, it's ok. | ||
cd | cd | ||
+ | mkdir -p src | ||
cd src | cd src | ||
- | qmake | ||
- | make | ||
- | mv QtTermTCP ../ | ||
- | cd .. | ||
- | rm src -R | ||
- | </code> | + | # Download the source |
+ | git clone git:// | ||
+ | cd QtTermTCP | ||
- | QtTermTCP application will be in your home folder, | + | # We want to do a shadow build so it's easy to update later |
+ | mkdir build | ||
+ | cd build | ||
+ | qmake .. | ||
- | <code> | + | # NOTE: older Pi's like 2's and 3's will want to use a " |
- | cd | + | # but Pi 4/ |
- | ./ | + | make -j4 |
+ | |||
+ | # Now the executable will reside in the build folder so let's | ||
+ | # make a tidy home for it as a folder in our home folder. | ||
+ | mkdir -p ~/ | ||
+ | cp QtTermTCP ~/ | ||
+ | cd ~/ | ||
+ | |||
+ | # Ensure the program is executable. | ||
+ | chmod +x QtTermTCP | ||
+ | |||
+ | # Now make a simple script to use for a desktop shortcut or manually starting the program. | ||
+ | touch QtTermTCP.sh | ||
+ | echo "# | ||
+ | echo "cd ~/ | ||
+ | echo "./ | ||
+ | echo "exit 0" >> QtTermTCP.sh | ||
+ | chmod +x QtTermTCP.sh | ||
</ | </ | ||
+ | The program may be run using the shell script found at / | ||
+ | |||
+ | This shell script may also be used to build a shortcut for the desktop. | ||