Qt4 App template

Bernhard shentey at web.de
Mon Nov 21 17:42:06 UTC 2005


> Hi,
>
> 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. If you later modify 
any .pro files in the sub directories, qmake will regenerate the outdated 
Makefiles with the correct paths set.

HTH
-- Bernhard




More information about the KDevelop-devel mailing list