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. Mingw generates .qrl and .a files but not .dll
Qt 6.11 is out! See what's new in the release blog

Mingw generates .qrl and .a files but not .dll

Scheduled Pinned Locked Moved Unsolved General and Desktop
30 Posts 4 Posters 7.9k 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.
  • E Offline
    E Offline
    El91
    wrote on last edited by
    #16

    Oh really ? I am using Qt with MinGW "qt-opensource-windows-x86-mingw482-4.8.6-1.exe" . And I want to use the plugin with this version of Qt. So if I install Qt with MSVC and add the plugin using MSVC, would it work with the other version of Qt (with MinGW )?
    And can someone tell me the equivalent of "make" and "make install" in MSVC ?

    RatzzR 1 Reply Last reply
    0
    • E El91

      Oh really ? I am using Qt with MinGW "qt-opensource-windows-x86-mingw482-4.8.6-1.exe" . And I want to use the plugin with this version of Qt. So if I install Qt with MSVC and add the plugin using MSVC, would it work with the other version of Qt (with MinGW )?
      And can someone tell me the equivalent of "make" and "make install" in MSVC ?

      RatzzR Offline
      RatzzR Offline
      Ratzz
      wrote on last edited by
      #17

      @El91
      As suggested you cannot add plugin with the version you have . you need Qt with MSVC.

      --Alles ist gut.

      E 1 Reply Last reply
      0
      • RatzzR Ratzz

        @El91
        As suggested you cannot add plugin with the version you have . you need Qt with MSVC.

        E Offline
        E Offline
        El91
        wrote on last edited by
        #18

        @Ratzz Okay, but does it work if I use another version of Qt Creator ? a version which is build with MinGW ?

        RatzzR 1 Reply Last reply
        0
        • E El91

          @Ratzz Okay, but does it work if I use another version of Qt Creator ? a version which is build with MinGW ?

          RatzzR Offline
          RatzzR Offline
          Ratzz
          wrote on last edited by
          #19

          @El91
          Qt creator or Qt SDK?
          If you have built with "qt-opensource-windows-x86-mingw482-4.8.6-1.exe" then that will not work with MSVC . (in the sense you will have to build separately with MSVC).

          --Alles ist gut.

          1 Reply Last reply
          0
          • jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #20

            It is simple: a plug-in must be built using the same compiler which was used to built QtCreator.

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

            RatzzR 1 Reply Last reply
            0
            • jsulmJ jsulm

              It is simple: a plug-in must be built using the same compiler which was used to built QtCreator.

              RatzzR Offline
              RatzzR Offline
              Ratzz
              wrote on last edited by
              #21

              @jsulm
              But he wants "qt-opensource-windows-x86-mingw482-4.8.6-1.exe" to add pulgin!

              --Alles ist gut.

              jsulmJ 1 Reply Last reply
              0
              • RatzzR Ratzz

                @jsulm
                But he wants "qt-opensource-windows-x86-mingw482-4.8.6-1.exe" to add pulgin!

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

                @Ratzz Well, that will not work. To build a plug-in for QtCreator on Windows he needs the same VS compiler as used to build QtCreator and Qt version for the same VS compiler.

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

                1 Reply Last reply
                0
                • jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #23

                  Let's say QtCreator was built using VS2010. To build plug-ins for it you need:

                  • VS2010
                  • Qt for VS2010

                  If QtCreator was built using MinGW then you need:

                  • MinGW
                  • Qt for MinGW

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

                  E 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    Let's say QtCreator was built using VS2010. To build plug-ins for it you need:

                    • VS2010
                    • Qt for VS2010

                    If QtCreator was built using MinGW then you need:

                    • MinGW
                    • Qt for MinGW
                    E Offline
                    E Offline
                    El91
                    wrote on last edited by
                    #24

                    @jsulm Thank you ! , it is very clear now. So I have already MinGW and Qt for MinGW. What I need is another version of QtCreator, a version working on windows and which is built using MinGW. Can you tell me please where I can find it ?

                    1 Reply Last reply
                    0
                    • jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #25

                      I don't think there is an official QtCreator build using MinGW. But you can download the source code and build it.
                      http://download.qt.io/official_releases/qtcreator/3.5/3.5.1/qt-creator-opensource-src-3.5.1.zip
                      from here: https://www.qt.io/download-open-source/#section-2

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

                      E 1 Reply Last reply
                      0
                      • jsulmJ jsulm

                        I don't think there is an official QtCreator build using MinGW. But you can download the source code and build it.
                        http://download.qt.io/official_releases/qtcreator/3.5/3.5.1/qt-creator-opensource-src-3.5.1.zip
                        from here: https://www.qt.io/download-open-source/#section-2

                        E Offline
                        E Offline
                        El91
                        wrote on last edited by
                        #26

                        @jsulm To build it I have to go to the directory and use the same commands as if I'm building a plug-in ?

                        1 Reply Last reply
                        0
                        • jsulmJ Offline
                          jsulmJ Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on last edited by
                          #27

                          See README.md file in the ZIP archive, it describes what you need and how to build.

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

                          E 1 Reply Last reply
                          0
                          • jsulmJ jsulm

                            See README.md file in the ZIP archive, it describes what you need and how to build.

                            E Offline
                            E Offline
                            El91
                            wrote on last edited by
                            #28

                            @jsulm Alright, but this version needs Qt 5.4.0 or later, I'll use another version because I have to work with Qt 4.8.6.

                            1 Reply Last reply
                            0
                            • jsulmJ Offline
                              jsulmJ Offline
                              jsulm
                              Lifetime Qt Champion
                              wrote on last edited by
                              #29

                              See here for older QtCreator versions: http://download.qt.io/archive/qtcreator/

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

                              1 Reply Last reply
                              0
                              • E Offline
                                E Offline
                                El91
                                wrote on last edited by
                                #30

                                I'm sorry to tell you this guys but I give up (for now). I found so many errors when I tried to build QtCreator with MinGW, and it affected the QtCreator version already installed. So I don't need anymore that plugin. It took so much of my time for nothing.
                                Thank you very much for your help !

                                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