Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Visual Studio to Qt creator conversion
Forum Updated to NodeBB v4.3 + New Features

Visual Studio to Qt creator conversion

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
7 Posts 3 Posters 932 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.
  • P Offline
    P Offline
    pavel213
    wrote on last edited by
    #1

    We have a GUI that is built using visual studio 2015 and Qt 5.9.9. This GUI is developed in Windows 10. Now we want to compile and run this GUI in Linux/Ubuntu. Is there any work around for this. Any help would be appreciated.

    jsulmJ 1 Reply Last reply
    0
    • P pavel213

      We have a GUI that is built using visual studio 2015 and Qt 5.9.9. This GUI is developed in Windows 10. Now we want to compile and run this GUI in Linux/Ubuntu. Is there any work around for this. Any help would be appreciated.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @pavel213 said in Visual Studio to Qt creator conversion:

      Is there any work around for this

      What work around do you mean? Qt is portable and available for Linux.
      What build system do you use? If it is qmake or CMake then simply install Qt on Linux and build your project.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • P Offline
        P Offline
        pavel213
        wrote on last edited by
        #3

        Thanks for reply.
        GUI is build in Visual studio using Qt tools. It is not built in Qt creator. Its a visual studio solution having .sln extension.
        I want to build and run this GUI in Linux for Linux users.

        J.HilkJ jsulmJ 2 Replies Last reply
        0
        • P pavel213

          Thanks for reply.
          GUI is build in Visual studio using Qt tools. It is not built in Qt creator. Its a visual studio solution having .sln extension.
          I want to build and run this GUI in Linux for Linux users.

          J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote on last edited by
          #4

          @pavel213

          never used VS with Qt, but you shouldn't need any sln files for it to compile.

          YOu didn't answer @jsulm question, what build system did you use ?
          cmake ?

          copy the cmake file as well as all referenced hpp and cpp files to the linux system and build it there


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          1 Reply Last reply
          1
          • P pavel213

            Thanks for reply.
            GUI is build in Visual studio using Qt tools. It is not built in Qt creator. Its a visual studio solution having .sln extension.
            I want to build and run this GUI in Linux for Linux users.

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @pavel213 In this case you need to generate pro file for qmake, see https://stackoverflow.com/questions/56275229/generating-qt-pro-files-from-sln-file
            You can also switch to CMake instead as it is more future prove and is also supported by Visual Studio.

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            2
            • P Offline
              P Offline
              pavel213
              wrote on last edited by
              #6

              I am using MSBuild build system.

              jsulmJ 1 Reply Last reply
              0
              • P pavel213

                I am using MSBuild build system.

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @pavel213 As I wrote: you need to port either to QMake or CMake.

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                1

                • Login

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