Comments (15)
Thank you for the effort to create those samples, they are definitely going to help progress.
- As soon as I am able to, I am going to check loading *.ui-s and fix the errors;
- We do not handle char** as well as we could in C++#, it's a missing feature. One of my end goals is definitely to remove any pointers from the generated API. It just needs more work to cover all cases. Before this summer it was even worse but thanks to @genuinelucifer we now have ref parameters instead of pointers;
- QApplication.Exec() is there, it's just static. The pattern to use in Qt is QApplication app(argc, argv); ... return QApplication::exec();
- I am afraid it won't help because I already use the latest C++#. It needs debugging.
I will get back to you when I have more time. Then we might think about merging your samples into the Qt# repo.
from qtsharp.
Thanks for the info on QApplication
I've added a load of comments to the test app, so I'll leave it for now
from qtsharp.
That's interesting, it looks like the last couple of commits to Cppsharp now allow for the creating of widgets, Creating a basic widget now works (the BasicFormTest function). Good job it's the first time I've seen something working / on screen.
Loading a ui still fails at QtWidgets.QWidget CreateWidget, but I think it's getting further than before
I've been using the latest QT so far, 5.5.0 I might try and see what happens with older versions
from qtsharp.
This is strange indeed, the binaries in the Qt# repo are from the current master (a78a650). How did you obtain your copies?
from qtsharp.
The last version of CppSharp I tried is the latest from git mono/CppSharp@563ef56
It looks like there's been a couple of changes over last night
from qtsharp.
Right, I've just seen them. However, they are totally unrelated to the described problem. Oh, well, I guess working without knowing why is better than not working without knowing why.
from qtsharp.
Thanks for the latest release, I've just tried compiling against the latest cppsharp / qtsharp.
There's definitley less errors than before.
So far I've noticed the following
- For QFormBuilder / QUiLoader -> during load of ui from file
this now seems to drop out at a common point of QtCore.OnEvent, so we seem to be getting further - If a QTextEdit is added to the dialog window
then when the form closes an error is triggered - If a QFormLayout is added to the dialog window
then an error will trigger within QtWidget.HasHeightForWidth
from qtsharp.
@grbd thank you for testing. I am aware of problems 1. and 3, in fact, I am working on them right now. 2. is new for me, thank you for reporting.
from qtsharp.
@grbd I have decided to focus on the first problem for now. You are welcome to track its progress at https://gitlab.com/ddobrev/QtSharp/issues/22 .
from qtsharp.
cool thanks for the link
from qtsharp.
@grbd the third problem, the one with QFormLayout, has been fixed at my second alpha: https://github.com/ddobrev/QtSharp/releases/tag/0.0.2 .
from qtsharp.
@grbd please also try problem 2 (the QTextEdit) and let me know because I could not reproduce it, it may have been fixed.
from qtsharp.
I'll give both of them a go and let you know
thanks for looking into it
from qtsharp.
Problem 1 has been fixed at 4ce77c0. Since I've been unable to reproduce problem 2 and haven't received any additional information about it, I consider it complete which makes this whole issue resolved.
@grbd if you still encounter any of the 3 problems, please reopen.
from qtsharp.
@grbd the fix has been included in the 0.0.3 release - https://github.com/ddobrev/QtSharp/releases/tag/0.0.3.
from qtsharp.
Related Issues (20)
- Unable to use QTreeWidget HOT 2
- Building on Mac OS X HOT 13
- can't use QStringList HOT 2
- The "QObject.Sender" is null HOT 1
- QString and 64 bit support. HOT 4
- Deploy "Generated Source" for binary releases HOT 2
- Coverage HOT 30
- Packages HOT 2
- Missing Constructors HOT 8
- KDE support HOT 5
- System.EntryPointNotFoundException HOT 8
- QtSharp | SetProperty in QML from CodeBehind HOT 6
- VisualStudio is crashing | “System.InvalidCastException” in Microsoft.CodeAnalysis.Workspaces.dll HOT 3
- Support Sailfish OS? HOT 1
- Can't add more than one string in QtCore.QStringList HOT 1
- System.AccessViolationException in QBoxLayout destructor HOT 1
- QVariant value<QObject>(), qvariant_cast, qobject_cast implementation HOT 1
- System.InvalidCastException: Can't cast type 'CppSharp.AST.Class' into 'CppSharp.AST.ClassTemplateSpecialization'. HOT 5
- Continue development of QtSharp HOT 5
- Support Android And IOS And Mac And Linux
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qtsharp.