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. convert a mingw project to msvc
Forum Updated to NodeBB v4.3 + New Features

convert a mingw project to msvc

Scheduled Pinned Locked Moved Solved General and Desktop
9 Posts 2 Posters 1.3k Views 1 Watching
  • 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
    saeid0034
    wrote on last edited by
    #1

    hi i have a project
    i start develop the project in qt and use mingw for compile and test it
    i also have installed visual studio 2019, i want to know there is a way to change my compiler to msvc?
    here is my compiler setting for now
    5b9e4c94-4b96-4f68-903b-027b2bce3e33-image.png

    and i compile Qt static from source some month ago (with mingw) i want know i can use msvc on qt static too?
    thanks

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Install the Qt version built for your version of Visual Studio.

      Yes you can also build Qt statically with Visual Studio. The same licensing constraints apply.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      S 1 Reply Last reply
      2
      • SGaistS SGaist

        Hi,

        Install the Qt version built for your version of Visual Studio.

        Yes you can also build Qt statically with Visual Studio. The same licensing constraints apply.

        S Offline
        S Offline
        saeid0034
        wrote on last edited by
        #3

        @SGaist said in convert a mingw project to msvc:

        Hi,

        Install the Qt version built for your version of Visual Studio.

        Yes you can also build Qt statically with Visual Studio. The same licensing constraints apply.

        i still can use my Previous static build? (builded with mingw)

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          You cannot use C++ code built with MinGW with Visual Studio and the reverse as well.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          S 1 Reply Last reply
          2
          • SGaistS SGaist

            You cannot use C++ code built with MinGW with Visual Studio and the reverse as well.

            S Offline
            S Offline
            saeid0034
            wrote on last edited by
            #5

            @SGaist so i need to build Qt static one more time with msvc compiler?

            1 Reply Last reply
            0
            • S Offline
              S Offline
              saeid0034
              wrote on last edited by
              #6

              and can you please say to me how can i Install the Qt version built for my version of Visual Studio.

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                About static: yes

                About installation, if you used the online installer, start the maintenance tool located in your Qt installation.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                S 1 Reply Last reply
                2
                • SGaistS SGaist

                  About static: yes

                  About installation, if you used the online installer, start the maintenance tool located in your Qt installation.

                  S Offline
                  S Offline
                  saeid0034
                  wrote on last edited by
                  #8

                  @SGaist said in convert a mingw project to msvc:

                  About static: yes

                  About installation, if you used the online installer, start the maintenance tool located in your Qt installation.

                  only one other thing, i have installed visual studio 2019 in my system
                  e641f535-8d9d-4f40-9d13-7179ea3064d2-image.png
                  can i use this or i need to download it form maintenance?

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    There's no other option. Visual Studio can only be installed through Microsoft provided installer.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - 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