-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide QXmpp prebuilt packages for Qt5 #29
Comments
I doubt this is actually an upstream issue. |
We unfortunately do not have the manpower to provide pre-built binaries. |
Just tried to instantiate QXmppClient and it crashes with Qt 5.3.1 just with one line: When I compiled library from the sources it does not crash. Looks like ubuntu's utopic repositories contains bad version of qxmpp or it is compiled for qt4 only. |
Ubuntu indeed ships qxmpp compiled for qt4. If you want to use qt5 you will need to compile qxmpp yourself, you cannot use a library compiled against qt4 in a program linked against qt5 (this is causing your crash) |
I think I can provide a qt5 package but only in my ppa of course while your packages are in main repository. Did not try to be a Debian unstable repository maintainer yet, but ppa for a long time. |
@vityafx did you solve the problem with use QXMPP lib in Qt5? Thanks in advance. |
The problems was clearly mixing qt4/qt5 |
@RHamidR Simply compile it by yourself. No need to use qtcreator:
|
I am trying to build qxmpp in my ppa and it fails on i386 however it builds successfully on amd64. Can you guys please take a look what is wrong on i386 build? The only thing I changed in original's debian package is build-depends: P.S. Also here is some good link you may find useful - qt5 package descriptions |
From a short look I see that the html directory is missing:
There was a change - you should have a look at issue 27 Edit: Sorry that it didn't help. I'm also not familiar with the build process, just wanted to point out that this might be connected to your problem |
Hm, How did it work in amd64 build then? Also I can't build it on both amd64 and i386 with I guess it needs UPD:
Use everyone if you want. Contact me via maintainer@vpolevoy.com if something is wrong with the packages. |
dear @vityafx , thanks for your answer. i didn't want to ask these foolish questions here again but i didn't find any good tutorial about compile and use projects like this. I'm sure that i was wrong in my searches about your answer last 3 days ago and i know the issue is not clear to me. If you direct me some more detailed guide links on the internet about how to build the (Cpp or Qt) library for cross-platform programming and how to use this built library in Qt5 i will be very grateful and I'll try to Learn and read more (if i have some resources) and I will not ask these kind of questions here. Thanks in advance Edit: |
@RHamidR Please, ask your question on http://stackverflow.com and you'll get help asap. Explain problems you have, your goals and what you want to achieve. Now I can only point you to project's README because it has all the steps to build the library on any unix machine. I know nothing about windows(visual studio) programming and compiling so in that case I can't help you well. Therefore, ask a question on the resource and let people help you and others who have your problems too. Good luck! |
Thank you @vityafx. Static build? Cross-platform build? Dynamic build? Build using Qt? or MinGW? Because i asked much questions about this and in most of case just achieved down vote with no help in stackoverflow. |
@RHamidR Well, it depends on what you want to achieve. Take a look at SSCCE. Read it, realize and go. Where and when do you have problems? During compilation? Then post compilation log, compilation commands/etc and everything what did you do in order to reproduce the error you have, this also makes other people understand your problem and give you most elegant solution. For example: I can't compile Qt/C++ qxmpp library on windows. I have X error during compilation:
If viewers will need any more information they'll simply ask you to give it to them. Don't forget about SSCCE ! |
I don't know. maybe its better to don't try for cross-platform programming and start my project on eclipse. So this is the full explanation of my problem.. I have to Search and ask for "Static library building"? or another thing? Dear @vityafx thanks for SSCCE article suggestion, I will read and act by that instruction. And i am sorry for asking these questions in misplace. |
@RHamidR You should fully explain your problem and situation. I don't understand what you do with the library and what for. |
I have QXMPP library and Qt 5.4 for android and I don't know What to do. what is "qmake" Please direct me to a link that shows me how to build and use this project on windows for my purpose. Thanks so much. |
Thank you @vityafx and all guys here.
I have new issue here and i need your help and please be patient with me. |
For instance http://packages.ubuntu.com/source/vivid/qxmpp QXmpp package requires Qt4 (and is built with Qt4, so this might cause and causes some crashes, etc). and that'd be nice to be able to install QXmpp from apt, yum, etc but for Qt5, not 4. I suggest naming like
qxmpp-qt5
or something similar (and of course. same for pkgconfig).The text was updated successfully, but these errors were encountered: