Important: Please read the Qt Code of Conduct -

Preventing Qt Overwriting my QTActivity. Please help!

  • Hello everyone, I'm new to Qt and have recently been developing a little program to interface with a custom USB
    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


Log in to reply