Greetings fellow QT's.
with my question i need to tell you some info.
first of all i am making a program that can communicate with a mp3 player trough MTP. Now there are some handy lib packages on the web called libmtp wich makes use of libusb and libiconv.
All in all got these on my pc. Now someone already made a QT program called qlix wich does the same and found code in this program.
Now i already posted about linking hte libs into my program and got an answer i needed to use INCLUDEPATH into my pro file where the header files are. I did this and it compiles it good.
Now i just want to use 1 line to initialize libmtp like that other program does and what the documentation does, but it gives me an error.
the code atm is simple:
LIBMTP_INIT();
and trough that i get
release/widget.o:widget.cpp::-1: error: undefined reference to `LIBMTP_Init'
now i checked the internet for an answer but i did not get the real answer i need so that is why i come back to this forum.
so can anyone help me with the problem and isn;t it better to include the 3 packages into mingw32 ?... and if so how do it do this ?
thanx in advance
_baasie
Bookmarks