-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation #19
Comments
Hi, garlicbready did some documentation on his fork: |
@dsoronda Thank you for your feedback. I would agree with you, a little more documentation will help a lot. I'll try finding some time to either write some or merge some of @garlicbready 's work. |
for info I've moved the documentation here and updated it a bit To get something that just builds I'd stick with the CppSharp dll's from ddobrev initially, then move onto trying to build your own from the latest CppSharp code |
Hi! I am interested in this project. But just like @dsoronda I am having trouble to start. Every link given above is broken. I found https://github.com/manikk/QtSharpExamples (and latest commit was 9 months ago) and https://github.com/grbd/QtSharp.TestApps (latest commit was 6 months ago) and that's all. Are there any resources/links that I can study to start? Please, some basic documentation for newbies would be very welcome. Thanks a lot. |
@oscarvarto documentation is indeed lacking but what time I can spare all goes to coding. Nevertheless, there's a way to start if you work on Windows. First, please download the latest release from https://github.com/ddobrev/QtSharp/releases and then you can use the projects you linked to see some code. Please note that in addition to the bindings you need to obtain and deploy Qt itself. You need to download Qt for MinGW from its web site at https://www.qt.io/download-open-source/#section-2 and then deploy it with your application according to https://doc.qt.io/qt-5/windows-deployment.html#application-dependencies . |
@ddobrev I completely understand your point. However, how if you had more contributors? Wouldn't some docs help people get interested more easily? The time you invest may multiple the number of people helping to code. |
@oscarvarto You are correct, of course, but, you see, it's a little of a chicken-or-egg problem. To get it to work, I need contributors, and to get contributors, I need it to work at least a little. Besides, my goal is not to force users to generate and compile Qt# themselves but rather just use the binary downloads to get to programming straight away. Anyway, Qt# can definitely be generated on Windows so I think I'll have some time to create a small manual for it by the end of the day. |
This is good news but I have question for @ddobrev Also for @ddobrev , documentation is pretty old and references VS 2013 and link to Qt libraries in documentation points to invalid address in Documentation - 1. Building - QtSharp.md. I would like to help so lets break chicken-egg problem by fixing documentation so more people will come. |
@dsoronda I post binaries here at GitHub, you can find them as official releases https://github.com/ddobrev/QtSharp/releases . |
@dsoronda about generating Qt# yourself, it should be pretty simple:
I'll copy the steps above to the documentation when I have some time. |
Hi guys, This is error: An unhandled exception of type 'System.DllNotFoundException' occurred in QtWidgetsSharp.dll Additional information: Unable to load DLL 'Qt5Widgets': The specified module could not be found. (Exception from HRESULT: 0x8007007E) What is basic DLL requirement list to run Qt app ? this is source: namespace QtTest
} |
@dsoronda since you are Also, if you want to paste code, I suggest that you indent it 4 spaces so that it is formatted nicely. I use this tool to do it for me. |
@dsoronda @ethanhs is right. You need Qt5Widgets and its dependencies in your path or next to your executable. For more details please see https://doc.qt.io/qt-5/windows-deployment.html#application-dependencies . |
I'm sorry that I wasn't more specific but i did manually copy Qt5Widgets.dll from Qt installation directory : d:\Qt\Qt5.7.0\5.7\mingw53_32\bin and i added it to my user PATH. Problem was I added it AFTER I started VS so VS didn't see Qt in path. I also copied this files : CppSharp.Runtime.dll , Qt5Core.dll, Qt5Gui.dll, Qt5Widgets.dll, QtCoreSharp.dll, QtGui-inlines.dll, QtGuiSharp.dll, QtWidgets-inlines.dll , QtWidgetsSharp.dll into my bin\debug folder. Just to note: I'm trying to reuse code from this tutorial : So I managed to get my first Qt app to run and now i have question : this is my code : ` using System;
` Any suggestions how we can continue with this issue ? PS. Nuget package is very old and QtWidgets.QWidget namespace is messed up. Can you update nuget package please. |
|
Hi, I'll appreciate any suggestion, code example, etc. Also I have first isuse so any help is appreciated. |
@dsoronda My personal dream has been for the official Qt examples (.../Qt/Qt/Examples/Qt-) to be ported to Qt#. However, if you have too little time to read and translate C++, updating the Qyoto examples from http://zetcode.com/gui/csharpqyoto/introduction/ would be an excellent start too. |
@ddobrev I'll change license from LGPL to Apache. My long term plan was to generate demo app like this one : Eto forms demo app. |
This is a really nice example. :) |
Hi guys, i created some demos in QtSharpDemos project and started writing Wiki documentation. |
The examples look fine to me. We'll just have to change the code formatting before merging to the Qt# repo but it's not urgent. I assume they all work which is great, they are quite a few. There are a few missing compared to the originals, are all of these blocked by the bug with QPainter or are there some which have not been ported yet? |
This project really needs some documentation. I don't even know where to start first.
Where is QtCoreSharp.dll ? How to build it ? Does it requires CppSharp ? Should we first build CppSharp (and LLVM) ? What is build command for QtCoreSharp?
Please, I want to help, but I need some starting tips.
The text was updated successfully, but these errors were encountered: