Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. QextSerialPort missing data [solved]
Forum Updated to NodeBB v4.3 + New Features

QextSerialPort missing data [solved]

Scheduled Pinned Locked Moved 3rd Party Software
16 Posts 6 Posters 17.9k 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.
  • D Offline
    D Offline
    dbzhang800
    wrote on last edited by
    #5

    Hi,

    I have submitted a bug several day ago, but seems that others do not come with the similar problem.

    http://code.google.com/p/qextserialport/issues/detail?id=121

    So I do not how to do with this.

    However, I found a similar issue at stackoverflow which has been solved.

    http://stackoverflow.com/questions/9713656/qextserialport-drops-data-on-windows-what-can-i-do-about-it

    You can give a try to it.

    Debao

    1 Reply Last reply
    0
    • D Offline
      D Offline
      Dantcho
      wrote on last edited by
      #6

      Hi all,

      want to use RS232 interface in QtCreator under windows at first,
      but i can not find a appropriate library.

      Do anybody have some information obout this?

      Thanks!

      1 Reply Last reply
      0
      • K Offline
        K Offline
        koahnig
        wrote on last edited by
        #7

        welcome to devnet

        There are at least two different Qt-based implementations available. There have been already a number of threads concerning the topic. One of the implementations or also both are mentioned in following threads with following tags:
        "QExtSerialPort":http://qt-project.org/search/tag/qextserialport
        "QSerialDevice":http://qt-project.org/search/tag/qserialdevice
        [edit]
        A good start might be "this overview":http://qt-project.org/forums/viewthread/16949

        Vote the answer(s) that helped you to solve your issue(s)

        1 Reply Last reply
        0
        • D Offline
          D Offline
          Dantcho
          wrote on last edited by
          #8

          Thanks koahing very much,

          for the information, I knowed about "QExtSerialPort", but the QSerialDevice can be the right for my project.

          1 Reply Last reply
          0
          • K Offline
            K Offline
            kuzulis
            Qt Champions 2020
            wrote on last edited by
            #9

            2 Dantcho

            bq. but the QSerialDevice can be the right for my project

            Instead of QSerialDevice - use "QtSerialPort":http://qt-project.org/wiki/QtSerialPort.
            QSerialDevice is no longer growing (develop is freezing). His code was used as the basis QtSerialPort. Now QtSerialPort is a child.

            1 Reply Last reply
            0
            • D Offline
              D Offline
              Dantcho
              wrote on last edited by
              #10

              Hi all,

              I have to work with serial port and need to to install it on my computer.
              What i have to do to install it?

              I download this:
              "qtplayground-qtserialport"

              from here:
              http://qt-project.org/wiki/QtSerialPort

              but I am a little confuse because the installing guide is for linux not for windows.
              How to install qt serial port on windows?

              Thanks!

              1 Reply Last reply
              0
              • K Offline
                K Offline
                kuzulis
                Qt Champions 2020
                wrote on last edited by
                #11

                What an embarrassment? Where does it say that only for Linux?

                Read "it":http://qt-project.org/wiki/QtSerialPort#b55bbb687c599634cc785869b9167639 again

                1 Reply Last reply
                0
                • D Offline
                  D Offline
                  Dantcho
                  wrote on last edited by
                  #12

                  Hi everybody,

                  i develop a programm and i want my widget do not be moved by the mouse(press and drag), the widget must stay always on the same position.
                  How can i do this?

                  Thanks?

                  1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    Dantcho
                    wrote on last edited by
                    #13

                    Hi everybody,

                    I createt tree windows with the QtDesigner and from windows one of them start the another windows,
                    from windows one I have connection to the another windows (include the header files), so I include the the header file from the windows one to the another windows to have connection from every window to the window one, but wenn I declare filetype from windows one I get the following error.
                    "Fehler:ISO C++ forbids declaration of 'Com_Net' with no type"

                    this is a C++ error, but I include the header files :-(((.

                    Wath cann I do to solve this problem.

                    Here is the header file from the another windows.

                    @#ifndef DICS_H
                    #define DICS_H

                    #include <QWidget>
                    #include <QSizePolicy>
                    #include <QMoveEvent>

                    #include "com_net.h" bq. here include the header files from the windows one
                    #include "ui_com_net.h"

                    namespace Ui {
                    class DICS;
                    }

                    class DICS : public QWidget
                    {
                    Q_OBJECT

                    public:
                    explicit DICS(QWidget *parent = 0);
                    ~DICS();

                    private slots:
                    void on_External_Button_clicked();
                    void on_Internal_Button_clicked();
                    void on_PABX_Button_clicked();
                    void on_PAS_Button_clicked();

                    private:
                    Ui::DICS *ui;
                    Com_Net *active_com_net; bq. and here is the pointer declaration from windows one.
                    virtual void moveEvent(QMoveEvent *event);
                    };

                    #endif // DICS_H@

                    Thanks very much, for the help.

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      Dantcho
                      wrote on last edited by
                      #14

                      Hallo everybody,

                      i solved this problem with the type visibility.

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        mlong
                        wrote on last edited by
                        #15

                        Be sure and edit your original post title to add [Solved]. Thanks!

                        Software Engineer
                        My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

                        1 Reply Last reply
                        0
                        • D Offline
                          D Offline
                          Dantcho
                          wrote on last edited by
                          #16

                          Dear community,

                          I work with the "qextserialport-1.2beta2" and all work well, but I have one problem, I want to send in binary mode, ones I can set is "port->setTextModeEnabled(false);" but the serial port stil interpret the data "o" like a null terminator and so cut the string after the every "0".
                          my question is it possible to send by "qextserialport" binary mode, or I have to look for a another way.

                          thanks for the answer, :-))).

                          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