I'm struggling to run Qt's C# examples. Please assist.
I'm attempting to run https://github.com/qt-labs/qtdotnet.git cloned using Gittyup, as https://github.com/qt-labs/qtdotnet/blob/b99c0857762db36dc10cb4d5bcea90128f044cc0/README.md#quick-start explains, using
code-insiders-1.90.0-1715753654.el8.rpm
on https://download.fedoraproject.org/pub/fedora/linux/releases/40/Spins/x86_64/iso/Fedora-KDE-Live-x86_64-40-1.14.iso, but nothing seems to work:
- Installed https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-dotnettools/vsextensions/csharp/2.30.24/vspackage?targetPlatform=linux-x64
- Installed https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-dotnettools/vsextensions/csdevkit/1.6.6/vspackage?targetPlatform=linux-x64
- Cloned
https://github.com/qt-labs/qtdotnet.git
.- Opened
$HOME/Software/Git/GitHub.com/qtdotnet
as a folder in VSCode.- The Dev Kit asked me to "upgrade" the folder, and linked to entirely irrelevant documentation not explaining what that means or how to accomplish it, but provided an alternative - choose the C# extension - so I chose that.
- Was prompted to add missing files, so did so.
- Was prompted to choose an
.sln
file, so chose one (one of the three without the third's "windows-
" prefix, and which are labelled "DotNet 6" instead ofwindows-
's "DotNet 8", although I've both installed).When I attempt to run it or, sometimes, perform one of those aforementioned actions, I am hit with a slew of strange errors - https://bugzilla.redhat.com/show_bug.cgi?id=2280895#c0 happened once, but usually, I'm informed that
Projects failed to load because the Mono could not be found. Ensure that Mono and MSBuild are installed, and check the logs for details.
or that
msbuild
has failed, which seems like it might relate to https://github.com/dotnet/vscode-csharp/issues/5476#issue-1467903164.Where am I going wrong? I'm quite good at PowerShell, and want to learn Qt6, so this seems like the best way to go about it, but it's proving very difficult in comparison to how I recall using VS on Windows 10 two years ago being. However, I don't have a Windows machine or VM to test the repository on (I don't want to install VirtualBox and have a tained kernel).