new cmake Qt3 project template - why isn't the project opened after it has been created ?
Jens Dagerbo
jens.dagerbo at swipnet.se
Mon Apr 24 20:10:09 UTC 2006
The problem is that there is no project file to open when KDevelop attempts to
do so.
See parts/appwizard/appwizarddlg.cpp, lines 682-686:
The "cmake ./ -GKDevelop3" command is forked off before we in the next
statement attempt to open the project file. But CMake isn't done creating it
yet.
I see no easy way to fix this, except to rewrite AppWizard to be able to wait
for commands to finish. (Refactoring AppWizard is a good idea in general.)
// jens
On Sunday 23 April 2006 22:26, Alexander Neundorf wrote:
> Hi,
>
> I just committed a new cmake based Qt3 application template to the kdevelop
> 3.4 branch.
> There's a problem with it:
> it is created successfully, cmake is run at the end fo the creation
> successfully, but kdevelop doesn't open it as new project.
> It still shows the project name of the previous project and when compiling
> it still compiles the previous project. After loading the newly created
> project manually it works.
> Any idea what could be the reaosn for this ?
>
> The two files which describe the project are attached.
> In svn you can find them under languages/cpp/apptemplates/cmakeqt3app/.
>
> Bye
> Alex
More information about the KDevelop-devel
mailing list