
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
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 :)
11 years ago
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.
11 years ago
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.
marcotangaro
11 years ago
make: *** No rule to make target `configure.in', needed by `Makefile.in'. Stop.
Report
marcotangaro
11 years ago
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
Report
duskman
11 years ago
seems, as is this only in libmtp.h defined... have this fixed and added this typedef in qtmtp_metainfo.h
sorry :/
Report
duskman
11 years ago
have copied the devel directory and forgot the configure.in ^^
*fixed & new uploaded*
Report
marcotangaro
11 years ago
http://aur.archlinux.org/packages.php?ID=27112
thank you
Report
duskman
11 years ago
greets
DuskMan
Report
duskman
11 years ago
the configure script substitutes now "moc" in Makefile and all is fine without renaming or symlinking /usr/bin/moc.
Sorry ;)
Report
bitcrazy
11 years ago
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
Report
duskman
11 years ago
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.
Report
bitcrazy
11 years ago
m0nk
Report
marcotangaro
11 years ago
ln -s /usr/bin/moc /usr/bin/moc-qt4
thank you.
@duskman
you are my hero, thank you for this utility
Report
bitcrazy
11 years ago
Don't pollute your system.
Those methods are crutches.
m0nk
Report
bitcrazy
11 years ago
So you must uninstall manually.
m0nk
Report
marcotangaro
11 years ago
[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
Report
marcotangaro
11 years ago
[marco@Marco-Laptop ~]$ which moc
/usr/bin/moc
Report
bitcrazy
11 years ago
Shouldn't be hardcoded in Makefile.am.
m0nk
Report