Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [solved] Can't connect to server - qxmpp lib +openfire
Forum Updated to NodeBB v4.3 + New Features

[solved] Can't connect to server - qxmpp lib +openfire

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 2.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    never_ever
    wrote on 9 Feb 2014, 19:43 last edited by
    #1

    Hi, I'm new, so please be polite (I also do not know if I write in right place).

    I want to write an app to connect to Openfire server. I'm using qxmpp library and c++ in Qt creator. Firstly I've tried to write simple app to find out if it connects to server. But it doesn't and I don't know why (I've tried to connect via spark client and it worked).

    There is no information that there is any error, only what I know is that my client is not connecting to the server. Is there any way to check why my client is not connecting? Maybe here is somone who can help me?

    Thanks for help

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on 10 Feb 2014, 04:17 last edited by
      #2

      bq. Maybe here is somone who can help me?

      Maybe there is, but generally you will have to provide at least some information about what you have actually done.

      bq. There is no information that there is any error, only what I know is that my client is not connecting to the server.

      Guessing that you are using the QXmppClient::connectToServer() call then there is an QXmppClient::error() signal and the QXmppClient::socketError() function.

      1 Reply Last reply
      0
      • N Offline
        N Offline
        never_ever
        wrote on 10 Feb 2014, 07:35 last edited by
        #3

        Hi, I solved my problem. Partly this was my fault, because I do little mistake in getting data to connection configuration.

        1 Reply Last reply
        0

        1/3

        9 Feb 2014, 19:43

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved