Comments (11)
Hello @garlicbready . Thank you for your effort. I'd like to help you by pointing you to the discussion at #8.
from qtsharp.
@garlicbready QtGui now reaches code generation even though there are compilation errors. I can see you've put a decent amount of work into your fork of QtSharp. Would you like to discuss merging it back?
from qtsharp.
Hi sorry missed your comment I was too busy looking at the other thread :)
I'd be more than happy to talk about merging stuff back into the main tree
For info the last time I tried a compile it generated the code on the c# side, but was missing a large number of inlines within the cpp side of things, which caused the tests to fail. (this was QtCore)
Saying that I haven't tried it with the latest CppSharp / latest pull from the main tree
I'm going to do another merge tonight / try the latest cppsharp with the changes from golddranks to see what happens then update my wiki entries
from qtsharp.
I'm glad to hear this, looking forward!
from qtsharp.
I managed get a bit further with the latest build
It looks as if most of the work going on at the moment is within CppSharp
I've used the latest CppSharp from master, and patched in goldranks change to GenerateInlinesCodePass.cs for SkipPatterns
It looks like there are no missing symbol errors now with QtCore (cool) when running the tests
the tests now return actual values (although in a lot of cases unexpected ones)
QtGUI seems to generate a .cs / .cpp file but seems to have other errors when building the dlls
I'm wondering if there needs to be something added in to let it know to use depends from QtCore
For info I've tried to make my own fork as close to the original as possible
The only differences are mostly cosmetic to try and make things easier to build
List below:
- Files are structured into directories, you may decide to use a different directory structure
- Namespaces has been added to some of the code to match up with the directory layout
- I've tried to use Nlog where possible for logging so this can be captured to a Txt File / debug output / app
- Some documentation is now located within the docs subdirectory on building CppSharp / QtSharp etc
It'd be interesting to know how your building llvm in x64 mode - The Build directory contains some prebuild dll's / patches (replaces References)
- QtSharpParameters class tracks build parameters / paths
QtSharpProcessor class does most of the work of the original QtSharp.CLI app in terms of looping / processing at a top level - External libs are set to be pulled via NuGet (except for sqlite3.dll so far)
- Documentation.cs has a couple of temporary try catches in just to get QtCore to the end of being generated
from qtsharp.
Hello @garlicbready . Thank you for the detailed comment. I'll take a look at your fork now. I'll be happy if we can work together to separate your work in pieces and merge them one by one.
from qtsharp.
Do you use Skype? I think it'd be easier if we had live contact. If you agree, please send your Skype id to my e-mail - you can see it in the commit messages.
from qtsharp.
Hi ddobrev I'll need to get back to you on Skype once I've got myself setup with it
Also I just realised the latest version of CppSharp now causes some of the classes to inherit from QMapNodeBase / QContiguousCacheData a couple of other class's which don't have parameterless constructors (which then causes a build fail)
Added a BuildInclude/QtCore/ConstructorFixes.cs as a quick fix just to get the dll to generate
from qtsharp.
@garlicbready thank you for reporting the bug about QMapNodeBase / QContiguousCacheData, I hadn't regenerated QtSharp with the latest C++# and I had therefore not noticed it. I'll fix it right away.
from qtsharp.
@garlicbready I've fixed it.
from qtsharp.
Closing since now resolved
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.