Qt Forum

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

    Unsolved QMake include path of a framework

    General and Desktop
    qmake os x 10.11 framework
    3
    11
    2873
    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.
    • SGaist
      SGaist Lifetime Qt Champion last edited by

      Hi,

      IIRC, adding LIBS += -framework your_framework_name should do the job.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      P 1 Reply Last reply Reply Quote 0
      • P
        Peppy @SGaist last edited by Peppy

        @SGaist Nope, somehow it does not work that way. Strange.

        EDIT: It's not a system framework (i.e. AppKit) but a build of QtWebKit.

        1 Reply Last reply Reply Quote 0
        • SGaist
          SGaist Lifetime Qt Champion last edited by

          Then if it's for a demo, I'd add the path to the headers in between.

          But... A test framework for a demo ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          P 1 Reply Last reply Reply Quote 0
          • P
            Peppy @SGaist last edited by

            @SGaist said in QMake include path of a framework:

            Then if it's for a demo, I'd add the path to the headers in between.

            But... A test framework for a demo ?

            what? :D ... I've built QtWebKit and adding it with LIBS did not helped me ... because missing headers like <QtWebKit/qwebkitglobal.h> which can not be found, but <qwebkitglobal.h> finds... however I would have to redo all QtWebKit headers, which is just... too much.

            1 Reply Last reply Reply Quote 0
            • SGaist
              SGaist Lifetime Qt Champion last edited by

              I may have misunderstood your current situation.

              Is it a problem with building QtWebKit directly ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              P 1 Reply Last reply Reply Quote 0
              • P
                Peppy @SGaist last edited by

                @SGaist said in QMake include path of a framework:

                I may have misunderstood your current situation.

                Is it a problem with building QtWebKit directly ?

                I'm not building QtWebKit. I have QtWebKit and QtWebKit libraries/frameworks already built. I have problem with headers of those frameworks.

                K 1 Reply Last reply Reply Quote 0
                • SGaist
                  SGaist Lifetime Qt Champion last edited by

                  Can you share your .pro file ?

                  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
                  • K
                    Konstantin Tokarev @Peppy last edited by

                    @Peppy QT += webkitwidgets should do just the right thing. In case QtWebKit is installed outside Qt prefix QMAKEPATH needs to be set, see https://github.com/annulen/webkit/wiki/Using-QtWebKit-in-your-project#qmake

                    P 1 Reply Last reply Reply Quote 1
                    • P
                      Peppy @Konstantin Tokarev last edited by

                      @Konstantin-Tokarev but I have to install the Qt5WebKit? Can I just have it outside of Qt, what are consequences of setting QMAKEPATH?

                      K 1 Reply Last reply Reply Quote 0
                      • K
                        Konstantin Tokarev @Peppy last edited by

                        @Peppy Right now it just won't work without installation, however you can install it separately from Qt (just point QMAKEPATH to proper location)

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post