[Qt-creator] Custom widget in Qt Creator (Designer)

Gilles Valette gilles.valette at univ-reims.fr
Mon Jun 1 14:45:20 CEST 2009


  ----- Original Message ----- 
  From: Jonathan Neuhaus 
  To: qt-creator at trolltech.com 
  Sent: Monday, June 01, 2009 2:17 PM
  Subject: [Qt-creator] Custom widget in Qt Creator (Designer)


  Hello,

  I am actually trying to integrate a custom widget into QtCreator.
  I managed to make it work with Qt Designer, but can't get it work in QtCreator.
  I put the dll (on Windows) / dylib (on MacOS) in 2009.02/bin/designer on Windows / QtCreator.app/Contents/MacOS/designer on MacOS.

  My custom widget uses Qt SDK 4.5.1 and I am using Qt Creator 1.1.0 (based on Qt 4.5.1) and integration works with Qt Designer (based on Qt 4.5.1).

  I tried to make it work under Windows XP and Mac OS X 10.5.7, but it did not work on both.
  On XP, the custom widget is not found and is not display in QtCreator.
  On Mac OS, when I tried to switch to the designer, it just crashes.

  Could someone give me some advices to make it works?
  I could give further details if needed.

  Thank you for your help.



------------------------------------------------------------------------------



Hi,

Perhaps you can find an answer in the following message (coming from a previous thread).

Hope this helps.

Gilles


----- Original Message ----- 
From: "Eike Ziller" <eike.ziller at nokia.com>
To: <qt-creator at trolltech.com>
Sent: Friday, April 03, 2009 11:59 AM
Subject: Re: [Qt-creator] I want to know how to add 'qwt' widgets toQt-Creator.


> Hi,
> 
> On Apr 2, 2009, at 5:43 PM, ext ??? wrote:
> 
>> Hi..
>>  I am Yong-Tae, Lee, south korea.
>>
>>  I have downloaded the Qt SDK 2009.01 version.
>>
>> I could install Qt4.5.0, mingw and Qt-Creator on my computer  
>> throught install files.
>>
>> And addtionally, I installed "qwt-5.2.0" to draw graph by using Qt.
>>
>> I could do it sucessfully.
>>
>>  The qwt widget is added at designer. But the qwt widget isn't added  
>> at Qt-Creator's designer.
>>
>>  Would you like to how to add "qwt" widgets into the Qt-Creator?
>>
>>  It is very important for me to draw graph.
>>
>>  Plese, let me know what best method to add Qt-Creator's designer on  
>> win32(winXP).
>>
>>
> 
> It is a bit confusing at the moment:
> a) QtCreator itself is compiled with msvc.
> b) Designer plugins for QtCreator are loaded from the bin/designer  
> directory
> That means you need to put a msvc compiled version of the qwt custom  
> designer widget dlls into the bin/designer directory of the SDK
> 
> Hope that helps,
> 
> -- 
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090601/5647ccfa/attachment.html 


More information about the Qt-creator-old mailing list