List Info

Thread: QT and XMPP Question




QT and XMPP Question
user name
2008-03-11 09:48:34
i have been trying my best to use iris from psi to at least just connect to a jabber server and send messages but i am not able to do that because i get many linking errors

can any one please tell me how to do that?

i want a step by step instructions if possible Please

thanks

--
Regards;
Khalid N.
Concordia University
Bachelor of Computer Science (ECP)
Option: Software Systems

1455 de Maisonneuve Blvd. W.
Montreal, Quebec H3G 1M8
Canada
Re: QT and XMPP Question
user name
2008-03-11 11:26:55
On Tuesday 11 March 2008 7:48 am, K. Nimer wrote:
> i have been trying my best to use iris from psi to at
least just connect to
> a jabber server and send messages but i am not able to
do that because i
> get many linking errors
>
> can any one please tell me how to do that?
>
> i want a step by step instructions if possible Please
>
> thanks

Try building xmpptest.

Go into psi/iris/example/xmpptest and run qmake and then
make (or nmake).

If you are on a unix platform be sure to run 'configure' in
the Psi base dir 
first.

-Justin
_______________________________________________
Delta mailing list
Deltalists.affinix.com
http://lists.affinix.com/listinfo.cgi/delta-affinix.com

Re: QT and XMPP Question
user name
2008-03-11 11:30:31
this is the problem , i am on a windows platform using visual studio

and i get a lot of errors concerning zlib.h and some unsigned variables and few other errors

i want something simple and step by step instructions i really spent a lot of time to try every example but non of them worked

the first two had unresolved linking errors and the last one which is xmpptest had lots of zlib.h errors and few others

any suggestions?

like at the moment i am trying the xmpptest but its not working

On Tue, Mar 11, 2008 at 12:26 PM, Justin Karneges < justin-psi2affinix.com">justin-psi2affinix.com> wrote:
On Tuesday 11 March 2008 7:48 am, K. Nimer wrote:
&gt; i have been trying my best to use iris from psi to at least just connect to
> a jabber server and send messages but i am not able to do that because i
> get many linking errors
&gt;
> can any one please tell me how to do that?
&gt;
> i want a step by step instructions if possible Please
&gt;
> thanks

Try building xmpptest.

Go into psi/iris/example/xmpptest and run qmake and then make (or nmake).

If you are on a unix platform be sure to run 'configure' in the Psi base dir
first.

-Justin
_______________________________________________
Delta mailing list
Deltalists.affinix.com">Deltalists.affinix.com
http://lists.affinix.com/listinfo.cgi/delta-affinix.com




Re: QT and XMPP Question
user name
2008-03-11 13:44:07
On Tuesday 11 March 2008 9:30 am, K. Nimer wrote:
> this is the problem , i am on a windows platform using
visual studio
>
> and i get a lot of errors concerning zlib.h and some
unsigned variables and
> few other errors
>
> i want something simple and step by step instructions i
really spent a lot
> of time to try every example but non of them worked

What a pain.  There were several things wrong, and I've
fixed them in Psi SVN.

I'm now able to build xmpptest with MSVC 2003 using the
following procedure:
  1) Install QCA 2.0 for MSVC.
    a) Download http://delta.affinix.com/download/qca/2.0/qca-2.0.0-v
c6.zip
    b) Put the unpacked 'qca-2.0.0-vc6' dir somewhere nice,
and 
run 'installwin.bat' (be sure %QTDIR% is set when this is
run).
  2) svn checkout http://svn.psi-im.org
/psi/trunk psi
  3) cd psiirisexamplexmpptest
  4) qmake
  5) nmake

To run xmpptest, make sure all needed DLLs are available in
its current dir or 
in PATH.

Hope that helps.

-Justin
_______________________________________________
Delta mailing list
Deltalists.affinix.com
http://lists.affinix.com/listinfo.cgi/delta-affinix.com

Re: QT and XMPP Question
user name
2008-03-11 13:47:45
i will check it out right now thank u soo much justin i was waiting for your email

i&#39;ll try now and let you know if anything happenes

On Tue, Mar 11, 2008 at 2:44 PM, Justin Karneges < justin-psi2affinix.com">justin-psi2affinix.com> wrote:
On Tuesday 11 March 2008 9:30 am, K. Nimer wrote:
&gt; this is the problem , i am on a windows platform using visual studio
&gt;
> and i get a lot of errors concerning zlib.h and some unsigned variables and
> few other errors
&gt;
> i want something simple and step by step instructions i really spent a lot
> of time to try every example but non of them worked

What a pain.  There were several things wrong, and I've fixed them in Psi SVN.

I'm now able to build xmpptest with MSVC 2003 using the following procedure:
 1) Install QCA 2.0 for MSVC.
   a) Download http://delta.affinix.com/download/qca/2.0/qca-2.0.0-vc6.zip
   b) Put the unpacked 'qca-2.0.0-vc69; dir somewhere nice, and
run 'installwin.bat&#39; (be sure %QTDIR% is set when this is run).
 2) svn checkout http://svn.psi-im.org/psi/trunk psi
 3) cd psiirisexamplexmpptest
 4) qmake
 5) nmake

To run xmpptest, make sure all needed DLLs are available in its current dir or
in PATH.

Hope that helps.

-Justin
_______________________________________________
Delta mailing list
Deltalists.affinix.com">Deltalists.affinix.com
http://lists.affinix.com/listinfo.cgi/delta-affinix.com




Re: QT and XMPP Question
user name
2008-03-11 13:52:07
hey justin what did you mean by
(be sure %QTDIR% is set when this is run).

and when u said qmake
as in qmake -tp vc only right?
or -tp vs blah.dsp blah.pro ?

On Tue, Mar 11, 2008 at 2:47 PM, K. Nimer < stormwaygmail.com">stormwaygmail.com> wrote:
i will check it out right now thank u soo much justin i was waiting for your email

i&#39;ll try now and let you know if anything happenes


On Tue, Mar 11, 2008 at 2:44 PM, Justin Karneges < justin-psi2affinix.com" target="_blank">justin-psi2affinix.com> wrote:
On Tuesday 11 March 2008 9:30 am, K. Nimer wrote:
&gt; this is the problem , i am on a windows platform using visual studio
&gt;
> and i get a lot of errors concerning zlib.h and some unsigned variables and
> few other errors
&gt;
> i want something simple and step by step instructions i really spent a lot
> of time to try every example but non of them worked

What a pain.  There were several things wrong, and I've fixed them in Psi SVN.

I'm now able to build xmpptest with MSVC 2003 using the following procedure:
 1) Install QCA 2.0 for MSVC.
   a) Download http://delta.affinix.com/download/qca/2.0/qca-2.0.0-vc6.zip
   b) Put the unpacked 'qca-2.0.0-vc69; dir somewhere nice, and
run 'installwin.bat&#39; (be sure %QTDIR% is set when this is run).
 2) svn checkout http://svn.psi-im.org/psi/trunk psi
 3) cd psiirisexamplexmpptest
 4) qmake
 5) nmake

To run xmpptest, make sure all needed DLLs are available in its current dir or
in PATH.

Hope that helps.

-Justin
_______________________________________________
Delta mailing list
Deltalists.affinix.com" target="_blank">Deltalists.affinix.com
http://lists.affinix.com/listinfo.cgi/delta-affinix.com







--
Regards;
Khalid Nimer
Programmer-Analyst
Integration New Media, Inc (INM).
+1 514 871 1333 ext: 278

JOIN THE DISCUSSION:
todays trends and latest technologies
http://blog.INM.com

Education:
Concordia University
Bachelor of Computer Science (ECP)
Option: Software Systems
Re: QT and XMPP Question
user name
2008-03-11 14:56:22
here are the errors i get


1>;c:documents and settingsname compdesktoppsi-0.11irisexamplexmpptest.moc../../../xmpp-core/compress.h(6) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
1>Generating Code...
1&gt;Compiling...
1>moc_bytestream.cpp
1>;moc_bsocket.cpp
1>xmpptest.cpp
1>.xmpptest.cpp(440) : warning C4018: '<&#39; : signed/unsigned mismatch
1>.xmpptest.cpp(888) : warning C4996: 'putenv': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _putenv. See online help for details.
1> ; &nbsp; &nbsp; &nbsp; C:Program FilesMicrosoft Visual Studio 8VCincludestdlib.h(900) : see declaration of 'putenv'
---------------------------------------------

another error i get is this

1>....xmpp-corestream.cpp(715) : error C2039: 'user&#39; : is not a member of 'QCA::SASL::Params'
1&gt; &nbsp; &nbsp;   ; c:documents and settingskhalid nimerdesktopqca-2.0.0-vc6qca-2.0.0-vc6includeqtcryptoqca_securelayer.h(904) : see declaration of 'QCA::SASL::Params'
1>;....xmpp-corestream.cpp(715) : error C2039: 'authzid' : is not a member of 'QCA::SASL::Params'
1&gt; &nbsp; &nbsp;   ; c:documents and settingskhalid nimerdesktopqca-2.0.0-vc6qca-2.0.0-vc6includeqtcryptoqca_securelayer.h(904) : see declaration of 'QCA::SASL::Params'
1>;....xmpp-corestream.cpp(715) : error C2039: 'pass&#39; : is not a member of 'QCA::SASL::Params'
1&gt; &nbsp; &nbsp;   ; c:documents and settingskhalid nimerdesktopqca-2.0.0-vc6qca-2.0.0-vc6includeqtcryptoqca_securelayer.h(904) : see declaration of 'QCA::SASL::Params'
1>;....xmpp-corestream.cpp(715) : error C2039: 'realm' : is not a member of 'QCA::SASL::Params'
1&gt; &nbsp; &nbsp;   ; c:documents and settingskhalid nimerdesktopqca-2.0.0-vc6qca-2.0.0-vc6includeqtcryptoqca_securelayer.h(904) : see declaration of 'QCA::SASL::Params'

--------------------------------------------------

third error


1&gt;c:documents and settingsname compdesktoppsi-0.11irisxmpp-corecompress.h(6) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
1>compress.cpp
1&gt;....xmpp-corecompress.cpp(4) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory





On Tue, Mar 11, 2008 at 2:52 PM, K. Nimer < stormwaygmail.com">stormwaygmail.com> wrote:
hey justin what did you mean by
(be sure %QTDIR% is set when this is run).

and when u said qmake
as in qmake -tp vc only right?
or -tp vs blah.dsp blah.pro ?


On Tue, Mar 11, 2008 at 2:47 PM, K. Nimer < stormwaygmail.com" target="_blank">stormwaygmail.com> wrote:
i will check it out right now thank u soo much justin i was waiting for your email

i&#39;ll try now and let you know if anything happenes


On Tue, Mar 11, 2008 at 2:44 PM, Justin Karneges < justin-psi2affinix.com" target="_blank">justin-psi2affinix.com> wrote:
On Tuesday 11 March 2008 9:30 am, K. Nimer wrote:
&gt; this is the problem , i am on a windows platform using visual studio
&gt;
> and i get a lot of errors concerning zlib.h and some unsigned variables and
> few other errors
&gt;
> i want something simple and step by step instructions i really spent a lot
> of time to try every example but non of them worked

What a pain.  There were several things wrong, and I've fixed them in Psi SVN.

I'm now able to build xmpptest with MSVC 2003 using the following procedure:
 1) Install QCA 2.0 for MSVC.
   a) Download http://delta.affinix.com/download/qca/2.0/qca-2.0.0-vc6.zip
   b) Put the unpacked 'qca-2.0.0-vc69; dir somewhere nice, and
run 'installwin.bat&#39; (be sure %QTDIR% is set when this is run).
 2) svn checkout http://svn.psi-im.org/psi/trunk psi
 3) cd psiirisexamplexmpptest
 4) qmake
 5) nmake

To run xmpptest, make sure all needed DLLs are available in its current dir or
in PATH.

Hope that helps.

-Justin
_______________________________________________
Delta mailing list
Deltalists.affinix.com" target="_blank">Deltalists.affinix.com
http://lists.affinix.com/listinfo.cgi/delta-affinix.com







--
Regards;
Khalid Nimer
Programmer-Analyst
Integration New Media, Inc (INM).
+1 514 871 1333 ext: 278

JOIN THE DISCUSSION:
todays trends and latest technologies
http://blog.INM.com

Education:

Concordia University
Bachelor of Computer Science (ECP)
Option: Software Systems



--
Regards;
Khalid Nimer

Education:
Concordia University
Bachelor of Computer Science (ECP)
Option: Software Systems
Re: QT and XMPP Question
user name
2008-03-11 15:04:54
On Tuesday 11 March 2008 11:52 am, K. Nimer wrote:
> hey justin what did you mean by
> (be sure %QTDIR% is set when this is run).

QTDIR is an environment variable for Qt on Windows.  The
easiest way to ensure 
this is set is to use the special command prompt link
provided by Qt.  
Start -> Programs -> Qt -> Qt Command Prompt.  This
will also do other nice 
things like set your %PATH% to have qmake.

> and when u said qmake
> as in qmake -tp vc only right?
> or -tp vs blah.dsp blah.pro ?

When I said qmake I meant literally 'qmake'.  If there is
only one .pro file 
in the current directory, then qmake will process that file.
 It is just a 
shortcut for writing 'qmake xmpptest.pro'.

I'm not familiar with the -tp option, but it sounds like you
can use it to 
generate .dsp files for building in the IDE?  You may try
that, and I guess 
it should work, but in my case I generated Makefiles and
used nmake for 
building.

-Justin
_______________________________________________
Delta mailing list
Deltalists.affinix.com
http://lists.affinix.com/listinfo.cgi/delta-affinix.com

Re: QT and XMPP Question
user name
2008-03-11 15:24:06
i am sorry man for bothering you really but i wanna know if you  have any idea , what the hell are the previous errors i sent you lol , its very frustrating to me

here are the errors i get


1>;c:documents and settingsname compdesktoppsi-0.11irisexamplexmpptest
.moc../../../xmpp-core/compress.h(6) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
1>Generating Code...
1&gt;Compiling...
1>moc_bytestream.cpp
1>;moc_bsocket.cpp
1>xmpptest.cpp
1>.xmpptest.cpp(440) : warning C4018: '<&#39; : signed/unsigned mismatch
1>.xmpptest.cpp(888) : warning C4996: 'putenv': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _putenv. See online help for details.
1>  ; &nbsp; &nbsp;  C:Program FilesMicrosoft Visual Studio 8VCincludestdlib.h(900) : see declaration of 'putenv'
---------------------------------------------

another error i get is this

1>....xmpp-corestream.cpp(715) : error C2039: 'user&#39; : is not a member of 'QCA::SASL::Params'
1>   ; &nbsp; &nbsp; c:documents and settingskhalid nimerdesktopqca-2.0.0-vc6qca-2.0.0-vc6includeqtcryptoqca_securelayer.h(904) : see declaration of 'QCA::SASL::Params'
1>;....xmpp-corestream.cpp(715) : error C2039: 'authzid' : is not a member of 'QCA::SASL::Params'
1>   ; &nbsp; &nbsp; c:documents and settingskhalid nimerdesktopqca-2.0.0-vc6qca-2.0.0-vc6includeqtcryptoqca_securelayer.h(904) : see declaration of 'QCA::SASL::Params'
1>;....xmpp-corestream.cpp(715) : error C2039: 'pass&#39; : is not a member of 'QCA::SASL::Params'
1>   ; &nbsp; &nbsp; c:documents and settingskhalid nimerdesktopqca-2.0.0-vc6qca-2.0.0-vc6includeqtcryptoqca_securelayer.h(904) : see declaration of 'QCA::SASL::Params'
1>;....xmpp-corestream.cpp(715) : error C2039: 'realm' : is not a member of 'QCA::SASL::Params'
1>   ; &nbsp; &nbsp; c:documents and settingskhalid nimerdesktopqca-2.0.0-vc6qca-2.0.0-vc6includeqtcryptoqca_securelayer.h(904) : see declaration of 'QCA::SASL::Params'

--------------------------------------------------

third error


1&gt;c:documents and settingsname compdesktoppsi-0.11irisxmpp-corecompress.h(6) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
1>compress.cpp
1&gt;....xmpp-corecompress.cpp(4) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory

Re: QT and XMPP Question
user name
2008-03-11 15:30:27
On Tuesday 11 March 2008 12:56 pm, K. Nimer wrote:
> here are the errors i get

It looks like you're not using the latest code.  I fixed the
build today, so 
you'll need to use the SVN version of Psi, not 0.11 which is
from November of 
last year.
_______________________________________________
Delta mailing list
Deltalists.affinix.com
http://lists.affinix.com/listinfo.cgi/delta-affinix.com

[1-10] [11-20]

about | contact  Other archives ( Real Estate discussion Medical topics )