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. Compile qt w/o examples 5.3
Qt 6.11 is out! See what's new in the release blog

Compile qt w/o examples 5.3

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 933 Views 1 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.
  • J Offline
    J Offline
    jocala
    wrote on last edited by
    #1

    Compile qt w/o examples, is there a way with 5.3? I found this:

    https://qt-project.org/wiki/How_to_prevent_Qt_from_compiling_code_examples

    But it does not seem to work for 5.3. I'm working in both OS X and Windows.

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      [quote author="jocala" date="1402091702"]Compile qt w/o examples, is there a way with 5.3? I found this:

      https://qt-project.org/wiki/How_to_prevent_Qt_from_compiling_code_examples

      But it does not seem to work for 5.3. I'm working in both OS X and Windows.[/quote]That link is for Qt 4. For Qt 5, see http://qt-project.org/wiki/Building_Qt_5_from_Git

      The flag to disable examples in configure is
      @
      -nomake examples
      @

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by
        #3

        You can also skip running tests:
        @
        -nomake tests
        @

        And you can skip any Qt module (repo) using -skip:
        @
        -skip webkit -skip qtquick1
        @

        (Z(:^

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jocala
          wrote on last edited by
          #4

          Very valuable info, thanks!

          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