[Qt-creator] Building with a Custom Process Step

Eike Ziller eike.ziller at nokia.com
Wed Feb 24 17:03:28 CET 2010


On Feb 23, 2010, at 9:08 AM, ext Tomás Ortí wrote:

> Yes, Eike.
> I tried different things, like setting "chmod 777 test.bash", with no luck.
> Feel free to ask me any test. I would like to have this working.

Well, I have no idea, it works for me, both with Qt Creator 1.3.1 and current dev snapshot.
> Exited with code 255.
That means that the "exit code" of your test.bash is 255. Values != 0 are usually for indicating an error in the script, that's why Qt Creator stops with an error.
>From the bash man page:
"Bash's exit  status  is the exit status of the last command executed in the script."

++ Eike

> Thank you,
> Tomas.
> 
> On Feb 22, 2010, at 3:27 PM, ext Tomás Ortí wrote:
> 
> >
>  Hi.
> 
> >
>  I'm trying to build a project from QtCreator, with a "Custom Process Step".
> 
> >
>  I want QtCreator to execute a script before the "make" execution.
> 
> >
>  When I click on Build All, I get this Compile Output:
> 
> >
>  
> 
> >
>  Running build steps for project mser...
> 
> >
>  Starting: /home/notroot/test.bash 
> 
> >
>  Exited with code 255.
> 
> >
>  Error while building project mser
> 
> >
>  When executing build step 'Custom Process Step'
> 
> >
>  
> 
> >
>  Currently the test.bash only has an echo "Compiling..."
> 
> >
>  
> 
> >
>  How can I achieve that?
> 
> 
> Just to make sure: did you make the test.bash executable? (i.e. can you run it from a terminal)
> 
> Br,
> -- 
> Eike Ziller
> Software Engineer
> Nokia, Qt Development Frameworks
> 
> Nokia gate5 GmbH
> Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
> Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
> Umsatzsteueridentifikationsnummer: DE 812 845 193
> Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori
> 
> <ATT00001..txt>

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori







More information about the Qt-creator-old mailing list