Tim Hutchison
Tim Hutchison

Reputation: 3633

What is the configure command and how can I install & use it?

I am following the tutorial at http://qt-project.org/doc/qt-4.8/deployment-windows.html to deploy a qt application and I am trying to run the configure command in the first step. My system cannot seem to find the command. I have run the command from windows command prompt, git bash, and msys. I don't really understand what the configure command does or where it comes from. Can anyone explain what it does & where I can get it?

Upvotes: 5

Views: 16732

Answers (3)

epicTreeStick
epicTreeStick

Reputation: 21

In qt5 under Windows 10, I get this error when running configure:

configure.bat not found. Did you forget to run "init-repository"? 

init-repository is a perl script in the repo. You can run it thusly:

perl init-repository

Then you should be able to run the configure script as per the instructions. However, I am following the github readme, and I am from the future.

Upvotes: 0

MichaU
MichaU

Reputation: 11

I have a shortcut to command window under:

Start > All Programs > Qt 5.3.0 > mingw > Qt 5.3.0 for Desktop

It starts Windows command window with parameters:

C:\Windows\System32\cmd.exe /A /Q /K D:\Programowanie\Qt5.3\5.3\mingw482_32\bin\qtenv2.bat 

Upvotes: 1

merlin2011
merlin2011

Reputation: 75535

configure is normally a (generated) shell script which is packaged in Unix-based applications and is used to detect certain machine settings and set up needed files for make to do its job.

Look for a configure.bat or a file called configure in the QT directory and run it.

Upvotes: 3

Related Questions