[GH-ISSUE #143] how to install QT manually #87

Closed
opened 2026-05-05 11:04:06 -06:00 by gitea-mirror · 9 comments
Owner

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

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
Author
Owner

@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.

<!-- gh-comment-id:503070362 --> @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.
Author
Owner

@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:

Not sure what the minimum required runtime is, but downloading the runtime
with the RuntimeManager is only required once.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/qmlnet/qmlnet/issues/143?email_source=notifications&email_token=AEFRZ7YZQ3E2CE23TS6SXO3P3DDZJA5CNFSM4HY6ZWU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX6D5GQ#issuecomment-503070362,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEFRZ775B47AHEE7CRNN2ZTP3DDZJANCNFSM4HY6ZWUQ
.

<!-- gh-comment-id:503152329 --> @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: > Not sure what the minimum required runtime is, but downloading the runtime > with the RuntimeManager is only required once. > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/qmlnet/qmlnet/issues/143?email_source=notifications&email_token=AEFRZ7YZQ3E2CE23TS6SXO3P3DDZJA5CNFSM4HY6ZWU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX6D5GQ#issuecomment-503070362>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/AEFRZ775B47AHEE7CRNN2ZTP3DDZJANCNFSM4HY6ZWUQ> > . >
Author
Owner

@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.cs

This 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.

<!-- gh-comment-id:503164448 --> @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.cs` This 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.
Author
Owner

@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:

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.cs

This 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.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/qmlnet/qmlnet/issues/143?email_source=notifications&email_token=AEFRZ73QIFG4UGNTXZ2MLILP3DXHZA5CNFSM4HY6ZWU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX624IA#issuecomment-503164448,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEFRZ73JXSEARK5MSO7R7KTP3DXHZANCNFSM4HY6ZWUQ
.

<!-- gh-comment-id:503193869 --> @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: > 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.cs > > This 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. > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/qmlnet/qmlnet/issues/143?email_source=notifications&email_token=AEFRZ73QIFG4UGNTXZ2MLILP3DXHZA5CNFSM4HY6ZWU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX624IA#issuecomment-503164448>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/AEFRZ73JXSEARK5MSO7R7KTP3DXHZANCNFSM4HY6ZWUQ> > . >
Author
Owner

@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.

<!-- gh-comment-id:503607243 --> @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.
Author
Owner

@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.

<!-- gh-comment-id:503611128 --> @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.
Author
Owner

@vadi2 commented on GitHub (Jun 19, 2019):

Oh no! Sorry to hear that. Hope you recover fast (with a small bill).

<!-- gh-comment-id:503615628 --> @vadi2 commented on GitHub (Jun 19, 2019): Oh no! Sorry to hear that. Hope you recover fast (with a small bill).
Author
Owner

@zzstuzor commented on GitHub (Aug 5, 2019):

https://github.com/qmlnet/qt-runtimes/releases
I will document this as soon as I can.

Where do I put these files once I have downloaded them? Presumably somewhere like user.nuget\ ?

I am currently in the hospital.

I hope all is well and that you're out now!?

<!-- gh-comment-id:518122425 --> @zzstuzor commented on GitHub (Aug 5, 2019): > https://github.com/qmlnet/qt-runtimes/releases > I will document this as soon as I can. Where do I put these files once I have downloaded them? Presumably somewhere like user\.nuget\ ? > I am currently in the hospital. I hope all is well and that you're out now!?
Author
Owner

@zzstuzor commented on GitHub (Aug 5, 2019):

Where do I put these files once I have downloaded them? Presumably somewhere like user.nuget\ ?

c:\Users\USER\ .qmlnet-qt-runtimes\qt-5.12.2-ad0689c-win-x64\qt\

<!-- gh-comment-id:518157019 --> @zzstuzor commented on GitHub (Aug 5, 2019): > Where do I put these files once I have downloaded them? Presumably somewhere like user.nuget\ ? c:\Users\USER\ .qmlnet-qt-runtimes\qt-5.12.2-ad0689c-win-x64\qt\
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/qmlnet#87
No description provided.