Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Question: How do I compile a .bat file using QT Creator?

More info: specifically, I am trying to install Windows Image Writer and the download only includes source files. The README.txt tells me to use QT Creator (I have just installed this for this purpose alone) to compile the file compile.bat and I have no clue on how to do this.

Can anybody help me?

share|improve this question
1  
QT creator has little to do with .bat files .bat file is an operating system script which you run in cmd.exe or command.com –  ZaB Apr 18 '12 at 21:41

2 Answers 2

up vote 1 down vote accepted

There may be more than one way to do this:

Bat2exe

This program will take your batch file and compile it.

Lots of options. I've used it for years when I've been attempting to hide an administrator password, or to keep someone from 'fixing' a script I've written.

Easy to use.

share|improve this answer

Is this the software you speak of? If so, you should follow the README.txt and just run the compile.bat file by double-cliking it or in a shell. You shouldn't even need to open QT Creator yourself at all.

README.txt:

...
Build Instructions:

Requirements:
1. MinGW
2. Qt for Windows SDK

Short Version:
1. Install the Qt Full SDK
2. Run compile.bat -OR- run qmake and then make in the src folder.
3. Compile.bat may be edited to change installation paths of MinGW and QT

...

Edit

Even better, you could download the binaries.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.