[Development] Remember to rebuild qmake in dev

Thiago Macieira thiago.macieira at intel.com
Thu Jul 21 23:54:17 CEST 2016


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

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




More information about the Development mailing list