[Qt-interest] QT configure script -- asking for licensing information?

kent williams nkwmailinglists at gmail.com
Mon Mar 1 20:59:01 CET 2010


This has been driving me nuts.  We use a buildscript for our
applications that really is a 'one size fits all supported platforms'
script.  It is written in tcl -- which is the only requirement on any
platform to do a build.

It will download the source for all prerequisite packages, build them,
and then build our applications.

It has been really successful for us up to now, but adding Qt to the
list of packages that will get built and installed is causing me
problems, for one simple reason:
Qt demands that its configure script be run interactively to choose
and accept the license.

Now I understand the business reasons for this -- if I were a big
corporation with a bunch of lawyers on retainer, I'd do all sorts of
stupid sh*t they tell me to do too.  But this is driving me crazy,
because ideally this build script would get run overnight, and if
there's not a monkey sitting at a command prompt waiting to type "o"
and "yes", the configure script hangs.

What I want to know is if anyone has a way to auto-answer the
licensing questions, so our builds can be unattended? I tried using
tcl's "open" command to start the config script and then pipe
"o\nyes\n" to it, but it didn't work.



More information about the Qt-interest-old mailing list