Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Tags
    3. delay
    Log in to post

    • UNSOLVED QSerialPort::waitForReadyRead() delays at least 5-10ms, how to make it respond faster?
      General and Desktop • qserialport serial slow delay synchronous • • DerManu 0  

      3
      0
      Votes
      3
      Posts
      75
      Views

      Sounds like you should not be using QSerial and instead design a custom solution outside of Qt. Qt is not for real-time processing and your description of the task seems to imply real-time constraints.
    • SOLVED modbus slow write
      QML and Qt Quick • modbus delay rtu client • • imhs  

      2
      0
      Votes
      2
      Posts
      87
      Views

      @imhs I figured it out! The problem was in the read function function where I call it every time toggling the run switch. Inside that function there is a timer which aims to read the registers and update the UI. Every time I call that function a new timer was generated. Therefore after sometime many timers was running in parallel which caused the problem. Take care about timers!
    • UNSOLVED Reducing delay when reading from database
      General and Desktop • delay sqlite database • • Ankit.Jain  

      7
      0
      Votes
      7
      Posts
      1166
      Views

      @Ankit.Jain said in Reducing delay when reading from database: Running the same query in SQLiteStudio, the query takes similar time (2 to 2.5 secs), but I keep getting a status of "[09:09:49] Query finished in 0.006 second(s).". Because of this, I am not sure how this is calculated though. If it takes similar time in SQLiteStudio, it's not surprising it takes similar from Qt. I do not have rights for asking changes in the database. But just out of curiosity, how do you add an index to a column? I have never used SQLite. But CREATE INDEX in SQL creates an index. No idea whether SQLite will or will not take advantage of such an index if it exists, though...
    • SOLVED Problem with delegates: repeated editing of same cell in QTableWidget has delay of ca 1 second
      General and Desktop • qtablewidget delegate slow delay editing • • linuxbastler  

      14
      0
      Votes
      14
      Posts
      2825
      Views

      ok, the template solution is also working here. Thanks a lot for your help!
    • UNSOLVED QMediaPlayer eats the initial part of audio files
      Mobile and Embedded • qmediaplayer audio qmultimedia delay buffer • • Mark81  

      2
      0
      Votes
      2
      Posts
      870
      Views

      Hi, Usually, to play sound effect, the QSoundEffect class is used. Wouldn't that fill your need ?
    • UNSOLVED Buffer/delay video frames from QCamera
      General and Desktop • qcamera delay qvideoframe buffer • • felet  

      4
      0
      Votes
      4
      Posts
      1740
      Views

      The Android and Desktop backend don't necessarily work the same way since they rely on the platform multimedia APIs and they may use different types of data to store the video data. One thing that I find strange in your code is that you are overwriting input with the content of buffer rather than returning it.
    • UNSOLVED Why QProccess delay?
      General and Desktop • qprocess delay • • ForestPoem  

      2
      0
      Votes
      2
      Posts
      668
      Views

      I don't understand what this means: "first excute ifconfig setting bteween second excute netmask setting deleay" Could you please explain? What delay do you mean?
    • Qt Virtual Keyboard (Enterprise) - Is preloading possible?
      General and Desktop • keyboard delay enterprise • • User235251  

      1
      0
      Votes
      1
      Posts
      443
      Views

      No one has replied

    • UNSOLVED Connection delay for QTcpSocket/QTcpServer
      General and Desktop • qtcpsocket qtcpserver delay connection ports • • Mark81  

      1
      0
      Votes
      1
      Posts
      682
      Views

      No one has replied

    • SOLVED Annoying White Screen Flash Before Webkit App Loads
      General and Desktop • window webkit rendering delay webkitwidgets • • maximo  

      2
      0
      Votes
      2
      Posts
      1200
      Views

      I fixed it like so: Comment out the default w.show() in my main.cpp. I created a Q_INVOKABLE class method on main window called showAppWindow() that merely does a this->show(). I did the steps to inject my C++ object (called cpp) into my Javascript via the C++ <==> Webkit bridge. In my index.html file, at the bottom before the ending BODY tag, I added this: <script type="text/javascript"> try { if (cpp) { setTimeout('cpp.showAppWindow();',100); } } catch(e){} </script>
    • SOLVED QNetworkReply takes long time to emit finished signal
      General and Desktop • qt5 qnetworkreply qnetworkrequest header delay • • Tusharh  

      7
      0
      Votes
      7
      Posts
      3287
      Views

      @SGaist Hi, I resolved the issue. I was actually firing sendCustomRequest() api as I was using a specific url query in request which was needed in to fire via HEAD method. Before firing sendCustomRequest() api I was also creating & resetting my ssl configuration. So, instead I directly now use the head() api to fire my HEAD request. Now,finished signal by reply gets fired instantaneously & I am able to read my specific header value in response in no time. Thanks for your time..!! :)
    • [SOLVED] How to delay a QProcess for 1 minute ?
      General and Desktop • qprocess delay • • Hanoosh  

      3
      0
      Votes
      3
      Posts
      1310
      Views

      solved: void Read(QString file){ QProcess process; process.startDetached(file); } int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); QTimer t; QObject::connect(&t, &QTimer::timeout, [&](){ Read(s); t.stop(); }); t.start(60000); return a.exec(); }
    • [SOLVED]Delay function leads to Exception in new thread
      General and Desktop • threads qeventloop qcoreapplicatio delay exception • • Sen Li  

      6
      0
      Votes
      6
      Posts
      4985
      Views

      @ChrisW67 Thank you for you help. Probably the thing is, QSerialPort has a problem to work in a new thread. I can handle the other QObject in a new thread very well, and the exception only happens when the Object contains QSerialPort. Also, in my last post, I actually never user QList, although Qt tells me something wrong with QList. I have given up on working serialThread. QSerialPort does work good in the main thread.