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. Websockets support[solved]
Forum Updated to NodeBB v4.3 + New Features

Websockets support[solved]

Scheduled Pinned Locked Moved General and Desktop
35 Posts 2 Posters 11.7k Views 2 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi,

    Which version of Qt are you using ? AFAIK, QtWebSocket is in since 5.3

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      Zondar
      wrote on last edited by
      #3

      Hi,

      I am using Qt 5.4.1. It works perfectly on Android, iOS as well as on Windows, but when I switch compiler to WinRT(arm) it says "Unknown module QT: websockets".

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #4

        Did you check if you have the module in the WinRT directory tree ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • Z Offline
          Z Offline
          Zondar
          wrote on last edited by Zondar
          #5

          I checked it and I don't have websockets in WinRT . I copied Websockets, I will just have to test it.

          1 Reply Last reply
          0
          • Z Offline
            Z Offline
            Zondar
            wrote on last edited by Zondar
            #6

            After copying I tried to build it and I got LINK : fatal error LNK1181: cannot open input file 'Qt5WebSockets.lib'.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #7

              Did you rebuild the module ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • Z Offline
                Z Offline
                Zondar
                wrote on last edited by
                #8

                I am quite a newbie, so could you please describe to me how to rebuild module?

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #9

                  You can open the project in Qt Creator or use the classic qmake + nmake

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • Z Offline
                    Z Offline
                    Zondar
                    wrote on last edited by
                    #10

                    So I just open my project and rebuild it?

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #11

                      Sorry, I meant the qtwebsockets module project file

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • Z Offline
                        Z Offline
                        Zondar
                        wrote on last edited by Zondar
                        #12

                        Sorry for my ignorance, but have I download the source code with git?

                        1 Reply Last reply
                        0
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #13

                          You can also get them from the installer

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0
                          • Z Offline
                            Z Offline
                            Zondar
                            wrote on last edited by
                            #14

                            I download everything through installer, but i can't find the project file.

                            1 Reply Last reply
                            0
                            • SGaistS Offline
                              SGaistS Offline
                              SGaist
                              Lifetime Qt Champion
                              wrote on last edited by
                              #15

                              You don't have them in the qtwebsocket folder ?

                              Interested in AI ? www.idiap.ch
                              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                              1 Reply Last reply
                              0
                              • Z Offline
                                Z Offline
                                Zondar
                                wrote on last edited by
                                #16

                                Well I have sources, but project file is not there and sources are everywhere except Windows phone arm.

                                1 Reply Last reply
                                0
                                • SGaistS Offline
                                  SGaistS Offline
                                  SGaist
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #17

                                  That sounds strange, if you can't compile the sources you get from the installer then just clone the qtwebsocket from code.qt.io

                                  Interested in AI ? www.idiap.ch
                                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                  1 Reply Last reply
                                  0
                                  • Z Offline
                                    Z Offline
                                    Zondar
                                    wrote on last edited by
                                    #18

                                    When I try to clone repository I get.
                                    http://ctrlv.cz/Xhhn

                                    1 Reply Last reply
                                    0
                                    • SGaistS Offline
                                      SGaistS Offline
                                      SGaist
                                      Lifetime Qt Champion
                                      wrote on last edited by
                                      #19

                                      IIRC there was some problem of server accessibility can you retry ?

                                      Interested in AI ? www.idiap.ch
                                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                      1 Reply Last reply
                                      0
                                      • Z Offline
                                        Z Offline
                                        Zondar
                                        wrote on last edited by
                                        #20

                                        I managed to download sources and I have found project file as well. Now I just open it in Qt creator and build it with WinRT kit?

                                        1 Reply Last reply
                                        0
                                        • SGaistS Offline
                                          SGaistS Offline
                                          SGaist
                                          Lifetime Qt Champion
                                          wrote on last edited by
                                          #21

                                          and call nmake install if applicable

                                          Interested in AI ? www.idiap.ch
                                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                          1 Reply Last reply
                                          0

                                          • Login

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