Subversion Repositories tpanel

Rev

Rev 357 | Rev 359 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
114 andreas 1
# TPanel
313 andreas 2
**TPanel** is an emulation of some AMX G4 touch panels. The panels used to verify the communication protocol and the behavior were an *AMX MVP-5200i* an *AMX NXD-700Vi* and an *MST-701*.
114 andreas 3
 
357 andreas 4
**TPanel** was designed for *NIX desktops (Linux, BSD, …) as well as Android and IOS operating systems. To create an executable for Android a special shell script exists. It sets all dependencies and starts _cmake_ with all necessary parameters.
114 andreas 5
 
357 andreas 6
> **Hint**: With version 1.4 of **TPanel** the support for Qt 5.x was canceled. Now you must use Qt 6.x for all operating systems!
7
 
353 andreas 8
The software uses internally the [Skia](https://skia.org) library for drawing all objects and the [Qt](https://doc.qt.io/) framework to display the objects and handle widgets. **TPanel** is written in C++. This makes it especially on mobile platforms fast and reliable. It has the advantage to not drain the battery of any mobile device while running as fast as possible. Compared to commercial products the battery lasts up to 10 times longer.
114 andreas 9
 
10
# Full documentation
313 andreas 11
Look at the full documentation in this repository. You'll find the [reference manual](https://github.com/TheLord45/tpanel/tree/main/documentation) in three different formats:
114 andreas 12
* [PDF](https://github.com/TheLord45/tpanel/blob/main/documentation/ReferenceGuide.pdf)
13
* [ODT](https://github.com/TheLord45/tpanel/blob/main/documentation/ReferenceGuide.odt)
14
* [HTML](https://github.com/TheLord45/tpanel/blob/main/documentation/ReferenceGuide.html)
15
 
16
# How to compile
357 andreas 17
## Prerequisits
18
For Linux and MacOS you need the following libraries installed:
19
 
20
- [Qt 6](https://doc.qt.io/qt-6/)
21
- [Skia](https://skia.org)
22
- [pjsip](https://www.pjsip.org)
23
- openssl (part of your distribution)
24
- Expat (part of your distribution)
25
- Freetype (part of your distribution)
26
 
27
To install Qt I recomend to download the open source version from [Open Source Development](https://www.qt.io/download-open-source). However: Some Linux distributions are coming with Qt included. If you want to use this version make sure, to install the Qt6 packages.
28
 
114 andreas 29
## Compile for Linux desktop
357 andreas 30
First [download the source](https://github.com/TheLord45/tpanel) into a directory. Then enter the directory and type the following commands.
114 andreas 31
 
32
    $ mkdir build
357 andreas 33
    $ cmake -B build -DCMAKE_PREFIX_PATH="/<path>/<to>/Qt/6.5.2/gcc_64/lib/cmake"
114 andreas 34
    $ cd build
35
    $ make
36
    $ sudo make install
37
 
357 andreas 38
> Replace `<path>/<to>/` with the path to your Qt installation (usualy `/opt/Qt`).
114 andreas 39
 
313 andreas 40
If everything compiled successfull and installed, you can start the application. There is a setup dialog included. It depends on the operating system of how this setup looks like.
114 andreas 41
 
357 andreas 42
## Compile for other operating systems
114 andreas 43
 
358 andreas 44
- [Compile for Android](https://github.com/TheLord45/tpanel/blob/main/documentation/build_android.md)
45
- [Compile for iOS](https://github.com/TheLord45/tpanel/blob/main/documentation/build_ios.md)