QtCS25 - Compile once; run everywhere: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
(Added summary and links.)
Line 1: Line 1:
==Session Summary==
==Session Summary==


''Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.''
([https://www.qt.io/blog/examples-of-local-llm-usage AI transcribed and summarized])
 
The speaker, Cristian Adam from the Qt Creator team, presents a project using Cosmopolitan Libc to create a single binary that runs on multiple platforms (Windows, Linux, Mac OS) without modifications. Key points include:
 
- The project aims to compile once and run everywhere
 
- [https://justine.lol/cosmopolitan/ Cosmopolitan Libc] enables Unix-like behavior on Windows and other platforms.
 
- The speaker demonstrates a [https://git.qt.io/cradam/presentations/-/blob/main/2025.05.08/affine.exe.7z?ref_type=heads Qt example] running on all three platforms using VNC QPA.
 
- The project faces challenges with CMake and GUI layers, but the speaker is exploring solutions like SDL QPA and Angle project.
 
- The ultimate goal is to create a usable, cross-platform application with a nice GUI layer.
 
- The speaker acknowledges the project's complexity and the need for a clear path forward.
 
==Session Owners==
==Session Owners==
Cristian Adam


''Lorem Ipsum''
==Notes==
This is a follow up of [[/wiki.qt.io/QtCS2024 Compile once. Run everywhere|QtCS2024 Compile once. Run everywhere - Qt Wiki]]


''Consetetur Sadipscing''
This time Windows works and a native [https://github.com/cristianadam/sdl2_vnc VNC Client] (build for Linux, Windows, macOS x64 and arm64) is bundled with the [https://git.qt.io/cradam/presentations/-/blob/main/2025.05.08/affine.exe.7z?ref_type=heads affine.exe] application. The VNC client is extracted from the application at startup and connects to the localhost:5900 VNC server provided by the cosmopolitan application.


==Notes==
Slides are available at  [https://git.qt.io/cradam/presentations/-/raw/main/2025.05.08/QtCS2025-CompileOnce-RunEverywhere.pdf?ref_type=heads QtCS2025-CompileOnce-RunEverywhere.pdf]
''Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.''


[[Category:QtCS2025]]
[[Category:QtCS2025]]

Revision as of 13:57, 8 May 2025

Session Summary

(AI transcribed and summarized)

The speaker, Cristian Adam from the Qt Creator team, presents a project using Cosmopolitan Libc to create a single binary that runs on multiple platforms (Windows, Linux, Mac OS) without modifications. Key points include:

- The project aims to compile once and run everywhere

- Cosmopolitan Libc enables Unix-like behavior on Windows and other platforms.

- The speaker demonstrates a Qt example running on all three platforms using VNC QPA.

- The project faces challenges with CMake and GUI layers, but the speaker is exploring solutions like SDL QPA and Angle project.

- The ultimate goal is to create a usable, cross-platform application with a nice GUI layer.

- The speaker acknowledges the project's complexity and the need for a clear path forward.

Session Owners

Cristian Adam

Notes

This is a follow up of QtCS2024 Compile once. Run everywhere - Qt Wiki

This time Windows works and a native VNC Client (build for Linux, Windows, macOS x64 and arm64) is bundled with the affine.exe application. The VNC client is extracted from the application at startup and connects to the localhost:5900 VNC server provided by the cosmopolitan application.

Slides are available at QtCS2025-CompileOnce-RunEverywhere.pdf