Ilkaa Wrote:
 

> Additionally, I hacked my Makefile so it can be invoked directly by qt 
> (without the custom build script i.e.), but then compilation errors are 
> not clickable links in the "compile output" window.

> Any help is appreciated.

> Best,
> P
 
Look in the 'Build issues' window instead. There you click on the error and 
jump to the causing source code.
 
Luuk Kuiper

 


________________________________

From: [email protected] 
[mailto:[email protected]] On Behalf Of Ilkka Laukkanen
Sent: 25 September 2009 09:58
To: [email protected]
Subject: Re: [Qt-creator] Working with custom Makefiles



Maybe you'd be best off writing a custom qt-creator-makefile.mk that would just 
call your build script and pass the parameters. Something like

 

%:

<tab>custom-build-script.sh $@

 

oughta do.

 

-- 
Ilkka Laukkanen        [email protected] 
<mailto:[email protected]>  Tel. +358 358 40 539 3984
SW Engineer

Sasken Finland Oy
Insinöörinkatu 41
FI-33720 Tampere
www.sasken.com <http://www.sasken.com/>  www.sasken.fi <http://www.sasken.fi/> 

 

From: [email protected] 
[mailto:[email protected]] On Behalf Of Psycho Man
Sent: 25. syyskuuta 2009 4:28
To: [email protected]
Subject: [Qt-creator] Working with custom Makefiles

 

Hello,

I am a new user. Would appreciate some help with setting up a qt project for an 
existing codebase that uses a build script in essence. The build shell script 
uses some environment variables to determine what to do and then invokes GNU 
make with the appropriate settings. The custom build script is also used to run 
a test suite that I would like to be able to debug.

I was able to import my files into the custom makefile project, but could not 
find a way to:
1. Get a list of the environment variables (like the one that is visible on a 
qt based project)
2. Be able to invoke my build script for: building full project, cleaning full 
project, running test targets.

Additionally, I hacked my Makefile so it can be invoked directly by qt (without 
the custom build script i.e.), but then compilation errors are not clickable 
links in the "compile output" window.

Any help is appreciated.

Best,
P

 

SASKEN BUSINESS DISCLAIMER
-------------------------
This message may contain confidential, proprietary or legally privileged 
information. In 
case you are not the original intended Recipient of the message, you must not, 
directly or 
indirectly, use, Disclose, distribute, print, or copy any part of this message 
and you are 
requested to delete it and inform the sender. Any views expressed in this 
message are 
those of the individual sender unless otherwise stated. Nothing contained in 
this message 
shall be construed as an offer or acceptance of any offer by Sasken 
Communication 
Technologies Limited ("Sasken") unless sent with that express intent and with 
due 
authority of Sasken. Sasken has taken enough precautions to prevent the spread 
of 
viruses. However the company accepts no liability for any damage caused by any 
virus 
transmitted by this email
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to