Skip to content

feat: ChiraEngine Qt integration#58

Draft
ashifolfi wants to merge 5 commits into
mainfrom
feat/qt-embed
Draft

feat: ChiraEngine Qt integration#58
ashifolfi wants to merge 5 commits into
mainfrom
feat/qt-embed

Conversation

@ashifolfi
Copy link
Copy Markdown
Collaborator

@ashifolfi ashifolfi commented Jan 3, 2023

This merge request aims to add support for utilizing Qt with ChiraEngine.

The current support utilizes window embedding to embed the SDL window inside of a QWidget. This isn't the same as having Qt as a backend but works as a good midpoint until a true Qt backend is figured out.

Tested setups + results:

  • Qt 6.4.1 - Pop!_OS 22.04 - KWin X11 : Working

Todo:

  • Fix mouse capturing not entirely working
  • Test embed code on Windows, Wayland, and MacOS
  • Change window console commands to operate on the Qt window / Remove window console commands
  • Create an example use of Qt integration using the editor

@ashifolfi ashifolfi added the enhancement New feature or request label Jan 3, 2023
@ashifolfi ashifolfi self-assigned this Jan 3, 2023
@ashifolfi
Copy link
Copy Markdown
Collaborator Author

what if I looked into this again. probably not until the game engine can game engine but I'll keep this on the radar.

@craftablescience
Copy link
Copy Markdown
Owner

It will be a lot easier to do this after the engine is more modular

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants