Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 6

Qt-interest Archive, July 2007
Qt4 Designer Integration


Message 1 in thread

Are there any examples of integrating Qt Designer into a Qt4 application?  My 
database design application needs the ability to design user interfaces that 
tie into the schema created within my program.

--
 [ signature omitted ] 

Message 2 in thread

On 27.07.07 10:30:18, Tony O'Bryan wrote:
> Are there any examples of integrating Qt Designer into a Qt4 application?  My 
> database design application needs the ability to design user interfaces that 
> tie into the schema created within my program.

Depends on the type of integration... There's a designer-integration
plugin in KDevelop4 - it doesn't do more than opening the .ui file and
displaying the toolviews though. Its available from:
svn://anonsvn.kde.org/home/kde/trunk/KDE/kdevelop/plugins/qtdesigner/

and IIRC there's the Qt4 IDE edyuk which also integrates designer (I
don't have a link at hand).

Andreas

-- 
 [ signature omitted ] 

Message 3 in thread

On Friday 27 July 2007 17:44, Andreas Pakulat wrote:
> On 27.07.07 10:30:18, Tony O'Bryan wrote:
> > Are there any examples of integrating Qt Designer into a Qt4 application?
> >  My database design application needs the ability to design user
> > interfaces that tie into the schema created within my program.
>
> Depends on the type of integration... There's a designer-integration
> plugin in KDevelop4 - it doesn't do more than opening the .ui file and
> displaying the toolviews though. Its available from:
> svn://anonsvn.kde.org/home/kde/trunk/KDE/kdevelop/plugins/qtdesigner/
>
> and IIRC there's the Qt4 IDE edyuk which also integrates designer (I
> don't have a link at hand).

Note that, due to the license, Qt Designer may not be distributed with 
commercial projects.

Frank

--
 [ signature omitted ] 

Message 4 in thread

On 28.07.07 12:48:29, Frank Hemer wrote:
> On Friday 27 July 2007 17:44, Andreas Pakulat wrote:
> > On 27.07.07 10:30:18, Tony O'Bryan wrote:
> > > Are there any examples of integrating Qt Designer into a Qt4 application?
> > >  My database design application needs the ability to design user
> > > interfaces that tie into the schema created within my program.
> >
> > Depends on the type of integration... There's a designer-integration
> > plugin in KDevelop4 - it doesn't do more than opening the .ui file and
> > displaying the toolviews though. Its available from:
> > svn://anonsvn.kde.org/home/kde/trunk/KDE/kdevelop/plugins/qtdesigner/
> >
> > and IIRC there's the Qt4 IDE edyuk which also integrates designer (I
> > don't have a link at hand).
> 
> Note that, due to the license, Qt Designer may not be distributed with 
> commercial projects.

So the commercial license doesn't allow to distribute libQtDesigner,
only the other Qt libs?

Andreas

-- 
 [ signature omitted ] 

Message 5 in thread

On Saturday 28 July 2007 14:35, Andreas Pakulat wrote:
> On 28.07.07 12:48:29, Frank Hemer wrote:
> > On Friday 27 July 2007 17:44, Andreas Pakulat wrote:
> > > On 27.07.07 10:30:18, Tony O'Bryan wrote:
> > > > Are there any examples of integrating Qt Designer into a Qt4
> > > > application? My database design application needs the ability to
> > > > design user interfaces that tie into the schema created within my
> > > > program.
> > >
> > > Depends on the type of integration... There's a designer-integration
> > > plugin in KDevelop4 - it doesn't do more than opening the .ui file and
> > > displaying the toolviews though. Its available from:
> > > svn://anonsvn.kde.org/home/kde/trunk/KDE/kdevelop/plugins/qtdesigner/
> > >
> > > and IIRC there's the Qt4 IDE edyuk which also integrates designer (I
> > > don't have a link at hand).
> >
> > Note that, due to the license, Qt Designer may not be distributed with
> > commercial projects.
>
> So the commercial license doesn't allow to distribute libQtDesigner,
> only the other Qt libs?

I didn't address libQtDesigner - however Qt Designer itself is mentioned to be 
not distributable in the license file.

Frank

--
 [ signature omitted ] 

Message 6 in thread

On 30.07.07 11:30:41, Frank Hemer wrote:
> On Saturday 28 July 2007 14:35, Andreas Pakulat wrote:
> > On 28.07.07 12:48:29, Frank Hemer wrote:
> > > On Friday 27 July 2007 17:44, Andreas Pakulat wrote:
> > > > On 27.07.07 10:30:18, Tony O'Bryan wrote:
> > > > > Are there any examples of integrating Qt Designer into a Qt4
> > > > > application? My database design application needs the ability to
> > > > > design user interfaces that tie into the schema created within my
> > > > > program.
> > > >
> > > > Depends on the type of integration... There's a designer-integration
> > > > plugin in KDevelop4 - it doesn't do more than opening the .ui file and
> > > > displaying the toolviews though. Its available from:
> > > > svn://anonsvn.kde.org/home/kde/trunk/KDE/kdevelop/plugins/qtdesigner/
> > > >
> > > > and IIRC there's the Qt4 IDE edyuk which also integrates designer (I
> > > > don't have a link at hand).
> > >
> > > Note that, due to the license, Qt Designer may not be distributed with
> > > commercial projects.
> >
> > So the commercial license doesn't allow to distribute libQtDesigner,
> > only the other Qt libs?
> 
> I didn't address libQtDesigner - however Qt Designer itself is mentioned to be 
> not distributable in the license file.

Well, nobody its not about the binary "designer", we're talking about
the libQtDesigner as thats the library you need to integrate designer
into your application. And you need two files from designer sources or
re-invent them yourself...

Andreas

-- 
 [ signature omitted ] 

Message 7 in thread

On Monday 30 July 2007 11:48, Andreas Pakulat wrote:
> On 30.07.07 11:30:41, Frank Hemer wrote:
> > On Saturday 28 July 2007 14:35, Andreas Pakulat wrote:
> > > On 28.07.07 12:48:29, Frank Hemer wrote:
> > > > On Friday 27 July 2007 17:44, Andreas Pakulat wrote:
> > > > > On 27.07.07 10:30:18, Tony O'Bryan wrote:
> > > > > > Are there any examples of integrating Qt Designer into a Qt4
> > > > > > application? My database design application needs the ability to
> > > > > > design user interfaces that tie into the schema created within my
> > > > > > program.
> > > > >
> > > > > Depends on the type of integration... There's a
> > > > > designer-integration plugin in KDevelop4 - it doesn't do more than
> > > > > opening the .ui file and displaying the toolviews though. Its
> > > > > available from:
> > > > > svn://anonsvn.kde.org/home/kde/trunk/KDE/kdevelop/plugins/qtdesigne
> > > > >r/
> > > > >
> > > > > and IIRC there's the Qt4 IDE edyuk which also integrates designer
> > > > > (I don't have a link at hand).
> > > >
> > > > Note that, due to the license, Qt Designer may not be distributed
> > > > with commercial projects.
> > >
> > > So the commercial license doesn't allow to distribute libQtDesigner,
> > > only the other Qt libs?
> >
> > I didn't address libQtDesigner - however Qt Designer itself is mentioned
> > to be not distributable in the license file.
>
> Well, nobody its not about the binary "designer", we're talking about
> the libQtDesigner as thats the library you need to integrate designer
> into your application. And you need two files from designer sources or
> re-invent them yourself...

Does that mean, I could - by adding the mentioned files - startup designer 
from within my app ... fullfeatured??
Or is this about whats necessary to build designer plugins so I have access to 
my custom components from within designer?

Frank

--
 [ signature omitted ] 

Message 8 in thread

On 30.07.07 15:25:19, Frank Hemer wrote:
> On Monday 30 July 2007 11:48, Andreas Pakulat wrote:
> > On 30.07.07 11:30:41, Frank Hemer wrote:
> > > On Saturday 28 July 2007 14:35, Andreas Pakulat wrote:
> > > > On 28.07.07 12:48:29, Frank Hemer wrote:
> > > > > On Friday 27 July 2007 17:44, Andreas Pakulat wrote:
> > > > > > On 27.07.07 10:30:18, Tony O'Bryan wrote:
> > > > > > > Are there any examples of integrating Qt Designer into a Qt4
> > > > > > > application? My database design application needs the ability to
> > > > > > > design user interfaces that tie into the schema created within my
> > > > > > > program.
> > > > > >
> > > > > > Depends on the type of integration... There's a
> > > > > > designer-integration plugin in KDevelop4 - it doesn't do more than
> > > > > > opening the .ui file and displaying the toolviews though. Its
> > > > > > available from:
> > > > > > svn://anonsvn.kde.org/home/kde/trunk/KDE/kdevelop/plugins/qtdesigne
> > > > > >r/
> > > > > >
> > > > > > and IIRC there's the Qt4 IDE edyuk which also integrates designer
> > > > > > (I don't have a link at hand).
> > > > >
> > > > > Note that, due to the license, Qt Designer may not be distributed
> > > > > with commercial projects.
> > > >
> > > > So the commercial license doesn't allow to distribute libQtDesigner,
> > > > only the other Qt libs?
> > >
> > > I didn't address libQtDesigner - however Qt Designer itself is mentioned
> > > to be not distributable in the license file.
> >
> > Well, nobody its not about the binary "designer", we're talking about
> > the libQtDesigner as thats the library you need to integrate designer
> > into your application. And you need two files from designer sources or
> > re-invent them yourself...
> 
> Does that mean, I could - by adding the mentioned files - startup designer 
> >from within my app ... fullfeatured??

Exactly, thats what edyuk and also KDevelop4 do, they have the toolviews
from designer and the mainwidget from the designer application embedded
into their own mainwindow. This does come at a prize: you're relying on
undocumented and partly private API that may change with any future Qt
release.

Andreas

-- 
 [ signature omitted ] 

Message 9 in thread

Andreas Pakulat wrote:
> On 30.07.07 15:25:19, Frank Hemer wrote:
>> On Monday 30 July 2007 11:48, Andreas Pakulat wrote:
>> > On 30.07.07 11:30:41, Frank Hemer wrote:
>> > > On Saturday 28 July 2007 14:35, Andreas Pakulat wrote:

>> > > > So the commercial license doesn't allow to distribute
>> > > > libQtDesigner, only the other Qt libs?
>> > >
>> > > I didn't address libQtDesigner - however Qt Designer itself is
>> > > mentioned to be not distributable in the license file.
>> >
>> > Well, nobody its not about the binary "designer", we're talking about
>> > the libQtDesigner as thats the library you need to integrate designer
>> > into your application. And you need two files from designer sources or
>> > re-invent them yourself...

I think it would be worth clarifying exactly what can and cannot be
distributed with an application distributed under the Commercial License,
and whether integrating with Qt Designer in that way would be "compatible"
with that license. If in doubt, send a query to the usual support/info
e-mail address.

>> Does that mean, I could - by adding the mentioned files - startup
>> designer from within my app ... fullfeatured??
> 
> Exactly, thats what edyuk and also KDevelop4 do, they have the toolviews
> from designer and the mainwidget from the designer application embedded
> into their own mainwindow. This does come at a prize: you're relying on
> undocumented and partly private API that may change with any future Qt
> release.

Both those applications are licensed under GPL compatible licenses, so
interoperating with Qt Designer is purely a technical challenge for their
developers. For Commercial Licensees, the situation may be different - see
above.

David
-- 
 [ signature omitted ] 

Message 10 in thread

On Friday 27 July 2007 17:30, Tony O'Bryan wrote:
> Are there any examples of integrating Qt Designer into a Qt4 application? 
> My database design application needs the ability to design user interfaces
> that tie into the schema created within my program.

Perhaps take a look at the approach of kaddressbook or korganizer. They both 
interface with .ui files and can start an existing Qt designer.

Massimo

--
 [ signature omitted ]