[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 128490] New: qmake file corrupted -> Makefile also corrupted
From: s.schmidt () lboro ! ac ! uk
Date: 2006-06-02 11:45:38
Message-ID: 20060602134536.128490.s.schmidt () lboro ! ac ! uk
[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=128490
Summary: qmake file corrupted -> Makefile also corrupted
Product: kdevelop
Version: 3.3.2
Platform: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-bugs kdevelop org
ReportedBy: s.schmidt lboro ac uk
Version: 3.3.2 (using KDE 3.5.2 Level "a" , SUSE 10.1 UNSUPPORTED)
Compiler: Target: x86_64-suse-linux
OS: Linux (x86_64) release \
2.6.16.16-SL101_BRANCH_20060529110910-default
When I change the compiler options in the qmake manager (in build options) I click on \
'execute qmake' to adapt the changes in the pro files. Unfortunately the pro files \
are corrupted:
# Diese Datei wurde mit dem qmake-Manager von KDevelop erstellt.
# -------------------------------------------
# Unterordner relativ zum Projektordner: ./src
# Das Target ist eine Anwendung: ../bin/resonanz12int
mfpmath = sse
march = k8
mainWidget.ui.target = mainWidget.ui
mainWidget.ui.commands = $$IDL_COMPILER
findRatW.ui.target = findRatW.ui
findRatW.ui.commands = $$IDL_COMPILER
QMAKE_CXXFLAGS_RELEASE += -O3 \
-g0 \
QMAKE_CXXFLAGS_DEBUG += -O0 \
-g3 \
TARGET = ../bin/resonanz12int
CONFIG += release \
warn_on \
qt \
thread
TEMPLATE = app
First of all, the changes are not incorporated as it should look like this
QMAKE_CXXFLAGS_RELEASE += -O3 \
-g0 \
-march=athlon64 \
-frename-registers \
-funroll-loops
QMAKE_CXXFLAGS_DEBUG += -O0 \
-g3
Second the additional backslash \ at the end causes the makefile to be coccupted as \
well:
#############################################################################
# Makefile for building: src
# Generated by qmake (1.07a) (Qt 3.3.5) on: Fri Jun 2 12:43:51 2006
# Project: src.pro
# Template: app
# Command: $(QMAKE) -o Makefile src.pro
#############################################################################
####### Compiler, tools and options
CC = gcc
CXX = g++
LEX = flex
YACC = yacc
CFLAGS = -pipe -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g \
-DUSE_LIB64_PATHES -fno-strict-aliasing -Wall -W -O2 -fmessage-length=0 -Wall \
-D_FORTIFY_SOURCE=2 -g -DUSE_LIB64_PATHES -fno-strict-aliasing -D_REENTRANT \
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT CXXFLAGS = -pipe \
-O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -DUSE_LIB64_PATHES \
-fno-strict-aliasing -Wall -W -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g \
-DUSE_LIB64_PATHES -fno-strict-aliasing -O3 -g0 QMAKE_CXXFLAGS_DEBUG += -O0 -g3 \
TARGET = ../bin/resonanz12int -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT \
-DQT_SHARED -DQT_TABLET_SUPPORT
Note the addition of "TARGET = ../bin/resonanz12int" in QMAKE_CXXFLAGS_DEBUG.
If I remove the \, the makefile is OK.
Kind regards,
Sven Schmidt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic