[Qt-creator] Custom widgets in integrated Qt-designer

Eike Ziller eike.ziller at nokia.com
Mon Feb 23 11:17:33 CET 2009


Hi,

On Feb 19, 2009, at 2:42 PM, ext Ayo wrote:

>>>> I use custom widgets in Qt-designer (QGLViewer, qwt). They do  
>>>> appear
>>>> in the Widget Box when I launch Qt-designer directly, but they  
>>>> are not
>>>> visible when I edit or create a UI file in Qt-Creator. Do I miss
>>>> anything or is it a bug ?
>>>
>>> This should work if the designer can find the plugins. That is we  
>>> don't
>>> build
>>> with any namespace, buildkey or libinfix option.
>>>
>>> Where did you put those plugin files? Note that qtcreators  
>>> designer uses
>>> the
>>> qt that is inside the bin directory.
>>
>> Under Linux, plugin .so files are in /usr/lib/qt4/plugins/designer.  
>> Under
>> Windows XP, plugin DLLs are in Qt\QtCreator\qt\plugins\designer and  
>> when I
>> launch designer.exe from Qt\QtCreator\qt\bin I get my custom  
>> plugins, which
>> are not visible in the integrated designer - same behaviour under  
>> Linux.
>
> It's been about two months since that post and there haven't been  
> any replies
> or solutions posted so far. I'm having exactly the same problem and  
> just
> can't figure out why Qt Creator isn't showing the custom widgets  
> that Qt
> Designer does.

QtCreator ships its own designer. So we don't (possibly can't) load  
any custom plugins from the Qt version you use for development. But  
you can compile your custom widgets against Qt 4.5.0 and put them into  
the bin/designer/ directory of the creator install. Then creator's  
designer should be able to find and load your plugins.

Regards, Eike

> Has there been any progress on this?
>
>
> - Ayo
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator

-- 
Eike Ziller
Software Engineer
Nokia, Qt Software
Phone  +49 (0)30 6392 3255
Fax    +49 (0)30 6392 3256
E-mail eike.ziller at nokia.com







More information about the Qt-creator-old mailing list