[Development] Help! configure won't configure on Windows

Thiago Macieira thiago.macieira at intel.com
Fri Sep 16 03:33:24 CEST 2016

On quinta-feira, 15 de setembro de 2016 18:22:14 PDT Thiago Macieira wrote:
> On quinta-feira, 15 de setembro de 2016 18:16:08 PDT Thiago Macieira wrote:
> > Then I'm back at the prompt. There was no configuration. There is no
> > mkspecs/ qconfig.pri and no mkspecs/qmodule.pri. Trying to compile
> > produces
> > error. I can't figure out *what* should be running the configure tests,
> > where they are called from, much less why nothing is happening.
> Now this is happening on Linux too:

Ok, just to be sure, I've nuked EVERYTHING from another build and it also 

$ ls -a
.  ..  config.opt
$ $srcdir/configure -redo

This is the Qt Open Source Edition.

You are licensed to use this software under the terms of
the GNU Lesser General Public License (LGPL) versions 3.
You are also licensed to use this software under the terms of
the GNU General Public License (GPL) versions 2.

You have already accepted the terms of the Open Source license.

Preparing build tree...
<srcbase> = /home/tjmaciei/src/qt/qt5/qtbase 
<outbase> = /home/tjmaciei/obj/qt/qt5-clang/qtbase 
[syncqt runs]
Creating qmake...
Info: creating cache file /home/tjmaciei/obj/qt/qt5-clang/qtbase/.qmake.cache

Qt is now configured for building. Just run 'gmake'.
Once everything is built, Qt is installed.
You should not run 'gmake install'.

Prior to reconfiguration, make sure you remove any leftovers from
the previous build.
$ gmake
cd src/ && ( test -e Makefile || /home/tjmaciei/obj/qt/qt5-clang/qtbase/bin/
qmake -o Makefile /home/tjmaciei/src/qt/qt5/qtbase/src/src.pro -qtconf /home/
tjmaciei/obj/qt/qt5-clang/qtbase/bin/qt.conf -- -prefix /home/tjmaciei/obj/qt/
qt5-clang/qtbase -opensource -confirm-license -developer-build -dbus -system-
libjpeg -system-libpng -system-sqlite -reduce-relocations -xcb -pch -platform 
linux-clang-optimised -journald -dbus-runtime -qtlibinfix .t -nomake tests -
nomake examples -release -recheck ) && gmake -f Makefile 
cd qmake/ && ( test -e Makefile.qmake-aux || /home/tjmaciei/obj/qt/qt5-clang/
qtbase/bin/qmake -o Makefile.qmake-aux /home/tjmaciei/src/qt/qt5/qtbase/qmake/
qmake-aux.pro -qtconf /home/tjmaciei/obj/qt/qt5-clang/qtbase/bin/qt.conf -- -
prefix /home/tjmaciei/obj/qt/qt5-clang/qtbase -opensource -confirm-license -
developer-build -dbus -system-libjpeg -system-libpng -system-sqlite -reduce-
relocations -xcb -pch -platform linux-clang-optimised -journald -dbus-runtime 
-qtlibinfix .t -nomake tests -nomake examples -release -recheck ) && gmake -f 
Project ERROR: Could not find feature system-zlib.
gmake: *** [Makefile:46: sub-src-make_first] Error 3
gmake: ** Waiting for unfinished jobs....
gmake[1]: Entering directory '/home/tjmaciei/obj/qt/qt5-clang/qtbase/qmake'
gmake[1]: Nothing to be done for 'first'.
gmake[1]: Leaving directory '/home/tjmaciei/obj/qt/qt5-clang/qtbase/qmake'
$ ls -aF . mkspecs 
./   bin/        config.tests/  Makefile  qmake/        src/
../  config.opt  include/       mkspecs/  .qmake.cache

./  ../  modules/  qdevice.pri  qfeatures.pri  qhost.pri
$ cat config.opt

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

More information about the Development mailing list