QMake include path of a framework
-
Hi,
IIRC, adding
LIBS += -framework your_framework_name
should do the job. -
Then if it's for a demo, I'd add the path to the headers in between.
But... A test framework for a demo ?
-
@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. -
I may have misunderstood your current situation.
Is it a problem with building QtWebKit directly ?
-
@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.
-
Can you share your .pro file ?
-
@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
-
@Konstantin-Tokarev but I have to install the Qt5WebKit? Can I just have it outside of Qt, what are consequences of setting QMAKEPATH?