jun-zhang / libfetion-gui

Automatically exported from code.google.com/p/libfetion-gui
0 stars 0 forks source link

编译失败 opensuse11.2 src/fxlocationparser.h:39:25: error: QXmlQuery: No such file or directory #152

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
BUG REPRODUCE STEPS:
1,svn checkout http://libfetion-gui.googlecode.com/svn/trunk/
libfetion-gui-read-only
2, qmake
3, make

EXPECTED OUTCOME: 编译成功

ACTUAL OUTCOME:
src/fxlocationparser.h:39:25: error: QXmlQuery: No such file or directory 

In file included from src/fxbuddy.cpp:23:                                 

src/fxlocationparser.h:64: error: ‘QXmlQuery’ does not name a type        

src/fxbuddy.cpp: In member function ‘void
BuddyOpt::delAccount(QTreeWidgetItem*)’:                                  

src/fxbuddy.cpp:428: warning: ignoring return value of ‘int
asprintf(char**, const char*, ...)’, declared with attribute
warn_unused_result   
src/fxbuddy.cpp: In member function ‘void BuddyOpt::addAccountToGroup(const
Fetion_Account*, QString&, int, int)’:                            
src/fxbuddy.cpp:670: warning: ignoring return value of ‘int
asprintf(char**, const char*, ...)’, declared with attribute
warn_unused_result   
src/fxbuddy.cpp: In member function ‘void BuddyOpt::updateAccountInfo(const
Fetion_Account*)’:                                                
src/fxbuddy.cpp:1132: warning: ignoring return value of ‘int
asprintf(char**, const char*, ...)’, declared with attribute
warn_unused_result  
make: *** [.tmp/fxbuddy.o] Error 1              

LIBFETION VERSION: svn trunk 2009-11-24
OS: opensuse 11.2

OTHERS:

Original issue reported on code.google.com by yinghu...@gmail.com on 24 Nov 2009 at 4:02

GoogleCodeExporter commented 9 years ago
Hi yinghuzhu,

It seems that there is no QtXmlPatterns module on your current host.

Could you try to install the QtXmlPatterns module to avoid this problem?

Original comment by libfet...@gmail.com on 24 Nov 2009 at 2:56

GoogleCodeExporter commented 9 years ago
What's the QT version? Please check the  linux-fetion.pro file, if QT += xml 
xmlpatterns is missing or modified 
by careless?

Original comment by alsor.zhou on 25 Nov 2009 at 2:22

GoogleCodeExporter commented 9 years ago
To libfetion: yes , I checked my host. I couldn't find QtXmlPatterns module . 
Can you
tell me how I should install this module.

To alsor.zhou:  the QA version is 4.5. Also, I am sure that there is a line QT 
+= xml
xmlpatterns  in the  linux-fetion.pro file

Original comment by yinghu...@gmail.com on 25 Nov 2009 at 2:49

GoogleCodeExporter commented 9 years ago
Look into your package manager, not sure what it is on SUSE, find something 
related to that module, install it.

@ddd, it's better to release a static linked bundle even if under linux?

Original comment by alsor.zhou on 25 Nov 2009 at 3:13

GoogleCodeExporter commented 9 years ago
yinghuzhu,
Did you find that module?

If you didn't, Could you try to install the libqt-webkit?

Original comment by libfet...@gmail.com on 27 Nov 2009 at 12:48

GoogleCodeExporter commented 9 years ago
To libfetion, Thanks  . it works fine after installing the libqt-webkit.

Original comment by yinghu...@gmail.com on 30 Nov 2009 at 2:22

GoogleCodeExporter commented 9 years ago

Original comment by libfet...@gmail.com on 13 Dec 2009 at 6:52

GoogleCodeExporter commented 9 years ago
Thank you, I encountered the same problem with yinghuzhu, and it was solved 
after I installed libqtWebkit-devel of openSUSE11.3. Thank you, libfetion. 

Original comment by qi_jun2...@126.com on 29 Jul 2010 at 3:18