http://bugs.kde.org/show_bug.cgi?id=175671 Summary: qmake project environment variable Product: kdevelop Version: unspecified Platform: Ubuntu Packages OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general AssignedTo: kdevelop-bugs@kdevelop.org ReportedBy: daniel.wynne@mobotix.com Version: (using KDE 3.5.10) Compiler: gcc version 4.2.4 OS: Linux Installed from: Ubuntu Packages Hi! While trying to import a relatively large project, I receive several parsing errors as the paths to include files are not resolved properly. Those paths are built from variable and static parts as can be seen below: include($${PRO_ROOT_DIR}/settings/common_settings.pri) The variables are either defined from an env variable or statically as follows: PRO_ROOTDIR = $$(PRO_ROOTDIR) isEmpty(PRO_ROOTDIR) { PRO_ROOTDIR = ../../.. } Google-Research lead me here where several other people already had the same problem. But also defining the Variables before starting of kdevelop did lead to the same result. "Couldn't parse project file: /settings/common_settings.pri" As another approach I tried the following: !isEmpty($$(PRO_ROOTDIR)) { PRO_ROOTDIR = $$(PRO_ROOTDIR) } else { PRO_ROOTDIR = ../../.. } Using this, I receive paths with the $${PRO_ROOTDIR} not resolved but inserted literally as text: "Couldn't parse project file: ...App/$${MX_SDK_ROOTDIR}/settings/common_settings.pri" When I commit changes to the *.pro file kdevelop asks if it should reload the project. Saying yes does not bring up any parsing errors, but a build of the projects leads to the result that significant parts are missing. Is it my fault? What am I doing wrong? Greets -- Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ KDevelop-bugs mailing list KDevelop-bugs@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs