Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Create a cross browser plugin with hardware interaction.
Forum Updated to NodeBB v4.3 + New Features

Create a cross browser plugin with hardware interaction.

Scheduled Pinned Locked Moved Qt WebKit
2 Posts 2 Posters 3.0k 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.
  • A Offline
    A Offline
    aamitgupta
    wrote on last edited by
    #1

    Hi,

    I am new in QT development, i want to create a browser plugin which should run on all the browser in window and Mac, following are my some queries regarding to create this plug in please help me so i can finish my analysis on this.

    1: If i create a plugin in QT can it interact with hardware like if i attach a device in USB so can i read that device? Basically my main functionality to read a card through swiping device which connect by USB.

    2: if these hardware interaction works then it will work on mac also?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Seba84
      wrote on last edited by
      #2

      Hello!

      Apparently Qt doesn't support USB sticks. If you want only to see wheter the USB stick is connected or do some file reading and writing to an USB drive, this is quite straight forward (as to any storage media) by means of QFile and QDir classes. Otherwise, you should use external libraries like for example libusb.

      Qt is multiplatform, so if you use only Qt libraries on your plugin, I don't see any problem of portability to mac.

      Bye!

      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