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. QMake include path of a framework
Forum Updated to NodeBB v4.3 + New Features

QMake include path of a framework

Scheduled Pinned Locked Moved Unsolved General and Desktop
qmakeos x 10.11framework
11 Posts 3 Posters 3.8k Views 3 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    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
    0
    • SGaistS SGaist

      Hi,

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

      P Offline
      P Offline
      Peppy
      wrote on last edited by Peppy
      #3

      @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
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #4

        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
        0
        • SGaistS SGaist

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

          But... A test framework for a demo ?

          P Offline
          P Offline
          Peppy
          wrote on last edited by
          #5

          @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
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #6

            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
            0
            • SGaistS SGaist

              I may have misunderstood your current situation.

              Is it a problem with building QtWebKit directly ?

              P Offline
              P Offline
              Peppy
              wrote on last edited by
              #7

              @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
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #8

                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
                0
                • P Peppy

                  @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 Offline
                  K Offline
                  Konstantin Tokarev
                  wrote on last edited by
                  #9

                  @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
                  1
                  • K Konstantin Tokarev

                    @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 Offline
                    P Offline
                    Peppy
                    wrote on last edited by
                    #10

                    @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
                    0
                    • P Peppy

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

                      K Offline
                      K Offline
                      Konstantin Tokarev
                      wrote on last edited by
                      #11

                      @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
                      0

                      • Login

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