Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Preventing Qt Overwriting my QTActivity. Please help!
Qt 6.11 is out! See what's new in the release blog

Preventing Qt Overwriting my QTActivity. Please help!

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 565 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.
  • P Offline
    P Offline
    pieminister
    wrote on last edited by
    #1

    Hello everyone, I'm new to Qt and have recently been developing a little program to interface with a custom USB
    device.
    So far on the PC side of things everything has been going great, but I'm having a problem with the android version.
    I need to add some of my own java to the program so that I can use USBManager to create a connection to the device which I then pass to libusb. However each time I build or deploy the app to my test android phone, it creates its own QTActivity file from its template and overwrites the custom QTActivity class I've written myself

    Basically my question is, how do I get Qt to use my java classes rather than making its own from my C++ classes?

    Would really appreciate any help, I've been banging my head against the wall about this for a while now

    Thanks

    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