Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Problem in QtSharp build
Forum Update on Monday, May 27th 2025

Problem in QtSharp build

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 2.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sunmuk
    wrote on last edited by
    #1

    Hi All,
    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

    mkdir C:\GITHUB
    cd C:\GITHUB
    git clone https://github.com/ddobrev/QtSharp.git QtSharp
    cd C:\GITHUB\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.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mcosta
      wrote on last edited by
      #2

      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#?

      Once your problem is solved don't forget to:

      • Mark the thread as SOLVED using the Topic Tool menu
      • Vote up the answer(s) that helped you to solve the issue

      You can embed images using (http://imgur.com/) or (http://postimage.org/)

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Sunmuk
        wrote on last edited by
        #3

        Hi All,
        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.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mcosta
          wrote on last edited by
          #4

          Hi,

          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)

          Once your problem is solved don't forget to:

          • Mark the thread as SOLVED using the Topic Tool menu
          • Vote up the answer(s) that helped you to solve the issue

          You can embed images using (http://imgur.com/) or (http://postimage.org/)

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Sunmuk
            wrote on last edited by
            #5

            Hi,
            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?

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved