Bug 58513 - QMake manager scrambles project files to unusebility
Summary: QMake manager scrambles project files to unusebility
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: QMake (show other bugs)
Version: 3.0.0a4
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-15 09:12 UTC by Tom Lueders
Modified: 2003-09-30 02:45 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Lueders 2003-05-15 09:12:28 UTC
Version:           3.0.0a4 (using KDE 3.1.1)
Installed from:    SuSE
Compiler:          gcc version 3.3 20030226 (prerelease) (SuSE Linux)
OS:          Linux (i686) release 2.4.20-64GB-SMP

In one of the qmake subprojects dialogs I added some libraries from inside the project and some from outside.
The result in the *.pro file is not valid:

LIBS += -luuid \
        -lrt \                               #external libraries works	
        ../items../lib/libitems.a \   #the following internal library strings are invalid
        ../symbols../lib/libsymbols.a \
        ../gui../lib/libgui.a \
        ../shared../lib/libshared.a
TARGETDEPS += ../items../lib/libitems.a \ #the following target deps strings are invalid
              ../symbols../lib/libsymbols.a \
              ../gui../lib/libgui.a \
              ../shared../lib/libshared.a
Comment 1 Tom Lueders 2003-05-16 08:44:26 UTC
SuSE 8.2, KDE3.1.1, Qt 3.1.1 
Comment 2 Alexander Dymo 2003-07-08 23:17:23 UTC
Fixed in cvs. 
Comment 3 Tom Lueders 2003-08-11 13:15:11 UTC
TARGET_DEPS string is invalid again! 
I updated today from CVS (11.08.2003). The QMake manager of this version 
produces invalid project files again. 
 
Here is the invalid output: 
---------------------------------------------- 
LIBS += ../lib/libMyLib1.a \ 
        ../lib/libMyLib2.a \ 
        ../lib/libMyLib3.a \ 
        -lqui \ 
        -luuid \ 
        -lrt 
TARGETDEPS += ../lib/libMyLib3.a \ 
              ../lib/MyLib3 \ // this folder does'nt exist!! 
              ../lib/libMyLib1.a \ 
              ../lib/libMyLib3.a \ 
              ../lib/libMyLib2.a 
 
---------------------------------------------- 
The compiler means: 
 
gmake: *** No rule to make target `../lib/libMyLib3.a', needed by 
`../bin/myapp'.  
* gmake: *** No rule to make target `../lib/MyLib3', needed by `../bin/myapp'.  
* gmake: Target `first' not remade because of errors.  
* *** Exited with status: 2 *** 
 
 
 
The project structure is: 
 
MyProject 
 |_MyLib1 
 |_MyLib2 
 |_MyLib3 
 | 
 |_lib // target dir for all libs 
 |_app // here is the main.cpp located 
 |_bin // target for the binary 
 
The valid output should be: 
---------------------------------------------- 
TARGETDEPS += ../lib/libMyLib1.a \ 
              ../lib/libMyLib3.a \ 
              ../lib/libMyLib2.a 
---------------------------------------------- 
Thanks a lot. 
Tom 
 
Comment 4 Andreas Koepfle 2003-08-11 17:16:31 UTC
Hi Tom, 
Qmake Manager works fine here. 
I guess these errors might be side effects from patches Alexander applied to qmake 
manager.  
Check whether the wrong TARGETDEPS lines appear in the Dependencies Tab under 
"miscellaneous targets".  
If yes, just remove them there and it should work again. 
If it doesn't work, please send us the *.pro files of the libs and the app to help us 
reproduce the error. 
Andreas 
Comment 5 Andreas Koepfle 2003-09-24 03:00:12 UTC
Hi Tom, 
I think this bug is fixed. If you're still experiencing problems send a mail. Otherwise I'm going 
to close this bug report in the next days. 
Comment 6 Andreas Koepfle 2003-09-30 02:45:07 UTC
I think this has been fixed in CVS and original reporter hasn't complained, so closing this bug. 
Comment 7 Tom Lueders 2003-09-30 08:44:46 UTC
Subject: RE:  QMake manager scrambles project files to unusebil
	ity

Yesterday, after an update to KDE 3.1.4 including Qt 3.2.1 I didn't
recognize this problem anymore. Now I will watch for it at the next time ...

Thanks, Tom

-----Original Message-----
From: Andreas Koepfle [mailto:koepfle@ti.uni-mannheim.de]
Sent: Dienstag, 30. September 2003 02:45
To: Lueders, Tom
Subject: [Bug 58513] QMake manager scrambles project files to
unusebility


------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=58513     
koepfle@ti.uni-mannheim.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From koepfle@ti.uni-mannheim.de  2003-09-30
02:45 -------
I think this has been fixed in CVS and original reporter hasn't complained,
so closing this bug.