PDA

View Full Version : mingw generates .qrl and .a files but not .dll



El91
25th November 2015, 15:35
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/QLedIndicator?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.

ChrisW67
25th November 2015, 21:06
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

El91
26th November 2015, 15:27
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.