Bug 76262

Summary: Syntax-errors in created *.pro-files within a QMake-Project
Product: [Applications] kdevelop Reporter: Andreas Pietzowski <andreas>
Component: Build tools: QMakeAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 3.0.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Andreas Pietzowski 2004-02-27 12:22:18 UTC
Version:           3.0.1 (using KDE 3.2.0, SuSE)
Compiler:          gcc version 3.3 20030226 (prerelease) (SuSE Linux)
OS:          Linux (i686) release 2.4.20-4GB

Hi,

I reported this bug first to someone from Trolltech because my software doesn't compile under Windows without changing the pro-file for Windows. 

The problem is when I tell KDevelop that I have an additional Libraray-Path to use (lets say ../../lib) then KDevelop adds this line in the pro-file:

QMAKE_LIBDIR = ../../lib

But this produces errors under windows when using qmake because as told from Trolltech QMAKE_LIBDIR should only used internally in the QT-Libs. Andy from TT told me that I have to use 

LIBS += ../../lib

instead, where also the "-lmylib"-things are stored.

So it would be nice to see this fixed soon because KDevelop really kicks ass when developing with Qt. But I really need it working platform-independent...

Thanks a lot
Pietz
Comment 1 Amilcar do Carmo Lucas 2004-02-27 12:31:17 UTC
I think this is a dupe.
Comment 2 Andreas Pakulat 2006-11-20 22:27:11 UTC
Fixd in SVN.