[Qt-interest] How to add a dialog to a project?

Andreas Pakulat apaku at gmx.de
Sat May 23 10:13:28 CEST 2009


On 23.05.09 08:55:22, Piotr Dobrogost wrote:
> Andreas Pakulat wrote:
> 
> > Why not use the designer? Its still part of whatever package you
> > downloaded, look for the "designer" executable. Don't make your life
> > harder by trying to take two steps at once.
> 
> Thanks for your help.
> It's funny I haven't found this earlier; I was looking only in the root
> level bin folder (where there's qtcreator.exe) and because
> 1. it's not there
> 2. there's a folder named designer there with only one dll file
> I assumed there's no stand alone Qt Designer any more :)

Yeah, kinda strange they package Qt into a separate subdir, would be
interesting to hear the reason for that.
 
> By the way;
> Any hints where I could find answer to my question?

I don't use QtCreator myself, but the header you're talking about
(ui_foo.h if you have a foo.ui) is auto-generated when you build the
project. So you can just put the

#include "ui_foo.h" 

into your main.cpp and exepct things to work once you've built your
project.

Andreas

-- 
Tuesday is the Wednesday of the rest of your life.



More information about the Qt-interest-old mailing list