Hi,
I'm having the same issue with not being able to connect to my phone using MTP.
I was browsing through the TryLoad function:
bool MtpLoader::TryLoad() {
MtpConnection dev(url_);
if (!dev.is_valid()) {
MtpDevice device = dynamic_cast<MtpDevice>(device_.get()); // FIXME
if (!device->connection() || !device->connection()->is_valid())
device->NewConnection();
if (!device->connection() || !device->connection()->is_valid()) {
emit Error(tr("Error connecting MTP device %1").arg(url_.toString()));
return false;
Now my knowledge of C/C++ is very thin, but it looks like the if block that establishes a NewConnection, and the if block that generates an error and returns false have the same condition in their if statements. Could this be causing the problem?
Very Respectfully,
MaverickGazer