[Qt-interest] why i need manually add QtWebKit/QWebFrame after running qmake
Thiago Macieira
thiago at kde.org
Sun May 2 23:29:44 CEST 2010
Em Domingo 2. Maio 2010, às 22.37.59, Meir Yanovich escreveu:
> Hi
> i have 2 questions about qmake :
> 1. i have simple QmainWindow that contains QWebKit
> each time im running qmake i need to add manually to the list of headers
> the #include <QtWebKit/QWebFrame>
> i need it because im using
>
> :ui.webView->page()->mainFrame()->evaluateJavaScript(code);
This is not a question.
> 2.also i know how to add external libs in my *pro file using the LIBS
> variable
> but how i set the path to the lib's ?
LIBS += -Lpath/to/the/lib -llibname
That's a capital L and a lowercase L.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100502/ad4d9b81/attachment.bin
More information about the Qt-interest-old
mailing list