[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 151491] New: QMake project parse error *.pri file
From:       Pino Toscano <toscano.pino () tiscali ! it>
Date:       2007-10-29 22:20:41
Message-ID: 20071029005410.151491.tomek () 3electrons ! com
[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=151491         
           Summary: QMake project parse error *.pri file
           Product: kdevelop
           Version: 3.5.0
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: RESOLVED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: tomek 3electrons com


Version:           3.5.0 (using KDE KDE 3.5.7)
Installed from:    Gentoo Packages
Compiler:          gcc (GCC) 4.2.2 (Gentoo 4.2.2 p1.0) 
OS:                Linux

When parsing Flags.pri included  mutliple times form subdirectory projects 
program returns parse error, at the same time qmake (Qt 4.3.x) work properly with it. \


"
unix{
 # Development machine
 INCLUDEPATH+=/usr/include/OGRE/
 QMAKE_CXX=distcc
 QMAKE_CXXFLAGS_RELEASE= -g3 -Wall -pg
 QMAKE_LFLAGS_RELEASE= -pg
 #QMAKE_CXXFLAGS_RELEASE= -march=k8 -Os -mfpmath=sse
}

win32{
 # Target platform - Windows
 # Pentium-Pro -- becouse of Intel and AMD fork
 INCLUDEPATH+=$$(OGRE_HOME)/include
 LIBS+=-L$$(OGRE_HOME)/bin/release
 #QMAKE_CXXFLAGS_RELEASE= -g3 -Wall
 QMAKE_CXXFLAGS_RELEASE= -march=i686 -Os -Wall

 # QMAKE_LFLAGS_RELEASE=
}
"

Additionally 
Parsing following line 
"=================" 
in .pro files causes as well parse error. 

BTW. 
It would be nice to have line number and token name included to parser string error. 





Additionally 
When parsing project files ... having line od '=' chars return parse error. When \
qmake parser does'nt do that. 

I would be glad to include simplified project for which those errors occur. But this \
is my first bug report and I don't know how to include this file here. 

P.S.
Forgive me my English it is not my primary language.

------- Additional Comments From toscano.pino tiscali it  2007-10-29 23:20 -------
PS: you don't need to create the same bug report just to attach a file.

*** This bug has been marked as a duplicate of 151492 ***

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic