Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

1
Become a Fan
5.0

Available as/for:
Description:
This is the second alpha release of qtmtp.

qtmtp is a small tool to manage files on mtp capable MP3-players - it allows upload, download and deleting with this devices in many cases in batch-mode too.

Attention:
This program must be run with root because of access limitations in underlaying usb-bus system.

Requirements:
- libmtp
- TagLib
- QT >= 4.4

Installation:
./configure --prefix=/usr
make
sudo make install

Hope, this small tool can help you
Last changelog:

qtmtp-0.2.0
- new dialog for importing music collections
- uploads are now in a separated thread
- removed unwanted 3th column in main view
- new small classes added


qtmtp-0.1.0.1
Fixed naming of "moc" program in configure and Makefile which could'nt found on some systems:

configure script checks now for proper version of "moc" and substitutes a variable in Makefile.


Ratings & Comments

16 Comments

marcotangaro

[marco@Marco-Laptop qtmtp-0.2.0]$ make make: *** No rule to make target `configure.in', needed by `Makefile.in'. Stop.

duskman

oh shit *g* have copied the devel directory and forgot the configure.in ^^ *fixed & new uploaded*

marcotangaro

And now this :D make[2]: Entering directory `/home/marco/Apps/qtmtp/src/qtmtp-0.2.0/src' g++ -DPREFIX=\"/usr/share\" -Wall -pipe -fpermissive -I. -I/usr/include -I/usr/share/qt4/mkspecs/linux-g++ -g -D_REENTRANT -DDEBUG -g -O2 -D_REENTRANT -I/usr/share/qt4/mkspecs/linux-g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I/usr/include/QtGui -I/usr/include/QtCore -DQT_SHARED -I/usr/include/QtCore -I/usr/include/taglib -c qtmtp_upload.cpp -o qtmtp_upload.o In file included from ./qtmtp_upload.h:8, from qtmtp_upload.cpp:1: ./qtmtp_metainfo.h:33: error: ‘uint32_t’ does not name a type ./qtmtp_metainfo.h:34: error: ‘uint32_t’ does not name a type ./qtmtp_metainfo.h:42: warning: ISO C++ forbids declaration of ‘uint32_t’ with no type ./qtmtp_metainfo.h:43: warning: ISO C++ forbids declaration of ‘uint32_t’ with no type ./qtmtp_metainfo.h:52: error: ‘uint32_t’ does not name a type ./qtmtp_metainfo.h:53: error: ‘uint32_t’ does not name a type qtmtp_upload.cpp: In member function ‘virtual void qtmtp_upload::run()’: qtmtp_upload.cpp:26: error: ‘class qtmtp_metainfo’ has no member named ‘getFileSize’ qtmtp_upload.cpp:27: error: ‘class qtmtp_metainfo’ has no member named ‘getLength’ qtmtp_upload.cpp:32: warning: invalid conversion from ‘const char*’ to ‘char*’ qtmtp_upload.cpp:33: warning: invalid conversion from ‘const char*’ to ‘char*’ qtmtp_upload.cpp:34: warning: invalid conversion from ‘const char*’ to ‘char*’ qtmtp_upload.cpp:35: warning: invalid conversion from ‘const char*’ to ‘char*’ qtmtp_upload.cpp:40: warning: invalid conversion from ‘const char*’ to ‘char*’ make[2]: *** [qtmtp_upload.o] Error 1 make[2]: Leaving directory `/home/marco/Apps/qtmtp/src/qtmtp-0.2.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/marco/Apps/qtmtp/src/qtmtp-0.2.0' make: *** [all] Error 2

duskman

that error comes, when uint32_t is not defined. seems, as is this only in libmtp.h defined... have this fixed and added this typedef in qtmtp_metainfo.h sorry :/

marcotangaro

here a Arch-Linux PKGBUILD http://aur.archlinux.org/packages.php?ID=27112 thank you

duskman

Thank you for submitting this tool at Arch Linux :) greets DuskMan

duskman

configure & Makefile are fixed, the configure script substitutes now "moc" in Makefile and all is fine without renaming or symlinking /usr/bin/moc. Sorry ;)

bitcrazy

No need to excuse. As you wrote, it's alpha, so who cares? Unfortunately I don't have a mtp-device handy to test your app. But looks promising. Btw. I saw in the screenshot, that sizes are calculated and shown in bytes. Perhaps some routine to use kB or MB would be more comfortable to read. Just a suggestion. Greetings m0nk

duskman

Do you use QT4.x ? QT4.x is a requirement to install qtmtp, moc-qt4 ships only with QT4 - sorry. please try to upgrade - in ubuntu i've upgraded to QT4x because of forwarding implentation of qtmtp which will be support Phonon in later versions.

bitcrazy

Not every distro calls moc in QT4 moc-qt4 like Ubuntu. m0nk

bitcrazy

make uninstall has no targets. So you must uninstall manually. m0nk

marcotangaro

I've solved linking moc to moc-qt4: ln -s /usr/bin/moc /usr/bin/moc-qt4 thank you. @duskman you are my hero, thank you for this utility

bitcrazy

Shouldn't do that. One day your whole system consists of dead links and you can't remember, why you've added them. Don't pollute your system. Those methods are crutches. m0nk

marcotangaro

I've this error in make: [marco@Marco-Laptop qtmtp-0.1.0]$ make make all-recursive make[1]: Entering directory `/home/marco/Apps/qtmtp/src/qtmtp-0.1.0' Making all in src make[2]: Entering directory `/home/marco/Apps/qtmtp/src/qtmtp-0.1.0/src' /usr/bin/moc-qt4 -D_REENTRANT -I/usr/share/qt4/mkspecs/linux-g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I/usr/include/QtGui -I/usr/include/QtCore -DQT_SHARED -I/usr/include/QtCore qtmtp.h -o moc_qtmtp.cpp make[2]: /usr/bin/moc-qt4: Command not found make[2]: *** [moc_qtmtp.cpp] Error 127 make[2]: Leaving directory `/home/marco/Apps/qtmtp/src/qtmtp-0.1.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/marco/Apps/qtmtp/src/qtmtp-0.1.0' make: *** [all] Error 2 [marco@Marco-Laptop qtmt

marcotangaro

on my arch-linux I've only: [marco@Marco-Laptop ~]$ which moc /usr/bin/moc

bitcrazy

Replace moc-qt4 in src/Makefile.in with moc and run configure again. Shouldn't be hardcoded in Makefile.am. m0nk

Pling
0 Affiliates
Details
license
version 0.2.0
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

Other Audio Apps:

1337-x369513929661000482
x369513929661000482
last update date: 15 years ago

Score 5.0

Hayes
Neil
last update date: 21 years ago

Score 5.0

SongBird
jce
last update date: 18 years ago

Score 5.0

KConvPlaylist
L0rclA5CII
last update date: 21 years ago

Score 5.0

QtRadio
ppustelnik
last update date: 20 years ago

Score 5.7

xmmsCue
staudi009
last update date: 19 years ago

Score 5.0