Bug 157019

Summary: Comments with # in .pro file are not opened
Product: [Applications] kdevelop Reporter: J. Preiss <auba>
Component: Build tools: QMakeAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: minor CC: forkotov02
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description J. Preiss 2008-01-31 11:28:38 UTC
Version:           3.5.0.7 (using 3.5.8, Kubuntu (gutsy) 4:3.5.8-0ubuntu3.1)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.22-14-generic

(AFAIK # mark a line or a part of it as a comment)
When I have something like
 #FORMS = tdlgfilter.ui \
 # tdlgselect.ui
kdevelop cannot load the .kdevelop file. "Cannot parse pro file", "Cannot write Doxyfile" and "Malformed URL" are the message boxes. With a little luck I can close KDevelop normally, but sometimes it hangs up.

(If someone could add a hint, which URL is malformed...?)
Comment 1 Andreas Pakulat 2008-01-31 12:29:35 UTC
The problem is the \ at the end of the first comment, thats something KDevelop3's qmake parser cannot understand. And unfortunately its not easily fixable so I won't spend my time on this (also given that in KDevelop4 this can be parsed just fine)
Comment 2 Andreas Pakulat 2008-01-31 21:21:09 UTC
*** Bug 157049 has been marked as a duplicate of this bug. ***
Comment 3 Andreas Pakulat 2008-07-06 23:17:17 UTC
fixed in kdevelop4.