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

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
30 Posts 4 Posters 7.7k 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
    #1

    Hi,

    I'm trying to add QLed plugin to QtCreator (http://qt-apps.org/content/show.php/QLed+?content=72482).
    I followed all the INSTALL instructions, and they worked successfully. But when I check my plugins\designer folder, I find only "qledplugin.prl" and "libqledplugin.a" added. And when I run QtCreator and check the Designer, I don't find the plugin added.

    I tried to use this plugin instead : http://qt-apps.org/content/show.php/...content=118610 , but it was the same problem, "libQLedIndicatorPlugin.a" and "QLedIndicatorPlugin.prl" files added, and no plugin added to the designer.

    I use Qt 4.8.6 with MinGW and Windows XP SP3. Here is the steps I did to add the plugin (with no succes at the end).

    1. Unzip the plugin file (.zip) in a specific directory
    2. Open Qt 4.8.6 Command Prompt
    3. Go to the directory where the plugin is unzipped
    4. Type qmake <plugin_name.pro>
    5. Type make
    6. Type make install

    I'm pretty sure that all the commands worked successfully, and that the file is entirely unzipped.

    Please help me. Thank you.

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

      Which compiler was used for the version of Qt Creator you are using? Check in Help - About Qt Creator.
      If Creator was built using MSVC and your plugin was compiled with MinGW, Creator will not load your plugin.

      Regards,
      Mike

      E 1 Reply Last reply
      0
      • M mawh1960

        Which compiler was used for the version of Qt Creator you are using? Check in Help - About Qt Creator.
        If Creator was built using MSVC and your plugin was compiled with MinGW, Creator will not load your plugin.

        Regards,
        Mike

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

        @mawh1960 Hi Mike,
        Thank you for your help, actually I find no compiler specified when I checked "About Qt Creator" ( I'm sorry , it is in French ).

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

          Windows version of QtCreator is built using MSVC as far as I know. You would need to use exactly the same MSVC compiler used to build QtCreator.

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

          E 1 Reply Last reply
          0
          • jsulmJ jsulm

            Windows version of QtCreator is built using MSVC as far as I know. You would need to use exactly the same MSVC compiler used to build QtCreator.

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

            @jsulm Thank you for your help.
            How can I know the MSVC version used to build my version of QtCreator ?

            RatzzR 1 Reply Last reply
            0
            • E El91

              @jsulm Thank you for your help.
              How can I know the MSVC version used to build my version of QtCreator ?

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

              @El91
              you can check in tools->option->build&run->compiler tab

              --Alles ist gut.

              E 1 Reply Last reply
              0
              • RatzzR Ratzz

                @El91
                you can check in tools->option->build&run->compiler tab

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

                @Ratzz Thank you.
                Actually I checked, and it seems that it is MinGW :
                http://s18.postimg.org/g4n3awx95/compiler.png

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

                  No, it is about compiler used to build QtCreator!
                  You can use Dependency Walker tool. Start it and load QtCreator.exe. On the left side you see DLLs on which QtCreator depends. Look for MSVC*.dll files and check their version.
                  From this site http://stackoverflow.com/questions/3113458/how-can-i-tell-what-version-of-visual-studio-was-last-used-to-work-on-a-project:
                  VS 6 -> 6.0
                  VS 2002 -> 7.0
                  VS 2003 -> 8.0
                  VS 2005 -> 9.0
                  VS 2008 -> 10.0
                  VS 2010 -> 11.0
                  VS 2012 -> 12.0
                  VS 2013 -> 10.0 to 12.0

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

                    Newer QtCreator versions show the VS version used to build them in "About QtCreator..." dialog, but not your old version.

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

                    E 1 Reply Last reply
                    0
                    • jsulmJ jsulm

                      Newer QtCreator versions show the VS version used to build them in "About QtCreator..." dialog, but not your old version.

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

                      @jsulm Here I found MSVCR100.dll . So is it about VS 2010 ?

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

                        I would say it is VS2008: VS 2008 -> 10.0

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

                        E 1 Reply Last reply
                        0
                        • jsulmJ jsulm

                          I would say it is VS2008: VS 2008 -> 10.0

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

                          @jsulm But here they say that it is VS 2010

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

                            You're right it's probably VS 2010

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

                              Can someone please tell me how to add a plugin using MSVC ? , because I need commands specific to MSVC to do it.

                              1 Reply Last reply
                              0
                              • M Offline
                                M Offline
                                mawh1960
                                wrote on last edited by
                                #15

                                You'll need Qt with MSVC. Have you looked at Qt 4.8.6 downloads ?

                                1 Reply Last reply
                                0
                                • 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

                                          • Login

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