Bug 62224

Summary: New project files should be in the src directory
Product: [Applications] kdevelop Reporter: Justace Clutter <justacec>
Component: Build tools: QMakeAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal CC: f.fracassi, zakariya
Priority: NOR    
Version: 3.0.0a4   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Justace Clutter 2003-08-06 06:06:30 UTC
Version:           3.0.0a4 (using KDE KDE 3.1.2)
Installed from:    Gentoo Packages

When I create a class, in a QT Application project, it creates the class definitions and implimentation files in the project root directory instead of the src directory.  I would be nice if when you created files they went into appropriate directories based on file type.  For instance all xpms go into src/pixmaps and .cc goes into src.  You could override it in the create class or create file dialog but by default would go to one of the predestined locations.
Comment 1 Andreas Koepfle 2003-09-15 18:59:44 UTC
*** Bug 51220 has been marked as a duplicate of this bug. ***
Comment 2 Amilcar do Carmo Lucas 2003-09-16 18:36:26 UTC
Here you go Fracassi this is the bug that you wanted to keep open!
Comment 3 F Fracassi 2003-09-16 20:43:08 UTC
I found out that this happens only when you haven't selected "/src" in the "QMake Manager". 
It seams that the subproject gets (correctly) selected by the choise made in the New Class Wizard, 
but the file path gets (incorrectly) selected by the current "QMake Manager" selection. 
 
 
Comment 4 Alexander Dymo 2003-11-16 21:56:41 UTC
Subject: kdevelop/buildtools/qmake

CVS commit by dymo: 

move files if choose target dialog requests it
CCMAIL: 62224-done@bugs.kde.org


  M +1 -0      choosesubprojectdlg.cpp   1.3
  M +4 -8      trollprojectpart.cpp   1.67
  M +61 -23    trollprojectwidget.cpp   1.140
  M +1 -1      trollprojectwidget.h   1.55