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. [SOLVED] How to configure Qt5, or more specific how to enable XSLT and LIBXML2
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] How to configure Qt5, or more specific how to enable XSLT and LIBXML2

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 1 Posters 1.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.
  • M Offline
    M Offline
    miketopen
    wrote on last edited by
    #1

    Hi,

    I am able to compile Qt 5.0.1 on my osx Mountain Lion, but only if I modifying one of the pro files for Webkit

    Therefore I need your help to circumvent this hack and use the configure script in the right way.

    And here are the details:

    In qt5/qtwebkit/Source/WebCore/WebCore.pri you can find this construction

    @
    enable?(XSLT) {
    use?(LIBXML2) {
    mac {
    INCLUDEPATH += /usr/include/libxml2
    LIBS += -lxml2 -lxslt
    } else {
    PKGCONFIG += libxslt
    }
    } else {
    QT *= xmlpatterns
    }
    }
    @

    What I needed to do, for being able to compile, is to set or remove the "enable" and "use" construction. However, what I do not know is: How can I do this from the configure script?

    Thanks for your help !

    Mike
    

    p.s. I asked the question already in the WebKit "subforum":http://qt-project.org/forums/viewthread/24678/ but didn't get response. I guess it was not so clear what I wanted...Hope it is fine to ask it again here.

    www.topen.org

    1 Reply Last reply
    0
    • M Offline
      M Offline
      miketopen
      wrote on last edited by
      #2

      After digging deeper in build process of Qt 5, I was able to solve the problem. It was the missing library libxslt, which caused the problem. After installing it with macports, the problem vanished. :-)

      I also suggested to change the requirement section "here":http://qt-project.org/wiki/Building_Qt_5_from_Git .

      Bests

      Mike

      www.topen.org

      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