Well adding a custom 'clean' build step is not really a good solution
because a 'clean' step shouldn't be in my build steps.

Now, I every time a small change is made the whole project is build
because everything was cleaned in the previous build beating the whole
point of make. Not to mention that when I say 'clean project' in the
drop down menu, it still says: "No Makefile found, assuming project is
clean."

I feel, I didn't quite understand your solution. Is this what you meant?

Mentar

On Mon, Sep 28, 2009 at 3:00 AM,  <[email protected]> wrote:
> Send Qt-creator mailing list submissions to
>        [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.trolltech.com/mailman/listinfo/qt-creator
> or, via email, send a message with subject or body 'help' to
>        [email protected]
>
> You can reach the person managing the list at
>        [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Qt-creator digest..."
>
>
> Today's Topics:
>
>   1. Re: Cleaning with custom makefile (Eike Ziller)
>   2. Re: Working with custom Makefiles (Eike Ziller)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 28 Sep 2009 09:55:07 +0200
> From: Eike Ziller <[email protected]>
> Subject: Re: [Qt-creator] Cleaning with custom makefile
> To: "[email protected]" <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
>
> On Sep 26, 2009, at 3:49 AM, ext Mentar Mahmudi wrote:
>
>> What is the difference between the QMAKE_MAKEFILE and MAKEFILE
>> variable? So far they have acted the same way.
>>
>> When I set any of these variables, I could build in release or debug
>> mode by adding -f 'mymakefile' in the 'additional make arguments' in
>> the project options.
>>
>> However, when I try to clean the project it says: "No Makefile found,
>> assuming project is clean". How do I tell Qt Creator about my custom
>> makefile? I don't think there is any problem with the makefile itself
>> because when I say: $ make -f mymakefile clean, it does the job
>> neatly.
>
> You need to edit the "Clean" build steps as well (in projects mode).
>
> Best regards,
> --
> Eike Ziller
> Software Engineer
> Nokia, Qt Development Frameworks
> Phone  +49 (0)30 6392 3255
> Fax    +49 (0)30 6392 3256
> E-mail [email protected]
>
>
>
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 28 Sep 2009 10:44:08 +0200
> From: Eike Ziller <[email protected]>
> Subject: Re: [Qt-creator] Working with custom Makefiles
> To: "[email protected]" <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed;
>        delsp=yes
>
> Hi,
>
> On Sep 25, 2009, at 4:58 PM, ext Psycho Man wrote:
>
>> Um, nope. The "Build issues" window is empty. Maybe if I follow the
>> custom build process that Sasken suggested, the compile errors might
>> become clickable perhaps?
>
> Note that there's a problem in Qt Creator at the moment if your build/
> compiler outputs messages in a different language than english. (Qt
> Creator looks for lines containing "error" or "warning")
>
> ++ Eike
>
>> From: "Kuiper, Luuk" <[email protected]>
>> To: [email protected]
>> Sent: Friday, September 25, 2009 4:03:41 AM
>> Subject: Re: [Qt-creator] Working with custom Makefiles
>>
>> 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] Tel. +358 358 40
>> 539 3984
>> SW Engineer
>>
>> Sasken Finland Oy
>> Insin??rinkatu 41
>> FI-33720 Tampere
>> www.sasken.com 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
>>
>> <ATT00001..txt>
>
> --
> Eike Ziller
> Software Engineer
> Nokia, Qt Development Frameworks
> Phone  +49 (0)30 6392 3255
> Fax    +49 (0)30 6392 3256
> E-mail [email protected]
>
>
>
>
>
>
>
>
> ------------------------------
>
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
>
> End of Qt-creator Digest, Vol 12, Issue 62
> ******************************************
>



-- 
Mentar Mahmudi

PhD Candidate
Electrical Engineering and Computer Science
University of California, Merced
http://graphics.ucmerced.edu

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to