Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Building statically on Windows - "ERROR: Unknown command line option '-skip'"
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 1.0k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    chopper
    wrote on last edited by
    #1

    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.,

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • C Offline
        C Offline
        chopper
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved