Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unknown option -no-webkit?

    Installation and Deployment
    6
    14
    14646
    Loading More Posts
    • 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.
    • ?
      Guest last edited by

      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 Reply Quote 0
      • A
        anselmolsm last edited by

        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 Reply Quote 0
        • ?
          Guest last edited by

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

          1 Reply Last reply Reply Quote 0
          • A
            anselmolsm last edited by

            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 Reply Quote 0
            • ?
              Guest last edited by

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

              1 Reply Last reply Reply Quote 0
              • ?
                Guest last edited by

                never mind that... found the problem

                1 Reply Last reply Reply Quote 0
                • A
                  anselmolsm last edited by

                  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 Reply Quote 0
                  • ?
                    Guest last edited by

                    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 Reply Quote 0
                    • P
                      peteb6 last edited by

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

                      1 Reply Last reply Reply Quote 0
                      • JKSH
                        JKSH Moderators last edited by

                        [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 Reply Quote 0
                        • P
                          peteb6 last edited by

                          double dash doesn't work.

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

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sidii last edited by

                            @-skip qtwebkit@

                            works for QT 5.2.1

                            1 Reply Last reply Reply Quote 0
                            • P
                              pip010 last edited by

                              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 Reply Quote 0
                              • SGaist
                                SGaist Lifetime Qt Champion last edited by SGaist

                                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 Reply Quote 0
                                • First post
                                  Last post