martonmiklos / AN1310-Qt5

The Microchip AN1310 bootloader host software modified to be compilable with Qt5
Other
5 stars 4 forks source link

How can i convert the code in qt version. #3

Closed qasimali-byte closed 3 years ago

qasimali-byte commented 3 years ago

hi, Please anyone help me out with how can I compile the programme for QT5,

martonmiklos commented 3 years ago

Open up the pro file in QtCreator and try to build with Ctrl+B.

qasimali-byte commented 3 years ago

which pro file . there are more than 2,3 pro files

qasimali-byte commented 3 years ago

Screenshot from 2021-03-13 01-12-07 WhatsApp Image 2021-03-13 at 1 07 52 AM

martonmiklos commented 3 years ago

The AN1310.pro

qasimali-byte commented 3 years ago

The AN1310.pro what next now ?

martonmiklos commented 3 years ago
The AN1310.pro
what next now ?

Well it's up to you, as I see correctly it build both the command line and the gui tool properly.

qasimali-byte commented 3 years ago

Thanks man . Screenshot from 2021-03-13 01-37-23

qasimali-byte commented 3 years ago

can i run this program (Commonds) using python ?

martonmiklos commented 3 years ago

can i run this program (Commonds) using python ?

As it is a command line tool the answer is yes.

You might need to prepend the QExtSerialport's build library to the LD_LIBRARY environmental variable.

qasimali-byte commented 3 years ago

can i run this program (Commonds) using python ?

As it is a command line tool the answer is yes.

You might need to prepend the QExtSerialport's build library to the LD_LIBRARY environmental variable.

okay Man, Could you please help me how can i prepend the QExtSerialport's build library to the LD_LIBRARY environmental variable.

martonmiklos commented 3 years ago

Run export LD_LIBRARY_PATH=<path to your qextserialport build folder> before you call the cli from python.

qasimali-byte commented 3 years ago

Run export LD_LIBRARY_PATH=<path to your qextserialport build folder> before you call the cli from python. is that okay ?

Screenshot from 2021-03-13 02-02-08 Screenshot from 2021-03-13 02-03-08

qasimali-byte commented 3 years ago

Thanks, man for your kind help. GOD Bless you. Screenshot from 2021-03-13 02-06-41

qasimali-byte commented 3 years ago

I run the Successfully both UI and CLI but in both cases, I got the same Error.AN1310 never stop erasing the flash