Comments (9)
You can ignore this warning.It's not the reason of compiled failed.
It must has other error to stop the compile.
And, which version of qtqq did you download? If it's not qtqqv0.5.0, you
should update it.
If it's qtqqv0.5.0, you can find a file name log.log in qtqq's root
directory, you can send it to me.
2012/6/18 Cravix <
[email protected]
"qmake -project" works, but when execute "qmake", i get following stderr:
RCC: Warning: No resources in 'misc/img.qrc'.
btw, i'm using archlinux with qt 4.8.2.BTW, i can use qtqq-bin you packed, but it always prompt that pas unmatch
username... maybe there's something wrong?
Reply to this email directly or view it on GitHub:
#7
from qtqq.
en, you're right, ignore the warning and it works...
but, still cannot be compiled= =
stdout of make as follows.
(put most of stdout on http://pastebin.ca/2162418 ,maybe my glibc is too new? don't really get it...)
src/core/qqavatarrequester.h:6:22: fatal error: QTcpSocket: No such file or directory
compilation terminated.
make: *** [frienditemmodel.o] Error 1
from qtqq.
I made some changes at qtqq-dev branch just now, you can checkout the
newest code and try to complied it.
Btw, you should check if you install the libqt4-network library(at my
ubuntu12.04, it named this).
If not, you should install it.
2012/6/18 Cravix <
[email protected]
en, you're right, ignore the warning and it works...
but, still cannot be compiled= =
stdout of make as follows, maybe my glibc is too new? don't really get
it...
In file included from
/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/i686-pc-linux-gnu/bits/c++config.h:414:0,
from
/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/utility:70,
from
/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/algorithm:61,
from /usr/include/QtCore/qglobal.h:68,
from /usr/include/QtCore/qatomic.h:45,
from /usr/include/QtCore/qvariant.h:45,
from /usr/include/QtCore/qabstractitemmodel.h:45,
from /usr/include/QtCore/QAbstractItemModel:1,
from src/qqitemmodel.h:4,
from src/frienditemmodel.h:4,
from src/frienditemmodel.cpp:1:
/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/i686-pc-linux-gnu/bits/os_defines.h:45:19:
error: missing binary operator before token "("
In file included from /usr/include/QtCore/qbytearray.h:48:0,
from /usr/include/QtCore/qvariant.h:46,
from /usr/include/QtCore/qabstractitemmodel.h:45,
from /usr/include/QtCore/QAbstractItemModel:1,
from src/qqitemmodel.h:4,
from src/frienditemmodel.h:4,
from src/frienditemmodel.cpp:1:
/usr/include/string.h:37:42: error: missing binary operator before token
"("
In file included from
/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/cwchar:46:0,
from
/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/postypes.h:42,
from
/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/iosfwd:42,
from
/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/ios:39,
from
/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/ostream:40,
from
/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/iterator:64,
from /usr/include/QtCore/qlist.h:50,
from /usr/include/QtCore/qvariant.h:47,
from /usr/include/QtCore/qabstractitemmodel.h:45,
from /usr/include/QtCore/QAbstractItemModel:1,
from src/qqitemmodel.h:4,
from src/frienditemmodel.h:4,
from src/frienditemmodel.cpp:1:
/usr/include/wchar.h:75:43: error: missing binary operator before token "("
In file included from /usr/include/sched.h:43:0,
from /usr/include/pthread.h:25,
from
/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/i686-pc-linux-gnu/bits/gthr-default.h:41,
from
/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/i686-pc-linux-gnu/bits/gthr.h:150,
from
/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/ext/atomicity.h:34,
from
/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/ios_base.h:41,
from
/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/ios:43,
from
/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/ostream:40,
from
/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/iterator:64,
from /usr/include/QtCore/qlist.h:50,
from /usr/include/QtCore/qvariant.h:47,
from /usr/include/QtCore/qabstractitemmodel.h:45,
from /usr/include/QtCore/QAbstractItemModel:1,
from src/qqitemmodel.h:4,
from src/frienditemmodel.h:4,
from src/frienditemmodel.cpp:1:
/usr/include/bits/sched.h:133:20: error: missing binary operator before
token "("
/usr/include/bits/sched.h:171:20: error: missing binary operator before
token "("
In file included from src/qqitemmodel.h:9:0,
from src/frienditemmodel.h:4,
from src/frienditemmodel.cpp:1:
src/core/qqavatarrequester.h:6:22: fatal error: QTcpSocket: No such file
or directory
compilation terminated.
make: *** [frienditemmodel.o] Error 1
Reply to this email directly or view it on GitHub:
#7 (comment)
from qtqq.
well, still doesn't work here:
in src/frienditemmodel.cpp gcc cannot find QTcpSocket and json, and after i modified it to be consistent with the head file folder in /usr/include, i got this:
g++ -c -pipe -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -Isrc -Isrc/core -Iinclude/zlib -I3rdparty/qxtglobalshortcut -I3rdparty/jsoncpp/src -I3rdparty/log4qt/tests -I. -I. -o frienditemmodel.o src/frienditemmodel.cpp
src/frienditemmodel.cpp: In member function ‘virtual void FriendItemModel::parse(const QByteArray&, NameConvertor*)’:
src/frienditemmodel.cpp:12:5: error: ‘Json’ has not been declared
src/frienditemmodel.cpp:12:18: error: expected ‘;’ before ‘reader’
#and so on...
i think the problem is, you use too much direct include like "#include "include/json.h"", which is related to the pack manner of distros,
in my opinion, it's better to use cmake or pkg-config instead to do that, or it'll be imcompatible with other distros = =
from qtqq.
oh my... seems i'm wrong here. but still, there is something wrong:
the gcc option shows: -I3rdparty/jsoncpp/src, but no -I3rdparty/jsoncpp here(which #include "include/json.h" need), maybe you should correct it= =
and, the QTcpSocket is in /usr/include/QtNetwork under arch(differ from ubuntu?), so i still recommend you to use pkg-config... eh.
from qtqq.
eh, anyway, seems i must check *.pro anyway and adjust it, i got really messed up now= =
from qtqq.
You can find json.h,located in qtqq/3rdparty/jsoncpp/include/json.h.
And open it, modify the thirteen line from "features.h" to
"json_features.h".Then, complied again.
I'm so sorry for this mistake.
But i don't know why the QTcpSocket head file is not found. Maybe you can
changed the qtqq.pro.
I upload a qtqq.pro file.you can replace your qtqq.pro to it.
In qtqq.pro, i just add the location of you QTcpSocket file to INCLUDEPATH,
you can find this change
at thirteen line.If "/usr/include/QtNetwork" it's a wrong location, you can
change it.
If this still can't work, i think you can replace the "QTcpSocket" to its
full path like "/usr/include/QtNetwork/qtcpsocket.h".
Btw, are you chinese? My english is bad. Can you understanding what i mean?
2012/6/19 Cravix <
[email protected]
eh, anyway, seems i must check *.pro anyway and adjust it, i got really
messed up now= =
Reply to this email directly or view it on GitHub:
#7 (comment)
from qtqq.
in fact i'm an alien from outer space, but i can speak chinese as native speaks~ i just get used to write english on IRC. so, feel free to use chinese, and if need i'll too :-)
and, i've searched the aur of archlinux and found many qt packages are builded using cmake, maybe it has more compatibility? why not give a try:-D
from qtqq.
oh my... sorry. i didn't notice that i don't need to do "qmake -project" first, and maybe that's the problem= =i'll try recompile now.
from qtqq.
Related Issues (20)
- qtqq可不可以改进一下软件图标 HOT 7
- 好友列表空白 HOT 11
- 暗色主题下的问题 HOT 1
- 使用de自带的通知系统 HOT 3
- GLib-WARNING **: poll(2)
- 消息提取没有快捷键 HOT 4
- 切换窗口快捷键有bug
- 新消息到来,托盘图标在现有系统下消失而非闪烁
- 挂的时间长了,用户下线,列表中头像没有显示灰色下线样式 HOT 1
- 是否可增加关闭窗口的快捷键 HOT 2
- 貌似和群中的用户建立临时聊天的时候会引发异常 HOT 2
- README中关于QQ协议的描述
- 关于get_user_friends2里面的a.json.stringify(b)是怎么生成的? HOT 3
- 分组的组名可能导致相应的在线人数显示的位置异常
- 启动界面没有启动的图片,登陆后也没有
- 如何在Qt Creator中打开 HOT 2
- 不能获取好友列表 HOT 6
- 您的帐号由于异常禁止登录,请联系...客服 HOT 3
- 为啥更新很慢 HOT 2
- 希望增加pre-build release
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qtqq.