[GH-ISSUE #33] Meta-packages for self-contained Qt binaries for each OS. #18

Closed
opened 2026-05-05 10:59:24 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @pauldotknopf on GitHub (Jul 23, 2018).
Original GitHub issue: https://github.com/qmlnet/qmlnet/issues/33

Currently, there is a Qml.Net NuGet package.

Need to think about the following NuGet packages:

  • Qml.Net.WindowsBinaries: This one should be easy, considering there aren't many shared libraries on Windows.
  • Qml.Net.OSXBinaries: This one should also be easy, again, considering the shared libraries used on OSX don't change much.
  • Qml.Net.LinuxBinaries: This will be a bitch to do. It is possible, but if we do, I'd like to statically compile in every dependency of Qt, including Qt itself. The only think dependent upon the system would be the glib version, which doesn't change much from distro-to-distro.
Originally created by @pauldotknopf on GitHub (Jul 23, 2018). Original GitHub issue: https://github.com/qmlnet/qmlnet/issues/33 Currently, there is a ```Qml.Net``` NuGet package. Need to think about the following NuGet packages: * ```Qml.Net.WindowsBinaries```: This one should be easy, considering there aren't many shared libraries on Windows. * ```Qml.Net.OSXBinaries```: This one should also be easy, again, considering the shared libraries used on OSX don't change much. * ```Qml.Net.LinuxBinaries```: This will be a bitch to do. It is possible, but if we do, I'd like to statically compile in *every* dependency of Qt, including Qt itself. The only think dependent upon the system would be the glib version, which doesn't change much from distro-to-distro.
Author
Owner

@pauldotknopf commented on GitHub (Jul 29, 2018):

Working on Windows now. We currently depend on the following .dlls/paths:

  • Qt5Core.dll
  • Qt5Gui.dll
  • Qt5Network.dll
  • Qt5Qml.dll
  • Qt5Quick.dll
  • Qt5QuickControls2.dll
  • Qt5QuickTemplates2.dll
  • plugins/*
  • qml/*

Before loading the app, we'd have to first locate the plugins directory and set the QT_PLUGIN_PATH. Same thing for the qml directory with the QML2_IMPORT_PATH.

I'm going to try to statically compile all the .dlls into a single QmlNet.dll. I might try to use mingw, since Windows implementations don't have to link against the lib (just standard C exports).

<!-- gh-comment-id:408683572 --> @pauldotknopf commented on GitHub (Jul 29, 2018): Working on Windows now. We currently depend on the following .dlls/paths: * Qt5Core.dll * Qt5Gui.dll * Qt5Network.dll * Qt5Qml.dll * Qt5Quick.dll * Qt5QuickControls2.dll * Qt5QuickTemplates2.dll * plugins/* * qml/* Before loading the app, we'd have to first locate the plugins directory and set the ```QT_PLUGIN_PATH```. Same thing for the qml directory with the ```QML2_IMPORT_PATH```. I'm going to try to statically compile all the .dlls into a single QmlNet.dll. I might try to use mingw, since Windows implementations don't have to link against the lib (just standard C exports).
Author
Owner

@pauldotknopf commented on GitHub (Jul 31, 2018):

Windows is done.

https://www.nuget.org/packages/Qml.Net.WindowsBinaries/

Mac/Linux is next!

<!-- gh-comment-id:409210351 --> @pauldotknopf commented on GitHub (Jul 31, 2018): Windows is done. https://www.nuget.org/packages/Qml.Net.WindowsBinaries/ Mac/Linux is next!
Author
Owner

@pauldotknopf commented on GitHub (Aug 3, 2018):

Mac/Linux is done as of 0.1.4.

<!-- gh-comment-id:410237985 --> @pauldotknopf commented on GitHub (Aug 3, 2018): Mac/Linux is done as of ```0.1.4```.
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#18
No description provided.