Important: Please read the Qt Code of Conduct -

Update Qt application by USB stick

  • Hello,

    I am looking for a solution to update a Qt application on an embedded device(linux) by USB stick.

    I've found some posts at StackOverflow on how to detect USB in udev and run a script, but I haven't got that working yet.

    I want the OS to detect the USB, check the USB for a specific filename and copy the file to another location. Does anyone have any suggestions on how to do this?

    Any input is very much appreciated :)


  • Lifetime Qt Champion

    @JosB This is actually not a Qt question, more a Linux question.

  • Moderators

    @JosB None of that will be Qt code at all. In fact whatever code you use to detect and run that I would definitely not bloat with Qt.

    It should all be very linux specific and you would need some sort of update service running to handle the usb detection and processing of the file.

    It shouldn't be very hard to do though and a bit of googling should get you in the right place fairly quickly. :)

  • All right, thank you :)

Log in to reply