Navigation

    Qt Forum

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

    • UNSOLVED JSON file transfer from Rpi to PC
      Mobile and Embedded • qtcpsocket raspberry pi3 qt for windows qjson • • Andrex_Qt  

      5
      0
      Votes
      5
      Posts
      359
      Views

      @JonB sorry for late reply. you suggestion worked well. i followed https://wiki.qt.io/WIP-How_to_create_a_simple_chat_application and modified my code according to that. now at sender side looks like this QJsonDocument doc1; QFile j("/home/first.JSON"); if(j.exists()) { if(j.open(QIODevice:: ReadOnly| QIODevice::Text)) { jstr=j.readAll(); doc1= QJsonDocument::fromJson(jstr.toUtf8()); } j.close(); QDataStream clientStream(socket); clientStream.setVersion(QDataStream::Qt_5_7); // Create the JSON we want to send QJsonObject message; message[QStringLiteral("type")] = QStringLiteral("message"); clientStream << QJsonDocument(doc1).toJson(); } } else { ui->l_err->show(); ui->l_err->setText("Connection refused. Please check server."); } and used server application from the link above at receiver end. this works well. I have tested this with JSON file having 3000 object. Will this work for 50,000 samples and more possibly 1500000 objects?
    • UNSOLVED defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
      Installation and Deployment • deployment mediaplayer gstreamer1.0 raspberry pi3 • • umutgurbuz  

      11
      0
      Votes
      11
      Posts
      841
      Views

      I have these versions . It does not work when i build directly on raspberry pi .
    • UNSOLVED QtVirtualKeyboard is shown on desktop but not on Raspberry pi 3 ?
      Mobile and Embedded • embedded linux xcb virtual keyboar raspberry pi3 qtvirtualkeyboa • • IMAN4K  

      5
      0
      Votes
      5
      Posts
      366
      Views

      @iman4k I don't know, I'm not a cross compile expert by any means. I'm just telling you want I can see from the configure you posted. Anyway, should be easy enough to add according to this https://doc.qt.io/qt-5/qtvirtualkeyboard-build.html you can simply open the qtvirtualkeyboard source project with QtCreator and compile it, using your cross compile kit
    • UNSOLVED Ethernet communication (RPI and PC) in Qt
      Mobile and Embedded • server - client raspberry pi3 windows desktop ethernet in qt • • bublee_jessie  

      7
      1
      Votes
      7
      Posts
      782
      Views

      @bublee_jessie And what is the problem? On the server side check the client IP which is trying to connect and only accept connection if correct IP and not connected yet.
    • SOLVED Ethernet communication between RPi and local PC
      Mobile and Embedded • qtcpsocket raspberry pi3 qt 5.9.0 ethernet in qt • • vishbynature  

      12
      1
      Votes
      12
      Posts
      920
      Views

      @aha_1980 ok, i understood what you said.
    • SOLVED Qt Program start on bootup and start GUI interaction automatically
      Mobile and Embedded • raspberry pi3 spi interactive gui qtmainwaindow • • vishbynature  

      6
      1
      Votes
      6
      Posts
      461
      Views

      @vishbynature said in Qt Program start on bootup and start GUI interaction automatically: As soon as MainWindow GUI appears I should start SPI data transfer. Sure. You can use QTimer to trigger the transfer.
    • UNSOLVED Is this syntax linux-rasp-pi3/qmake.conf correct?
      Mobile and Embedded • raspberry pi3 qmake.conf • • koahnig  

      3
      0
      Votes
      3
      Posts
      375
      Views

      @dheerendra That is the content found in an archive dowload from November 2017. I have just checked the qmake.conf is from 2. October 2017 Therefore no changes from my side.