mirror of
https://github.com/qmlnet/qmlnet.git
synced 2026-05-15 14:15:54 -06:00
[GH-ISSUE #161] How to use this via PowerShell #100
Labels
No labels
bug
enhancement
help wanted
help wanted
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/qmlnet#100
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ALIENQuake on GitHub (Aug 22, 2019).
Original GitHub issue: https://github.com/qmlnet/qmlnet/issues/161
Hello,
First, let me show you an example of how PowerShell can call Windows Forms:
Could I load QT dll like the example above and use Powershell instead of c# to build GUI/app logic etc?
All I need is a POC of one simple grid with a button.
@ALIENQuake commented on GitHub (Oct 8, 2019):
@pauldotknopf Well, don't bother. Even if you could provide answer, the application which is 'initialized' from Powershell will crash on Mac because the entire UI main loop has to run on the main thread while Powershell execute all scripts at the extra thread. More info: https://github.com/ironmansoftware/psavalonia/issues/1
@ALIENQuake commented on GitHub (Mar 29, 2020):
Apparently, the issue I mentioned can be fixed. @pauldotknopf Any chance for investigation?
@vadi2 commented on GitHub (Mar 29, 2020):
Why not build with C#?
@ALIENQuake commented on GitHub (Mar 30, 2020):
@vadi2 Well, Powershell has huge benefits over c# when it comes to speed and flexibility of the development of the simple-to-medium GUI apps. The most important one is time gain and it is the most valuable resource in the universe. But as with every tech, you have to do it in order to see it.
@RokeJulianLockhart commented on GitHub (Jun 12, 2022):
I have noticed that this was considered to be complete. Does that mean that QMLNet supports PowerShell? I want a way to create a Qt app with PowerShell.
@RokeJulianLockhart commented on GitHub (Apr 21, 2023):
@ALIENQuake, additionally, https://github.com/qmlnet/qmlnet/issues/161#issuecomment-539537432 solely refers to macOS. If it's solely a problem with macOS, could support be provided by this library for Windows and Linux? We can always report it to the Apple developers and wait until it and/or https://github.com/ironmansoftware/psavalonia/issues/1 has been remediated.