Integrate Qt6 UI engine and add NSIS installer#3
Open
razecrs wants to merge 1 commit intoWinExperiments:mainfrom
Open
Integrate Qt6 UI engine and add NSIS installer#3razecrs wants to merge 1 commit intoWinExperiments:mainfrom
razecrs wants to merge 1 commit intoWinExperiments:mainfrom
Conversation
…onfiguration This commit: 1. Merges the Qt6 UI engine directly into DirectDesktop.exe. 2. Embeds Qt initialization and the QML desktop overlay. 3. Updates the C# Control Panel to correctly launch the unified binary. 4. Adds CPack/NSIS configuration to generate a standalone installer. 5. Adds desktop and start menu shortcuts to the Control Panel for better UX.
razecrs
commented
Apr 30, 2026
| { | ||
| qmemcpy(&_shdi, pvDragStuff, sizeof(SHDRAGIMAGE) - 8); | ||
| void* pvBits; | ||
| void* pvBits = nullptr; |
Author
There was a problem hiding this comment.
switched to using the new C23 nullptr which is safer
| if (_shdi.hbmpDragImage) | ||
| { | ||
| void* pvBits; | ||
| void* pvBits = nullptr; |
| if (SetWindowCompositionAttribute) | ||
| { | ||
| WCHAR* WindowsBuildStr; | ||
| WCHAR* WindowsBuildStr = nullptr; |
| ////////////////// 0.5.6.3: NEED HELP WITH CONTEXT MENUS! | ||
|
|
||
| #include "pch.h" | ||
| #include <gdiplus.h> |
Author
There was a problem hiding this comment.
to handle some custom ui implementations
| return CreateAndInit<DDScalableElement, int>(0, pParent, pdwDeferCookie, ppElement); | ||
| } | ||
|
|
||
| void DDScalableElement::Paint(HDC hdc, const RECT* prcBounds, const RECT* prcInvalid, RECT* prcNext, RECT* prcRegion) |
Author
There was a problem hiding this comment.
below an implementation of a very very very juicy feeling and looking glassmorphism
| if (wParam == SPI_SETFONTSMOOTHING) | ||
| { | ||
| WCHAR* fontsmoothingStr; | ||
| WCHAR* fontsmoothingStr = nullptr; |
| case WM_USER + 5: | ||
| { | ||
| WCHAR *cxDragStr{}, *cyDragStr{}; | ||
| WCHAR *cxDragStr = nullptr, *cyDragStr = nullptr; |
| GetCursorPos(&ppt); | ||
| ScreenToClient(wnd->GetHWND(), &ppt); | ||
| WCHAR *cxDragStr{}, *cyDragStr{}; | ||
| WCHAR *cxDragStr = nullptr, *cyDragStr = nullptr; |
| { | ||
| int clicks = *(int*)lpParam; | ||
| wchar_t* dcms{}; | ||
| wchar_t* dcms = nullptr; |
Author
There was a problem hiding this comment.
c23 and also i dont know why u did wchar_t* dcms{}; thats bad code btw
| GetCursorPos(&ppt); | ||
| ScreenToClient(wnd->GetHWND(), &ppt); | ||
| WCHAR *cxDragStr{}, *cyDragStr{}; | ||
| WCHAR *cxDragStr = nullptr, *cyDragStr = nullptr; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces a unified desktop experience by integrating the new Qt6 UI engine directly into the main DirectDesktop.exe.
Key Changes:
Users can toggle between engines in the updated Control Panel.