Qt4 App template

Andreas Pakulat apaku at gmx.de
Mon Nov 21 18:19:17 UTC 2005


On 21.11.05 17:41:21, Bernhard wrote:
> > this is a request for a feature to support distributions where Qt4 and
> > Qt3 are installed via package manager side by side. Now I don't know how
> > other linux distros do this, but debian renamed all qt4-binaries to
> > <app>-qt4, i.e. qmake is now qmake-qt4. The same happens with the
> > binaries from Qt3 and qmake is then a symlink into debian's alternative
> > System. Now I don't want to change all  the alternatives from qt3 to qt4
> > if I develop on a qt4 project and then back to qt3 if I work on qt3 or
> > kde3 project. So I'd like to have an option to specifiy the names for
> > binaries, like qmake, uic, rcc or designer, via  project options.
> >
> > Andreas
> I'm running qt3 and a self-compiled version of qt4 on my system. Switching to 
> a qt4 project is as easy as starting KDevelop with the KDevelop project file. 
> So if you use the qmake project manager for your qt4 projects, this might be 
> for you:
> 
> When you generate the Makefiles for the first time, run the appropriate qmake 
> command to generate the Makefiles in the project.

Why? Apart from the fact that Kdevelop currently has near to no Qt4
support, I think the last 3.x Version should have full Qt4 support as it
will be the last release for a long time to come (AFAIK). At least
having an option to choose the name of the qmake-binary is needed (I do
see that the qmake-qt4 creates Makefiles with proper moc-qt4 and uic-qt4
commands), together with a QMake-Qt4-Project manager and support for
the new Macros.

Andreas

-- 
You will gain money by an immoral action.




More information about the KDevelop-devel mailing list