[Development] Remember to rebuild qmake in dev

Oswald Buddenhagen oswald.buddenhagen at qt.io
Fri Jul 22 09:25:11 CEST 2016

On Thu, Jul 21, 2016 at 02:54:17PM -0700, Thiago Macieira wrote:
> On quinta-feira, 21 de julho de 2016 20:23:19 PDT Oswald Buddenhagen wrote:
> > On Thu, Jul 21, 2016 at 09:27:58AM -0700, Thiago Macieira wrote:
> > > moc.prf with MSVC now depends on a side feature in qmake to help support
> > > generating the moc_predefs.h file. If you're using MSVC, please remember
> > > to
> > > recompile qmake soon.
> > 
> > a much better recommendation is "run config.status (or configure -redo
> > on windows) *every time* after pulling". this ensures that qmake is
> configure -redo on Windows doesn't work at all on a shadow build:
> On one run:
> Unable to detect the platform from environment. Use -platform command line
> argument or set the QMAKESPEC environment variable and run configure again.
> See the README file for a list of supported operating systems and compilers.
> On another:
> Invalid option "win32-icc" for -platform.
> See the README file for a list of supported operating systems and compilers
> To redo the configuration, I have to use:
> cmd \ /c $QTSRCDIR/configure -redo
not sure what the cmd stuff is supposed to be good for, but it's correct
that you *always* need to run the configure from the source dir (i.e.,
the .bat file if you're building from git).

(which is why i'm actually considering generating a config.status.bat
file on windows.)

More information about the Development mailing list