Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Problem in QtSharp build
I am creating the at application using c# in visual studio 2010.For integrating Qt with C#,I have did the following steps.The steps are
First we need to clone QtSharp to our local machine
git clone https://github.com/ddobrev/QtSharp.git QtSharp
git checkout master
Next we need to tell NuGet to download any missing depends into a packages sub directory
To do this at the command line
nuget.exe restore QtSharp.sln
These are all completed successfully.
Then I go to the step
Building the QtSharp/ QtSharp.CLI
To build the sources under Visual Studio 2010
Open up the QtSharp.sln File within Visual Studio
Right Click Build on the QtSharp / QtSharp.CLI / QtSharp.Tests Projects
Now the problem will come,The problem is while building the QtSharp.Tests project.The error is
"Error 26 Unable to copy file "C:\GITHUB\QtSharp\Wrappers\QtCore\release\QtCore-inlines.dll" to "bin\Debug\QtCore-inlines.dll". Could not find a part of the path 'C:\GITHUB\QtSharp\Wrappers\QtCore\release\QtCore-inlines.dll'. QtSharp.Tests"
QtCore-inlines.dll missed.and also release folder is missed.Please suggest any idea for me.Thanks in advance.
mcosta last edited by
Hi and welcome to devnet,
as you can read from project page, QtSharp is only tested with MinGW so probably you could have issues to build it with VC++. If you need help you could also contact directly the author (QtSharp is not an official Qt tool).
Just to talk, can I know why you need to use Qt with C#?
I have some .cpp file and .h files.These files are using QObject,QList,QString and etc.Now, I want to convert these cpp file to cs file(c#).In this scenario I need to go for use of Qt with C#.Please suggest me soon ,Is there any idea for solving this issue.
mcosta last edited by
I don't know C# but I think it have some replacement for String and List.
I love Qt but if you need to use C# I suggest to not use Qt (QtSharp is not an official porting)
Thanks for valuable answer.For example Can I use instead of QString by string,QList by List and QObject by what?And If I use without QT ,Will any problem assosiate with performance of an application.Please suggest me?