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. Exclude a module from compile in Qt5
Forum Updated to NodeBB v4.3 + New Features

Exclude a module from compile in Qt5

Scheduled Pinned Locked Moved General and Desktop
7 Posts 3 Posters 3.9k 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.
  • S Offline
    S Offline
    soroush
    wrote on last edited by
    #1

    How can I exclude QtWebkit from compile set? I did download Qt5 source tarball (not git)

    1 Reply Last reply
    0
    • B Offline
      B Offline
      b1gsnak3
      wrote on last edited by
      #2

      QT -= webkit in the pro file.

      L.E. Missunderstood the question, I thought you wanted to exclude the webkit from a active project not from the compiling of qt :) This I do not know how to do it

      1 Reply Last reply
      0
      • S Offline
        S Offline
        soroush
        wrote on last edited by
        #3

        Which pro file? did you mean qtdsk.pro?

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

          Hi soroush,

          Delete/rename the qtwebkit folder before you run configure and make

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

          1 Reply Last reply
          0
          • S Offline
            S Offline
            soroush
            wrote on last edited by
            #5

            [quote author="JKSH" date="1356920119"]Hi soroush,

            Delete/rename the qtwebkit folder before you run configure and make[/quote]

            Doesn't that cause failure on compiling Qt Assistant? Sorry for asking before test but compilation is costly for me!

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

              [quote author="soroush" date="1356946816"]Doesn't that cause failure on compiling Qt Assistant? Sorry for asking before test but compilation is costly for me! [/quote]No need to apologize, I think it's a good idea that you confirm details before starting :)

              I haven't built Qt Assistant myself before so I can't say for sure... but according to https://bbs.archlinux.org/viewtopic.php?id=139067 Qt Assistant will still compile, but will be missing features provided by WebKit.

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

              1 Reply Last reply
              0
              • S Offline
                S Offline
                soroush
                wrote on last edited by
                #7

                Before renaming, I changed contents of Makefile in qtwebkit directory and deleted everything leaving only three empty targets: release, debug and install. Then when compiling Qt Assistant, script failed at trying to find -lQtWebkit... In second try, seems to work fine

                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