Prerequisites#
- Raspberry Pi with RPi OS Lite (flash to SD card)
- E-Paper display module
- Linux development machine with Qt installed
Setup#
On Linux (Development Machine)#
Find your host IP address:
hostname -ISearch for Raspberry Pi IP address:
nmap -sn <host_address>/24Generate an SSH key pair:
ssh-keygen -t ed25519 -C "qt-deployer" -f ~/.ssh/id_ed25519Copy the public key to the Raspberry Pi:
ssh-copy-id -i ~/.ssh/id_ed25519.pub <username>@<remote_address>Clone the repository:
git clone https://github.com/AhmadRoshanfar/EPaper-Photo.git
cd RPi-EPaperTransfer project files to Raspberry Pi:
scp -r ./RPi-EPaper pi@192.168.8.39:~On Raspberry Pi (Target Device)#
Enable SPI interface:
sudo raspi-config nonint do_spi 0Usage#
- Run the Qt application on your development machine
- Choose your image
- Enter username and host address
- Press Sync and wait until the image uploads to the display
Building and Deployment#
1. Compile the Project#
Build the project in Release mode using Qt Creator.
2. Install CQtDeployer#
sudo snap install cqtdeployer --classic3. Deploy the Application#
Navigate to the build directory:
cd build/Desktop_Qt_6_9_3-ReleaseRun CQtDeployer:
cqtdeployer -bin ./appEPaper_Qt \
-qmake /opt/Qt/6.9.3/gcc_64/bin/qmake \
-qmlDir ../../4. Locate the Deployed Application#
The deployed application will be available in:
build/Desktop_Qt_6_9_3-Release/DistributionKit/bin/

