mirror of
https://github.com/qmlnet/qmlnet.git
synced 2026-05-16 14:15:57 -06:00
[GH-ISSUE #143] how to install QT manually #87
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#87
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 @zzstuzor on GitHub (Jun 18, 2019).
Original GitHub issue: https://github.com/qmlnet/qmlnet/issues/143
Hello, I downloaded your example project and tried to run it but it hangs in the method RuntimeManager.DiscoverOrDownloadSuitableQtRuntime();
I have a very bad internet connection. Where can I download the minimal SDK or runtime for QT ? Everything I find online is 1GB+..
Thanks
@MaxMommersteeg commented on GitHub (Jun 18, 2019):
Not sure what the minimum required runtime is, but downloading the runtime with the RuntimeManager is only required once.
@zzstuzor commented on GitHub (Jun 18, 2019):
Yes but unfortunately after trying 10+ times it just never works. Internet
is very unreliable in the Indian Ocean islands :-(
Is it possible to manually download and install? The method doesnt seem the
most resilient at downloading..
On Tue, Jun 18, 2019, 15:50 Max notifications@github.com wrote:
@MaxMommersteeg commented on GitHub (Jun 18, 2019):
You could do this all manually by having a look at following class:
https://github.com/qmlnet/qmlnet/blob/develop/src/net/Qml.Net/Runtimes/RuntimeManager.csThis is essentially what lives under
RuntimeManager.DiscoverOrDownloadSuitableQtRuntime();.That code is responsible for selecting the correct runtime and downloading it from https://github.com/qmlnet/qt-runtimes and putting it in your specific user directory.
I assume that downloading from https://github.com/qmlnet/qt-runtimes will be more practical in your case.
Once you've done that you should be able to just run the application, since
RuntimeManager.DiscoverOrDownloadSuitableQtRuntime();will discover the runtime you manually installed.@zzstuzor commented on GitHub (Jun 18, 2019):
Thanks Max, appreciate the help. Will try and report back with my progress.
On Tue, Jun 18, 2019 at 6:36 PM Max notifications@github.com wrote:
@vadi2 commented on GitHub (Jun 19, 2019):
If you can, post instructions on how to do that, since for any real deployment the runtime would need to be deployed with the application - due to the issues you mention. I haven't quite figured out where things should go just yet, but having a tool to download the runtimes knowing the location to put them into would help for CI builds.
@pauldotknopf commented on GitHub (Jun 19, 2019):
These are the packages you will need to extract.
https://github.com/qmlnet/qt-runtimes/releases
I will document this as soon as I can. I am currently in the hospital.
@vadi2 commented on GitHub (Jun 19, 2019):
Oh no! Sorry to hear that. Hope you recover fast (with a small bill).
@zzstuzor commented on GitHub (Aug 5, 2019):
Where do I put these files once I have downloaded them? Presumably somewhere like user.nuget\ ?
I hope all is well and that you're out now!?
@zzstuzor commented on GitHub (Aug 5, 2019):
c:\Users\USER\ .qmlnet-qt-runtimes\qt-5.12.2-ad0689c-win-x64\qt\