Custom build scripts
-
wrote on 29 Sept 2013, 12:10 last edited by
Hi,
How can we write our own build scripts? I don't want to compile on my windows machine, instead I want to connect to target machine(linux) and compile [have my compiler there!] Please provide me steps or any link
[ Google didn't help me from 5days :( ] -
Hi and welcome to devnet,
What is your current setup ? You write your Qt code on a windows machine and want to build your project on a linux computer ?
-
wrote on 30 Sept 2013, 03:41 last edited by
Thank you. Yes, I'm mapping my linux disk to Windows and open the code in QT and if I say build, it should connect to linux machine and build there (via my internal script).
-
How do you test it then ?
You should rather setup some desktop remote control like VNC and do everything directly on your linux machine.
-
wrote on 30 Sept 2013, 08:47 last edited by
I will just build, and create rpm package to test on servers ( it is not stand alone application).
Is there any way? Currently we are using vi editors via putty, I wanted to use QT in my local desktop which I feel comfortable with :)
-
My proposition still is valid, you have QtCreator for linux that is also available.
You could try to create a custom build step that will execute your script. Other than that I must say I don't see how you could do that. Don't forget one thing: the line endings are not the same on Windows and Linux, you might have to do some adjustment to not "pollute" the code.
-
wrote on 30 Sept 2013, 14:46 last edited by
in eclipse there is a way to execute a batch script when we say "build" on a project.
I'm just finding the same option to do so. If I have a way to achieve this, then I'll do the rest in batch script :)
-
That's what I suggested, in the Project pane there's Build Steps, you could try with that
-
wrote on 1 Oct 2013, 05:22 last edited by
Ok I will try experimenting that, thanks.
1/9