Hi
I made a .so file include some header such as "khtml_part.h","dom_node.h" under KDE environment with Kdevelop.
now i want to use this .so file without KDE environment.
The problem is that program can't find the header "khtml_part.h" ..etc.
the path is not right.
how to set the path?
thx
error:
/*******************************
/home/cai/websearch/src/my_pst.h:27:24: error: khtml_part.h: No such file or directory
/home/cai/websearch/src/my_pst.h:45:21: error: qstring.h: No such file or directory
/home/cai/websearch/src/my_pst.h:46:18: error: qdir.h: No such file or directory
/home/cai/websearch/src/my_pst.h:49:26: error: dom/dom_node.h: No such file or directory
/home/cai/websearch/src/my_pst.h:50:25: error: dom/dom_doc.h: No such file or directory
/home/cai/websearch/src/my_pst.h:51:29: error: dom/dom_element.h: No such file or directory
/home/cai/websearch/src/my_pst.h:52:30: error: dom/html_element.h: No such file or directory
/home/cai/websearch/src/my_pst.h:53:31: error: dom/html_document.h: No such file or directory
/home/cai/websearch/src/my_pst.h:54:27: error: dom/html_misc.h: No such file or directory
/home/cai/websearch/src/my_pst.h:55:28: error: dom/dom_string.h: No such file or directory
/home/cai/websearch/src/my_pst.h:56:26: error: dom/dom_text.h: No such file or directory
/home/cai/websearch/src/my_pst.h:57:31: error: dom/dom_exception.h: No such file or directory
/home/cai/websearch/src/my_pst.h:58:29: error: dom/dom2_events.h: No such file or directory
/home/cai/websearch/src/my_pst.h:63:28: error: kdelibs_export.h: No such file or directory
/home/cai/websearch/src/my_pst.h:72: error: ‘DOM’ is not a namespace-name
/home/cai/websearch/src/my_pst.h:72: error: expected namespace-name before ‘;’ token
/home/cai/websearch/src/my_pst.h:77: error: ‘DOM’ has not been declared
/home/cai/websearch/src/my_pst.h:77: error: ISO C++ forbids declaration of ‘Node’ with no type
/home/cai/websearch/src/my_pst.h:77: error: expected ‘;’ before ‘node’
/home/cai/websearch/src/my_pst.h:83: error: ‘DOM’ was not declared in this scope
/home/cai/websearch/src/my_pst.h:83: error: template argument 1 is invalid
/home/cai/websearch/src/my_pst.h:83: error: template argument 2 is invalid
/home/cai/websearch/src/my_pst.h:98: error: ‘DOM’ has not been declared
/home/cai/websearch/src/my_pst.h:98: error: ISO C++ forbids declaration of ‘Node’ with no type
/home/cai/websearch/src/my_pst.h:98: error: expected ‘;’ before ‘node’
/home/cai/websearch/src/my_pst.h:110: error: ‘QString’ does not name a type
/home/cai/websearch/src/my_pst.h:112: error: ‘QString’ does not name a type
/home/cai/websearch/src/my_pst.h:117: error: ‘QString’ has not been declared
/home/cai/websearch/src/my_pst.h:125: error: ‘QString’ has not been declared
/home/cai/websearch/src/domtopst.h:
36: error: ‘DOM’ is not a namespace-name
/home/cai/websearch/src/domtopst.h:36: error: expected namespace-name before ‘;’ token
/home/cai/websearch/src/domtopst.h:49: error: ‘DOM’ has not been declared
/home/cai/websearch/src/domtopst.h:49: error: expected ‘,’ or ‘...’ before ‘node’
/home/cai/websearch/src/domtopst.h:54: error: ‘QString’ does not name a type
/home/cai/websearch/src/domtopst.h:57: error: ‘DOM’ has not been declared
/home/cai/websearch/src/domtopst.h:57: error: ISO C++ forbids declaration of ‘NodeList’ with no type
/home/cai/websearch/src/domtopst.h:57: error: expected ‘;’ before ‘tagNodeList’
/home/cai/websearch/src/domtopst.h:60: error: ‘DOM’ has not been declared
/home/cai/websearch/src/domtopst.h:60: error: ISO C++ forbids declaration of ‘Node’ with no type
/home/cai/websearch/src/domtopst.h:60: error: expected ‘;’ before ‘getNode’
/home/cai/websearch/src/domtopst.h:63: error: ‘DOM’ has not been declared
/home/cai/websearch/src
/domtopst.h:63: error: ISO C++ forbids declaration of ‘Node’ with no type
/home/cai/websearch/src/domtopst.h:63: error: expected ‘;’ before ‘getTag’
/home/cai/websearch/src/domtopst.h:69: error: ‘DOM’ was not declared in this scope
/home/cai/websearch/src/domtopst.h:69: error: template argument 1 is invalid
/home/cai/websearch/src/domtopst.h:69: error: template argument 2 is invalid
/home/cai/websearch/src/domtopst.h:69: error: ‘DOM’ has not been declared
/home/cai/websearch/src/domtopst.h:69: error: expected ‘,’ or ‘...’ before ‘node’
/home/cai/websearch/src/domtopst.h:71: error: ‘DOM’ has not been declared
/home/cai/websearch/src/domtopst.h:71: error: expected ‘,’ or ‘...’ before ‘node’
/home/cai/websearch/src/domtopst.h:75: error: ‘DOM’ was not declared in this scope
/home/cai/websearch/src/domtopst.h:75: error: template argument 1 is invalid
/home/cai/websearch/src/domtopst.h:75: error: template argument 2 is invalid
*******************/
Bookmarks