QtSharp icon indicating copy to clipboard operation
QtSharp copied to clipboard

Request: .bat file to download & setup the necessary files

Open define-private-public opened this issue 9 years ago • 2 comments

I've tried running through the Docs to get started with QtSharp on Windows but I keep on running into brick walls. I know this is some extra work, but would you be able to create a .bat that I could run where it would download all of the necessary repos/files and run the build commands for them?

Also, have you or anyone else been able to run this in MonoDevelop/Xamarin Studio? I'd like to use VS on windows, but their login thing is locking me out of the IDE...

define-private-public avatar Oct 21 '16 01:10 define-private-public

I haven't fully polished the process of users building Qt# themselves yet. Could you please use my binary releases instead? You can find links to examples at my main page ( https://github.com/ddobrev/QtSharp ). About MonoDevelop - Qt# consists of regular managed libraries so it makes no difference what IDE they are used from.

ddobrev avatar Oct 21 '16 09:10 ddobrev

Just to add, what I'd recommend at some future point is the use of the dotnet cli tool that's part of .Net core. That's not to say you need to use or reference the .Net Core framework libs, but you can use it's build system to target the existing .Net framework libs in a cross platform way. It has the benefits of

  • Already capable of cross platform building
  • More easily package c# libs into NuGet packages
  • The project files (currently a .xproj and a project.json files) don't need to have the C# files listed within in them
  • Auto download / restore of package depends from NuGet
  • At some later date if you want to, you can try and target the next generation .Net Core libs just by adding a line into project.json

You probably won't be able to do that for anything involving C++ though just yet.

Hecatron avatar Oct 25 '16 15:10 Hecatron