Results 1 to 3 of 3

Thread: mingw generates .qrl and .a files but not .dll

  1. #1
    Join Date
    Nov 2015
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question mingw generates .qrl and .a files but not .dll

    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.
    Last edited by El91; 25th November 2015 at 15:37. Reason: updated contents

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: mingw generates .qrl and .a files but not .dll

    Is the plugin visible when you run Designer from the Qt 4.8.6 binary folder? You have built and installed the plugin for this copy of Qt4 and Designer.

    Qt Creator maintains its own private copy of Qt libraries and plugins. If you want to affect these plugins you will need to build QLed with the same compiler/version (MSVC nn.n) and Qt version as Creator was built with and install the plugin manually into Creator's folders.

    You do not need the plugin to use QLed in Designer

  3. #3
    Join Date
    Nov 2015
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: mingw generates .qrl and .a files but not .dll

    Actually I didn't install Designer seperately from Qt Creator. In the Designer, the plugin isn't visible.
    I found out that my version of Qt Creator is build with MSVC 2010 , so I'll install it and then try to make the plugin using MSVC.

Similar Threads

  1. Difference between Qt dll files placed in MinGW and QtCreator directories
    By MasoudCS in forum Installation and Deployment
    Replies: 1
    Last Post: 13th January 2016, 12:27
  2. Mingw included in Qt installator including old .h files?
    By Momergil in forum Installation and Deployment
    Replies: 2
    Last Post: 19th March 2013, 12:22
  3. QWebView print() generates huge PDF files on Windows
    By brush.tyler in forum Qt Programming
    Replies: 2
    Last Post: 26th September 2012, 15:01
  4. qt + mingw + visual studio header files
    By smoon in forum Installation and Deployment
    Replies: 5
    Last Post: 10th March 2011, 22:16
  5. Mingw doesn't find qt include files
    By NineTailFox in forum Newbie
    Replies: 2
    Last Post: 12th November 2008, 09:18

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.