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

List:       kdevelop-bugs
Subject:    [Bug 158722] New: TARGET variable in Qt4 QMake based projects is not
From:       Lisandro "Damián" Nicanor "Pérez" Meyer <perezmeyer () gmail ! com>
Date:       2008-03-03 15:20:53
Message-ID: 20080303162052.158722.perezmeyer () gmail ! 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=158722         
           Summary: TARGET variable in Qt4 QMake based projects is not well
                    set for windows
           Product: kdevelop
           Version: 3.5.0
          Platform: Debian testing
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: perezmeyer gmail com


Version:           3.5.0 (using KDE 3.5.8)
Installed from:    Debian testing/unstable Packages
Compiler:          gcc 4.3 
OS:                Linux

The problem is very simple. The TARGET variable in Qt 4 QMake based programs created \
in the .pro inside src/ has the full path to the binary, for example:

TARGET = ../bin/myproject

This works fine for Linux, but if you want to compile in Windows using MinGW, the \
executable is created in src/bin :-(

The workaround is quite easy. I modified the .pro to be:
TARGET = myproject
DESTDIR = ../bin

This works fine in Linux and Windows.

_______________________________________________
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