Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Building statically on Windows - "ERROR: Unknown command line option '-skip'"



  • I ran into this trying to shadow build, saw some rare occurrence of this when not at the correct level in the folder hierarchy and tried from the base Qt directory and the actual source directory - same result.

    On Windows, but not not macOS or Linux, configure throws this error.

    This is the configure line:

    configure -nomake examples -nomake tests -skip qtwebengine -opensource -opengl dynamic
    

    The tools build fine, but the configuration throws:

    "ERROR: Unknown command line option '-skip'"
    

    This is Qt 5.11.1 with source obtained via the online installer (seems to be the only way to obtain it without using the git repos.)

    One thing I noticed is that configure is inside of an already existing qtbase directory after the installer is done. In the past this configure.bat has been in the parent directory.

    Is that normal now? It seems wrong.,


  • Lifetime Qt Champion

    Hi,

    That's surprising but since you only want to avoid building QtWebEngine, you can just move the folder out of the source tree and you should be good to go.



  • Can't believe I didn't think of that... Thanks! lol


Log in to reply