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
QtWS25 Last Chance

Visual Studio to Qt creator conversion

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
7 Posts 3 Posters 860 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 27 May 2021, 06:04 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.

    J 1 Reply Last reply 27 May 2021, 06:14
    0
    • P pavel213
      27 May 2021, 06:04

      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.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 27 May 2021, 06:14 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 27 May 2021, 06:20 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 J 2 Replies Last reply 27 May 2021, 06:25
        0
        • P pavel213
          27 May 2021, 06:20

          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 Offline
          J Offline
          J.Hilk
          Moderators
          wrote on 27 May 2021, 06:25 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
            27 May 2021, 06:20

            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 Offline
            J Offline
            jsulm
            Lifetime Qt Champion
            wrote on 27 May 2021, 06:27 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 27 May 2021, 06:41 last edited by
              #6

              I am using MSBuild build system.

              J 1 Reply Last reply 27 May 2021, 06:41
              0
              • P pavel213
                27 May 2021, 06:41

                I am using MSBuild build system.

                J Offline
                J Offline
                jsulm
                Lifetime Qt Champion
                wrote on 27 May 2021, 06:41 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

                1/7

                27 May 2021, 06:04

                • Login

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