Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Unknown option -no-webkit?
QtWS25 Last Chance

Unknown option -no-webkit?

Scheduled Pinned Locked Moved Installation and Deployment
14 Posts 6 Posters 15.6k Views
  • 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.
  • ? This user is from outside of this forum
    ? This user is from outside of this forum
    Guest
    wrote on last edited by
    #1

    Is there a reason I get "Unknown option -no-webkit" even thou -no-webkit is listed in the configure options when trying to build Qt5?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      anselmolsm
      wrote on last edited by
      #2

      The "-no-webkit" option was removed from configure, maybe the configure --help still need to be updated.

      If you initialized the repo with the qtwebkit submodule, "cd qtwebkit && make" might work.

      Anselmo L. S. Melo (anselmolsm)

      1 Reply Last reply
      0
      • ? This user is from outside of this forum
        ? This user is from outside of this forum
        Guest
        wrote on last edited by
        #3

        So the option to omit the N1 build breaker was removed? That doesn't sound very smart...

        1 Reply Last reply
        0
        • A Offline
          A Offline
          anselmolsm
          wrote on last edited by
          #4

          If you do not want to build QtWebKit at all, use the --no-webkit argument of the init-repository script and you are done.

          Anselmo L. S. Melo (anselmolsm)

          1 Reply Last reply
          0
          • ? This user is from outside of this forum
            ? This user is from outside of this forum
            Guest
            wrote on last edited by
            #5

            Ok, will give it another go, thanks a lot.

            1 Reply Last reply
            0
            • ? This user is from outside of this forum
              ? This user is from outside of this forum
              Guest
              wrote on last edited by
              #6

              never mind that... found the problem

              1 Reply Last reply
              0
              • A Offline
                A Offline
                anselmolsm
                wrote on last edited by
                #7

                What was the problem?

                Let's help our friends from the future, when their favorite search engine brings them to this thread =P

                Anselmo L. S. Melo (anselmolsm)

                1 Reply Last reply
                0
                • ? This user is from outside of this forum
                  ? This user is from outside of this forum
                  Guest
                  wrote on last edited by
                  #8

                  The problem, for some reason was that the double dash is displayed as one single, longer dash. When I copied and pasted it into the dos prompt it didn't work, later I opened the perl script and saw it is two dashes and used that instead and that did the trick. So the option is really:

                  @--no-webkit@

                  1 Reply Last reply
                  0
                  • P Offline
                    P Offline
                    peteb6
                    wrote on last edited by
                    #9

                    init-repository script what is this?
                    unable to make ./configure -no-webkit work.
                    How to turn off webkit?

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

                      [quote author="peteb6" date="1368537661"]init-repository script what is this?
                      unable to make ./configure -no-webkit work.
                      How to turn off webkit?[/quote]init-repository is a Perl script for automatically downloading and configuring Qt's git repositiories. See http://qt-project.org/wiki/Building-Qt-5-from-Git . The posts above say that the solution is to use a double-dash.

                      Edit: That's for init-repository, not configure

                      Or, you can just delete the "webkit" folder before you run configure.

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

                      1 Reply Last reply
                      0
                      • P Offline
                        P Offline
                        peteb6
                        wrote on last edited by
                        #11

                        double dash doesn't work.

                        I've tried deleting folder will post later if that worked

                        1 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          Sidii
                          wrote on last edited by
                          #12

                          @-skip qtwebkit@

                          works for QT 5.2.1

                          1 Reply Last reply
                          0
                          • P Offline
                            P Offline
                            pip010
                            wrote on last edited by
                            #13

                            neither :

                            perl init-repository --no-webkit
                            

                            nor :

                            perl init-repository -skip qtwebkit
                            

                            worked :(
                            however

                            perl init-repository --module-subset=default,-qtwebkit,-qtwebkit-examples
                            

                            seems it did the job, webkit is no more during git submodule init,
                            someone need to update the docs since they are wrong !!! someone??

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

                              Hi,

                              What documentation are you talking about ?

                              Please note that this thread is 5 years old, a lot happened in between including removal of the QtWebKit from the pre-built binaries after deprecation.

                              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
                              0

                              • Login

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