[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 145708] New: Relative paths are not correctly managed in the
From: Alessandro Garberi <agarberisoft () netscape ! net>
Date: 2007-05-20 12:48:29
Message-ID: 20070520144828.145708.agarberisoft () netscape ! net
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=145708
Summary: Relative paths are not correctly managed in the
configuration dialog
Product: kdevelop
Version: 3.4.1
Platform: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: Build tools: QMake
AssignedTo: kdevelop-bugs kdevelop org
ReportedBy: agarberisoft netscape net
Version: 3.4.1 (using KDE 3.5.5, Debian Package 4:3.5.5a.dfsg.1-8 (4.0))
Compiler: Target: i486-linux-gnu
OS: Linux (i686) release 2.6.18-4-k7
Hi,
relative paths in "QMake Subproject Configuration" are not always correctly managed.
Here some examples:
- in "Basics" TAB, "Target Path" in my .pro file is relative (something like \
'../../bin'), but it is shown in the dialog as an absolute path as \
'/path/to/project/../../bin' (anyway it is correctly saved as a relative path in the \
.pro file)
- in "Includes" TAB, "Directories outside project" I have a relative dir (something \
like '../xml' and it is shown correctly, but if I select it and click "Edit" button, \
an error message is shown ("The specified folder does not exist or was not \
readable.") and then the proposed dir is '/path/to/project../xml' with a missing '/' \
before '..'; morevoer if I accept the proposed dir (after correcting it) it is saved \
as an absolute dir ('/path/to/project/../xml') but this may be a wanted feature \
because of the field name ("Directories outside project").
Little suggestion:
to concatenate a base dir and a relative path, you may use \
"QFileInfo::QFileInfo(const QDir &d, const QString &fileName)"; example: \
"QFileInfo(baseDir, relativePath).absFilePath()".
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic