Simple desktop app: enter content (number / URL / phone / WhatsApp / image / text) → generate the QR → save it as PNG.
- QR preview.
- Supports QR codes for numbers, URLs, phone numbers, WhatsApp, images, and plain text (select the type in the app).
- Note: to “show an image” when scanning, the QR must contain a URL. Prefer a public
http/httpsimage URL.file://...works only on the same PC.
- Note: to “show an image” when scanning, the QR must contain a URL. Prefer a public
- Option to add a footer image (optional) or choose an image at generation time.
- Installer with Spanish / English language selection.
- Windows
- Python 3.11+ (this workspace already uses a venv in
.venv/)
-
Install dependencies:
./.venv/Scripts/python.exe -m pip install -r requirements.txt
-
Run the app:
./.venv/Scripts/python.exe qrgen.py
In the window you will see:
- Add footer image: enables/disables the footer image (not mandatory).
- Choose…: select any image (PNG/JPG/JPEG/BMP/GIF) as footer.
- Default: uses the image included with the project (
Logo pausa.jpeg) if present. - Remove: generates the QR without a footer image (but keeps the option enabled).
Tip: if you want to change the default logo for everyone, replace the file
Logo pausa.jpegwith another image using the exact same name, then rebuild.
- The installer lets you choose the language.
- The app uses that language on first launch.
- You can later change it from the Language / Idioma menu inside the app.
Run:
powershell -ExecutionPolicy Bypass -File .\build.ps1 -Mode onedirOutput:
dist\QR-Generador\QR-Generador.exe
This usually takes longer to start:
powershell -ExecutionPolicy Bypass -File .\build.ps1 -Mode onefileOutput:
dist\QR-Generador.exe
If you made changes and want to generate everything at once:
powershell -ExecutionPolicy Bypass -File .\build-all.ps1This builds:
- EXE (PyInstaller, folder mode) →
dist\QR-Generador\QR-Generador.exe - Installer (Inno Setup) →
installer\Output\QR-Generador-Setup.exe
-
EXE only:
powershell -ExecutionPolicy Bypass -File .\build-all.ps1 -AppOnly -Mode onedir
-
Installer only (if the EXE already exists in
dist):powershell -ExecutionPolicy Bypass -File .\build-all.ps1 -InstallerOnly
If you want a classic “Next, Next, Finish” installer, the simplest option is Inno Setup.
-
Generate the build (folder mode) if it doesn’t exist yet:
powershell -ExecutionPolicy Bypass -File .\build.ps1 -Mode onedir
-
Install Inno Setup (once, on the PC where you will build the installer).
-
Option A (automatic):
powershell -ExecutionPolicy Bypass -File .\installer\build-installer.ps1
-
Option B (manual): open
installer\qrgen.isswith Inno Setup and click Compile.
Output:
installer\Output\QR-Generador-Setup.exe
The installer shows a language selector at startup.
To change or adjust texts, edit installer\qrgen.iss (section [CustomMessages]).
Copy the installer file and run it:
installer\Output\QR-Generador-Setup.exe
This creates the program folder and desktop shortcut, and the app is ready to use.