Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a QtQuick test window #1196

Merged
merged 5 commits into from Aug 11, 2023
Merged

Add a QtQuick test window #1196

merged 5 commits into from Aug 11, 2023

Conversation

ubruhin
Copy link
Member

@ubruhin ubruhin commented Aug 10, 2023

Due to many limitations of the QtWidgets GUI framework, I think we need to evaluate other options some day - of course QtQuick/QML would be the most obvious choice. I don't know whether we will ever use it or not, but we should at least do some serious evaluation. One of the potential problems might be the deployment and runtime issues since AFAIK it relies on OpenGL which we cannot bundle with LibrePCB. So my idea is to add QtQuick as an optional dependency to LibrePCB now to get some experience about it before the dependency may get mandatory some day.

For that, I just added a menu item Help -> QtQuick Test Window to the Control Panel which opens this window:

image

This allows us to easily check if it works properly on various platforms / operating systems and I think the menu item doesn't hurt for non-developers (it's only temporary anyway)...

In case the dependency causes troubles, I documented in the build instructions how to build without QtQuick:

https://developers.librepcb.org/_branches/add-qml-test-window/d5/d96/doc_building.html#autotoc_md12

@ubruhin ubruhin added deployment UI / UX User Interface/Experience labels Aug 10, 2023
@ubruhin ubruhin added this to the 1.0.0 milestone Aug 10, 2023
@ubruhin ubruhin self-assigned this Aug 10, 2023
@ubruhin ubruhin merged commit 7e831a6 into master Aug 11, 2023
8 checks passed
@ubruhin ubruhin deleted the add-qml-test-window branch August 11, 2023 09:55
ubruhin added a commit that referenced this pull request Aug 22, 2023
This reverts commit 7e831a6, reversing
changes made to 94e27f1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment UI / UX User Interface/Experience
Development

Successfully merging this pull request may close these issues.

None yet

1 participant