⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)

Qt build failing with 'qtbasetools' not found

  • I'm trying to build Qt and when I run the configure step, I get an error:

    @[C:\qtbld\qt5]configure -developer-build -opensource -nomake examples -nomake tests -confirm-license -skip qtwebkit-examples

    • cd qtbase
    • C:\qtbld\qt5\qtbase\configure.bat -top-level -developer-build -opensource -nomake examples -nomake tests -confirm-license -skip qtwebkit-examples
      Please wait while bootstrapping configure ...
      <srcbase> = C:/qtbld/qt5/qtbase
      <outbase> = C:/qtbld/qt5/qtbase

    Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
    Copyright (C) Microsoft Corporation. All rights reserved.

    NMAKE : fatal error U1073: don't know how to make 'C:\qtbld\qt5\qtbasetools\configure\main.cpp'

    There is, in fact, no qtbasetools folder. There is a qtbase.

    Yes, I have run perl init-repository successfully.

    Any ideas?

  • I don't know what happened here, but it must be


  • Moderators

    You don't need lines #2 and #3 -- I'm guessing that those are the source of your problem. Just call configure.bat and nmake in C:\qtbld\qt5

    (You'll need to clean your source tree before re-configuring + building)

  • My bad - I was using JPSoft's Take Command, a cmd.exe replacement (a really good one, btw) and it seems the fancy configure script confuses it in some way. Using the Win7.1 SDK cmd script works fine.

Log in to reply