Bug 61314 - QMake project not working
Summary: QMake project not working
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: QMake (show other bugs)
Version: 3.0.0a5
Platform: Slackware Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-16 16:38 UTC by Sensei
Modified: 2003-07-28 00:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sensei 2003-07-16 16:38:20 UTC
Version:           3.0.0a5 (CVS) (using KDE KDE 3.1.2)
Installed from:    Slackware Packages
Compiler:          does not matter 
OS:          Linux

The QMake project template does not work at all.

1. there's a src/ directory never used (adding files, they're copied in the project root directory).
2. the class/namespace/everything is empty always.
3. the src/ files are not compiled
4. compiled files are stored in the project root directory

The expected behaviour is to have a src/ directory where sources and headers are stored. UI and other files should have a proper directory. All binary files (.o and execs) should go into bin/. The class browser should work.
Comment 1 Alexander Dymo 2003-07-28 00:13:10 UTC
QMake project template is organized in the following way: 
bin/  - for executable target file 
src/  - for source files and any files generated by the compiler 
To add a file into src just select it in QMake Manager view. 
If you want to have separate directories for object and intermediate files, go to 
subproject configuration (right-click on src subproject in QMake Manager view) 
and choose "Intermediate Locations" tab. 
Classes and namespaces view work if files were correctly added to a project. 
Comment 2 Alexander Dymo 2003-07-28 00:43:52 UTC
I've commited "Choose Subproject" dialog. Now Qmake manager won't let you to 
add files onto a "subdirs" subproject (like "/" that is selected by default when 
opening a project).