https://bugs.kde.org/show_bug.cgi?id=368038

            Bug ID: 368038
           Summary: Pro file should be passed to qmake instead of project
                    directory.
           Product: kdevelop
           Version: 5.0.0
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Build tools: QMake
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: kd.sn...@gmail.com

In cases when a project contains more than one .pro file in the source
directory and none of them has the same name as the project qmake step doesn't
work.
In the build log I see something like this:
/usr/bin/qmake <src-dir>
There should be pro-file instead of just source directory.

Reproducible: Always

Steps to Reproduce:
1. Create project with this structure:
hello_world
---- hw.pro // TEMPLATE = app, SOURCES = main.cpp
---- main.cpp
---- dummy.pro
2. Open hw.pro in KDevelop.
3. Run build.

Actual Results:  
Build failed.
In the log:
/usr/bin/qmake <src-dir>
Cannot read <src-dir>: file to open is a directory
Error processing project file: <src-dir>

Expected Results:  
Build succeeded for hw.pro project.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to