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]

Websockets support[solved]

Scheduled Pinned Locked Moved General and Desktop
35 Posts 2 Posters 11.0k Views
  • 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
    #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
                                      • Z Offline
                                        Z Offline
                                        Zondar
                                        wrote on last edited by Zondar
                                        #22

                                        I tried to build it, but it failed, so I tried run sync from command prompt, bud I get
                                        C:\Users\Sony>perl -w C:\Qt5\5.4\winphone_arm\bin\syncqt.pl -module QtWebsocket
                                        -version 5.4.3 -outdir C:\qtwebsockets3 -verbose
                                        Use of uninitialized value $val in string eq at C:\Qt5\5.4\winphone_arm\bin\sync
                                        qt.pl line 727.
                                        Use of uninitialized value $val in string eq at C:\Qt5\5.4\winphone_arm\bin\sync
                                        qt.pl line 729.
                                        Use of uninitialized value $val in int at C:\Qt5\5.4\winphone_arm\bin\syncqt.pl
                                        line 732.
                                        No such module: QtWebsocket at C:\Qt5\5.4\winphone_arm\bin\syncqt.pl line 817.

                                        Might it be problem, that I am using Qt 5.4.1?

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

                                          What failure did you hit ?

                                          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